Skip to content

{2026.06}[2026.1] LLVM 21.1.8 - #1583

Open
bedroge wants to merge 3 commits into
EESSI:mainfrom
bedroge:2026.1_llvm
Open

{2026.06}[2026.1] LLVM 21.1.8#1583
bedroge wants to merge 3 commits into
EESSI:mainfrom
bedroge:2026.1_llvm

Conversation

@bedroge

@bedroge bedroge commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Requires #1580.

@bedroge

bedroge commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator Author

bot: build repo:eessi.io-2026.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2
bot: build repo:eessi.io-2026.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx
bot: build repo:eessi.io-2026.06-software instance:eessi-bot-aws-eu-south for:arch=aarch64/aws/graviton4
bot: build repo:eessi.io-2026.06-software instance:eessi-bot-jsc for:arch=aarch64/nvidia/grace
bot: build repo:eessi.io-2026.06-software instance:eessi-bot-riscv-prod for:arch=riscv64/generic

@eessi-bot-aws

eessi-bot-aws Bot commented Aug 18, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-mc-aws for repository eessi.io-2026.06-software
Building on: amd-zen2
Building for: x86_64/amd/zen2
Job dir: /project/def-users/SHARED/jobs/2026.08/pr_1583/188050

date job status comment
Aug 18 21:35:24 UTC 2026 submitted job id 188050 awaits release by job manager
Aug 18 21:35:32 UTC 2026 released job awaits launch by Slurm scheduler
Aug 18 21:41:49 UTC 2026 running job 188050 is running
Aug 19 06:21:16 UTC 2026 finished
😢 FAILURE (click triangle for details)
Details
✅ job output file slurm-188050.out
✅ no message matching FATAL:
❌ found message matching ERROR:
❌ found message matching FAILED:
❌ found message matching required modules missing:
❌ no message matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2026.06-software-linux-x86_64-amd-zen2-17871194110.tar.zstsize: 0 MiB (22 bytes)
entries: 0
modules under 2026.06/software/linux/x86_64/amd/zen2/modules/all
no module files in tarball
software under 2026.06/software/linux/x86_64/amd/zen2/software
no software packages in tarball
reprod directories under 2026.06/software/linux/x86_64/amd/zen2/reprod
no reprod directories in tarball
other under 2026.06/software/linux/x86_64/amd/zen2
no other files in tarball
Aug 19 06:21:16 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-188050.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-deucalion

eessi-bot-deucalion Bot commented Aug 18, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-deucalion for repository eessi.io-2026.06-software
Building on: a64fx
Building for: aarch64/a64fx
Job dir: /home/eessibot/new-bot/jobs/2026.08/pr_1583/1831948

date job status comment
Aug 18 21:35:25 UTC 2026 submitted job id 1831948 awaits release by job manager
Aug 18 21:36:10 UTC 2026 released job awaits launch by Slurm scheduler
Aug 18 21:37:16 UTC 2026 running job 1831948 is running
Aug 19 08:35:48 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-1831948.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2026.06-software-linux-aarch64-a64fx-17871283490.tar.zstsize: 502 MiB (526565836 bytes)
entries: 10787
modules under 2026.06/software/linux/aarch64/a64fx/modules/all
LLVM/21.1.8-GCCcore-15.2.0.lua
software under 2026.06/software/linux/aarch64/a64fx/software
LLVM/21.1.8-GCCcore-15.2.0
reprod directories under 2026.06/software/linux/aarch64/a64fx/reprod
LLVM/21.1.8-GCCcore-15.2.0/20260819_083115UTC
other under 2026.06/software/linux/aarch64/a64fx
no other files in tarball
Aug 19 08:35:48 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-1831948.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-aws-eu-south

eessi-bot-aws-eu-south Bot commented Aug 18, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-aws-eu-south for repository eessi.io-2026.06-software
Building on: aws-graviton4
Building for: aarch64/aws/graviton4
Job dir: /project/def-users/SHARED/jobs/2026.08/pr_1583/276

date job status comment
Aug 18 21:35:28 UTC 2026 submitted job id 276 awaits release by job manager
Aug 18 21:35:44 UTC 2026 released job awaits launch by Slurm scheduler
Aug 18 21:42:52 UTC 2026 running job 276 is running
Aug 19 01:33:54 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-276.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2026.06-software-linux-aarch64-aws-graviton4-17871031770.tar.zstsize: 496 MiB (521137272 bytes)
entries: 10787
modules under 2026.06/software/linux/aarch64/aws/graviton4/modules/all
LLVM/21.1.8-GCCcore-15.2.0.lua
software under 2026.06/software/linux/aarch64/aws/graviton4/software
LLVM/21.1.8-GCCcore-15.2.0
reprod directories under 2026.06/software/linux/aarch64/aws/graviton4/reprod
LLVM/21.1.8-GCCcore-15.2.0/20260819_013232UTC
other under 2026.06/software/linux/aarch64/aws/graviton4
no other files in tarball
Aug 19 01:33:54 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-276.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@eessi-bot-jsc

eessi-bot-jsc Bot commented Aug 18, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-jsc for repository eessi.io-2026.06-software
Building on: nvidia-grace
Building for: aarch64/nvidia/grace
Job dir: /p/project1/ceasybuilders/eessibot/jobs/2026.08/pr_1583/15539285

date job status comment
Aug 18 21:35:29 UTC 2026 submitted job id 15539285 awaits release by job manager
Aug 18 21:36:35 UTC 2026 released job awaits launch by Slurm scheduler
Aug 18 21:37:39 UTC 2026 running job 15539285 is running
Aug 19 00:01:07 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-15539285.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2026.06-software-linux-aarch64-nvidia-grace-17870973600.tar.gzsize: 570 MiB (598585215 bytes)
entries: 10787
modules under 2026.06/software/linux/aarch64/nvidia/grace/modules/all
LLVM/21.1.8-GCCcore-15.2.0.lua
software under 2026.06/software/linux/aarch64/nvidia/grace/software
LLVM/21.1.8-GCCcore-15.2.0
reprod directories under 2026.06/software/linux/aarch64/nvidia/grace/reprod
LLVM/21.1.8-GCCcore-15.2.0/20260818_235402UTC
other under 2026.06/software/linux/aarch64/nvidia/grace
no other files in tarball
Aug 19 00:01:07 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-15539285.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case

@riscv-eessi-io-bot

riscv-eessi-io-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

New job on instance eessi-bot-riscv-prod for repository eessi.io-2026.06-software
Building on: generic
Building for: riscv64/generic
Job dir: /home/eessibot/production/shared/jobs/2026.08/pr_1583/321467

date job status comment
Aug 18 21:35:33 UTC 2026 submitted job id 321467 awaits release by job manager
Aug 18 21:36:32 UTC 2026 released job awaits launch by Slurm scheduler
Aug 18 21:37:36 UTC 2026 running job 321467 is running

@bedroge

bedroge commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

Zen2 build failed:

Total Discovered Tests: 176727
  Skipped          :     40 (0.02%)
  Unsupported      :   6435 (3.64%)
  Passed           : 169905 (96.14%)
  Expectedly Failed:    275 (0.16%)
  Failed           :     72 (0.04%)


== 2026-08-19 05:56:13,682 llvm.py:1464 INFO Ignored 20 out of 72 failed tests due to ignore patterns
== 2026-08-19 05:56:13,682 llvm.py:1468 INFO 52 remaining failures considered:
        FAIL: BOLT :: AArch64/check-init-not-moved.s (4 of 108545)
        FAIL: BOLT :: X86/dwarf5-dwarf4-types-backward-forward-cross-reference.test (211 of 108545)
        FAIL: BOLT :: X86/dwarf5-locexpr-referrence.test (224 of 108545)
        FAIL: Clang :: Analysis/z3/crosscheck-statistics.c (2064 of 108545)
        FAIL: Clang :: Driver/aarch64-toolchain-extra.c (11928 of 108545)
        FAIL: Clang :: Driver/arm-toolchain-extra.c (12048 of 108545)
        FAIL: libFuzzer-x86_64-default-Linux :: stack-overflow-with-asan.test (90568 of 108545)
        FAIL: libFuzzer-x86_64-libcxx-Linux :: stack-overflow-with-asan.test (90703 of 108545)
        FAIL: libFuzzer-x86_64-static-libcxx-Linux :: stack-overflow-with-asan.test (90843 of 108545)
        FAIL: lldb-shell :: Commands/command-disassemble-riscv32-bytes.s (96524 of 108545)
        FAIL: lldb-unit :: DAP/./DAPTests/8/18 (97228 of 108545)
        FAIL: lldb-unit :: Host/./HostTests/9/16 (97480 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/atomic.compile.pass.cpp (98191 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/barrier.compile.pass.cpp (98194 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/ccomplex.compile.pass.cpp (98208 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/codecvt.compile.pass.cpp (98212 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/condition_variable.compile.pass.cpp (98214 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/csignal.compile.pass.cpp (98215 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/complex.h.compile.pass.cpp (98216 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/complex.compile.pass.cpp (98217 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/chrono.compile.pass.cpp (98221 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/cstdlib.compile.pass.cpp (98225 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/exception.compile.pass.cpp (98234 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/ctgmath.compile.pass.cpp (98237 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/experimental/iterator.compile.pass.cpp (98244 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/filesystem.compile.pass.cpp (98249 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/format.compile.pass.cpp (98251 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/fstream.compile.pass.cpp (98254 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/future.compile.pass.cpp (98255 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/iomanip.compile.pass.cpp (98257 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/ios.compile.pass.cpp (98258 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/istream.compile.pass.cpp (98262 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/iostream.compile.pass.cpp (98268 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/mutex.compile.pass.cpp (98270 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/locale.compile.pass.cpp (98271 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/memory_resource.compile.pass.cpp (98272 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/queue.compile.pass.cpp (98279 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/semaphore.compile.pass.cpp (98280 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/ostream.compile.pass.cpp (98281 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/print.compile.pass.cpp (98283 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/regex.compile.pass.cpp (98284 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/shared_mutex.compile.pass.cpp (98288 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/stdatomic.h.compile.pass.cpp (98289 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/stdlib.h.compile.pass.cpp (98295 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/sstream.compile.pass.cpp (98296 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/stop_token.compile.pass.cpp (98298 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/streambuf.compile.pass.cpp (98301 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/strstream.compile.pass.cpp (98303 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/tgmath.h.compile.pass.cpp (98309 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/syncstream.compile.pass.cpp (98310 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/thread.compile.pass.cpp (98311 of 108545)
        FAIL: llvm-libc++-shared.cfg.in :: /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/vector.compile.pass.cpp (98320 of 108545)

@Crivella could you maybe take a look? The full log can be found at /project/def-users/SHARED/build-logs/jobs/188050/easybuild-5apt_nb3.log on the AWS cluster.

@Crivella

Copy link
Copy Markdown
Contributor

It seems all the failures are of the type

# | /cvmfs/software.eessi.io/versions/2026.06/compat/linux/x86_64/usr/include/bits/struct_mutex.h:35:9: error: expected ';' at end of declaration list
# |    35 |   short __unused;
# |       |         ^
# | /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/barrier.compile.pass.cpp:103:18: note: expanded from macro '__unused'
# |   103 | #define __unused SYSTEM_RESERVED_NAME
# |       |                  ^
# | /tmp/bot/easybuild/build/LLVM/21.1.8/GCCcore-15.2.0/llvm.obj.3/runtimes/runtimes-bins/libcxx/test/libcxx/system_reserved_names.gen.py/barrier.compile.pass.cpp:10:35: note: expanded from macro 'SYSTEM_RESERVED_NAME'
# |    10 | #define SYSTEM_RESERVED_NAME This name should not be used in libc++
# |       |                                   ^
# | 1 error generated.

Using __unused seems to be allowed on FreeBSD and ANDROID
https://github.com/llvm/llvm-project/blob/2078da43e25a4623cab2d0d60decddf709aaea28/libcxx/test/libcxx/system_reserved_names.gen.py#L128-L131

i guess we could add an EESSI specific patch where we add an && false to that section?

@Crivella

Crivella commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

We could also ignore those tests (would be the same as the proposed patch), trying to understand the implications.

It seems they were introduced to avoid errors of the type llvm/llvm-project#161808

@Crivella

Copy link
Copy Markdown
Contributor

From what i can tell this tests are checking that LLVM code itself is not using system reserved names.
In our case the definition is coming not from LLVM itself but from the chain of includes related to stdlib.h in our compat layer so it should be safe to ignore this

@bedroge

bedroge commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

According to an AI friend, glibc 2.43 (which we use) initially shipped with __unused, but this was later changed to __glibc_reserved. Slightly newer revisions of Gentoo's ebuild file for 2.43 (r3, we have r2) also use a patch 0039-Rename-__unused-fields-to-__glibc_reserved.patch that probably solves this. But in order to apply that, we would have to recompile glibc.

@Crivella

Copy link
Copy Markdown
Contributor

Those test are to protect against breaking user code or system code that might be using those defines (as far as i understand).

Since __unused is coming from our glibc it should not be breaking system code, i guess the only worry is if we risk breaking user code that uses #define __unused

So should be safe to ignore for LLVM itself, we just need to decide if we want to rebuild glibc or ignore them.

Concerning the other tests we can most likely safely ignore also:

  •       FAIL: Clang :: Driver/aarch64-toolchain-extra.c (11928 of 108545)
          FAIL: Clang :: Driver/arm-toolchain-extra.c (12048 of 108545)
    

    This should be cross-compiling toolchain which do not seem like they are failing but just giving slightly different verbose output than expected (potentially due to the sysroot but would need to verify)

  •       FAIL: libFuzzer-x86_64-default-Linux :: stack-overflow-with-asan.test (90568 of 108545)
          FAIL: libFuzzer-x86_64-libcxx-Linux :: stack-overflow-with-asan.test (90703 of 108545)
          FAIL: libFuzzer-x86_64-static-libcxx-Linux :: stack-overflow-with-asan.test (90843 of 108545)
    

    Here we are not hitting an expected stack overflow, but i am not sure if this is really a problem

The others are related to LLVM tooling and i think we already hit some of them in 20.1.8 on EESSI but decided we were fine with them.

I would probably just add an hook that adds these to the ignored tests for our LLVM 21.1.8 builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants