[libcxx-commits] [libcxx] [AIX][libc++] Fix sized_delete.pass.cpp for AIX by adding -fsized-deallocation flag (PR #199366)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 9 21:54:02 PDT 2026
================
@@ -17,11 +17,11 @@
// ADDITIONAL_COMPILE_FLAGS(target=aarch64-w64-windows-gnu): -fsized-deallocation
// ADDITIONAL_COMPILE_FLAGS(target=armv7-w64-windows-gnu): -fsized-deallocation
// ADDITIONAL_COMPILE_FLAGS(target=arm64ec-w64-windows-gnu): -fsized-deallocation
-
+// ADDITIONAL_COMPILE_FLAGS(buildhost=aix): -fsized-deallocation
----------------
Himadhith wrote:
`ADDITIONAL_COMPILE_FLAGS` does not seem to take glob patterns, and marking the exact AIX version has already failed as all the build bots don't seem to be using the same AIX version.
The first commit on this PR uses `target=powerpc-ibm-aix7.2.5.11` but I hit the failure on build-aix-32:
```
executed command: /opt/IBM/openxlC/17.1.4/compat/llvm/clang++ /scratch/powerllvm/h3ncloudppc5/llvm-project/libcxx-ci/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp -pthread --target=powerpc-ibm-aix7.2.5.7 -nostdinc++ -D__LIBC_NO_CPP_MATH_OVERLOADS__ -I /scratch/powerllvm/h3ncloudppc5/llvm-project/libcxx-ci/build/aix/libcxx/test-suite-install/include/c++/v1 -I /scratch/powerllvm/h3ncloudppc5/llvm-project/libcxx-
```
There was a version mismatch.
https://github.com/llvm/llvm-project/pull/199366
More information about the libcxx-commits
mailing list