agc tests: GpuIndirectArgumentsMisalignedWriterAhead.cpp does not compile with MinGW GCC (alignas(65536)) #6716
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 ps54all on 2026-10-16T06:53:05Z.
Since
6b14169a4(still on main5d9dcc42d), the test's staticalignas(BlockBytes) std::array<std::uint8_t, BlockBytes> Block{}(BlockBytes = 65536) fails on Windows with MinGW GCC 15.2.0:PE/COFF sections cap alignment at 8192. The other execution tests that need a 64 KiB guest block (
ConstantStore.cpp,AlphaToCoverage.cpp, ...) allocate it withVirtualAlloc/std::aligned_alloc; doing the same here builds, and the test passes (Windows 11, GCC 15.2.0, RTX 3080). Happy to open a PR with that change if wanted.AI-assisted: yes (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T14:20:11Z.
This is already covered by two open PRs against the same fixture: #6452 uses an aligned span inside static backing storage, and #6829 uses a dynamically allocated aligned block. Both address the reported MinGW 64 KiB alignment failure. I compared their changed path with current main; the issue source still has the
alignas(65536)declaration. Please coordinate/consolidate with those PR authors rather than opening another fix.Imported from boykopovar/AnyPS5. Originally posted by ps54all on 2026-10-16T21:19:07Z.
Closing as covered by #6452 and #6829, which fix the same MinGW 64 KiB alignment failure in this fixture (thanks @MarcZX100 for comparing them).