test(libSceJobManager): allocate aligned test blocks without std::aligned_alloc #3332
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3332"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-11T08:00:21Z.
What
Carries @screamm's fix from #3329 (the author is under the intake threshold). The commit is theirs, unchanged (
119d59fd). I cherry-picked only this commit: their branch has an unrelatedsceVoiceQoSEndcommit underneath.Since #3170, the Windows build of the full tree fails in the new test before
ctestcan run:MinGW-w64's UCRT (WinLibs GCC 15.2.0 r7, the CI toolchain) has no
aligned_alloc. The test'sBlocknow allocates with the aligned::operator new(size, std::align_val_t{256})and frees with the matching::operator delete, which is standard C++17 on every host. Nothing outside the test changes.Closes #3329.
Tested
Windows 11 (10.0.26200), WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, onmain2bb78d2c:mainfails to build with the error above.job_managertests pass 3/3 (--repeat until-fail:3), andctest -E "^agc_|video_out"passes 428/428.check_conventions.pypasses, andpr_overlap.pyreports no overlap.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T08:05:14Z.
Checked on Linux:
guest_job_managerbuilds and passes 8/8 on main + this PR. The change is limited to the test'sBlock: alignedoperator new/operator deletewith matchingstd::align_val_t{256}(standard C++17, same size rounding as before). Windows build confirmed by @AchrafReyani (MinGW UCRT, WinLibs GCC 15.2:mainfails, PR builds, 428/428). Credit to @screamm for the fix. Merging.