Skip to content

update LLVM easyblock to support LLVM 22#4078

Open
Thyre wants to merge 3 commits intoeasybuilders:developfrom
Thyre:20260224205419_new_pr_llvm
Open

update LLVM easyblock to support LLVM 22#4078
Thyre wants to merge 3 commits intoeasybuilders:developfrom
Thyre:20260224205419_new_pr_llvm

Conversation

@Thyre
Copy link
Copy Markdown
Collaborator

@Thyre Thyre commented Feb 24, 2026

(created using eb --new-pr)

Currently failing build when building the OpenMP runtime for NVPTX, as I don't have any NVIDIA GPUs in my system. Trying to figure out what Fedora does...

@Thyre Thyre marked this pull request as draft February 24, 2026 19:54
@Thyre Thyre added this to the 5.x milestone Feb 24, 2026
@Thyre Thyre changed the title Draft: update LLVM easyblock for LLVM 22 update LLVM easyblock to support LLVM 22 Feb 25, 2026
@Thyre Thyre marked this pull request as ready for review February 25, 2026 09:15
@Thyre
Copy link
Copy Markdown
Collaborator Author

Thyre commented Feb 25, 2026

@boegelbot please test @ jsc-zen3
EB_ARGS="--installpath /tmp/$USER/ebpr-4078 LLVM-20.1.8-GCCcore-14.3.0.eb LLVM-18.1.8-GCCcore-13.3.0.eb LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb LLVM-15.0.5-GCCcore-12.2.0.eb"

@Thyre
Copy link
Copy Markdown
Collaborator Author

Thyre commented Feb 25, 2026

Successful test reports for LLVM 22.1.0 with bootstrap enabled in easybuilders/easybuild-easyconfigs#25409, with NVIDIA GPU only, AMD GPU only.

Test on jsc-zen3 is still running.

@boegelbot
Copy link
Copy Markdown

@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=4078 EB_ARGS="--installpath /tmp/$USER/ebpr-4078 LLVM-20.1.8-GCCcore-14.3.0.eb LLVM-18.1.8-GCCcore-13.3.0.eb LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb LLVM-15.0.5-GCCcore-12.2.0.eb" EB_CONTAINER= EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_4078 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9856

Test results coming soon (I hope)...

Details

- notification for comment with ID 3958918866 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

Comment thread easybuild/easyblocks/l/llvm.py
Comment thread easybuild/easyblocks/l/llvm.py Outdated
Co-authored-by: Davide Grassano <34096612+Crivella@users.noreply.github.com>
@boegelbot
Copy link
Copy Markdown

Test report by @boegelbot

Overview of tested easyconfigs (in order)

  • SUCCESS LLVM-20.1.8-GCCcore-14.3.0.eb

  • SUCCESS LLVM-18.1.8-GCCcore-13.3.0.eb

  • SUCCESS LLVM-14.0.6-GCCcore-13.3.0-llvmlite.eb

  • SUCCESS LLVM-15.0.5-GCCcore-12.2.0.eb

Build succeeded for 4 out of 4 (total: 9 hours 34 mins 52 secs) (4 easyconfigs in total)
jsczen3c2.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.23
See https://gist.github.com/boegelbot/2f7879c950d22f7d8db33b0ba66be61f for a full test report.

@Thyre Thyre added the update label Feb 26, 2026
@Thyre
Copy link
Copy Markdown
Collaborator Author

Thyre commented Feb 26, 2026

@boegelbot please test @ jsc-zen3
EB_ARGS="--installpath /tmp/$USER/ebpr-4078 LLVM-20.1.8-GCCcore-14.3.0.eb LLVM-15.0.5-GCCcore-12.2.0.eb"

@boegelbot
Copy link
Copy Markdown

@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=4078 EB_ARGS="--installpath /tmp/$USER/ebpr-4078 LLVM-20.1.8-GCCcore-14.3.0.eb LLVM-15.0.5-GCCcore-12.2.0.eb" EB_CONTAINER= EB_REPO=easybuild-easyblocks EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_4078 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9880

Test results coming soon (I hope)...

Details

- notification for comment with ID 3966344103 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown

Test report by @boegelbot

Overview of tested easyconfigs (in order)

  • SUCCESS LLVM-20.1.8-GCCcore-14.3.0.eb

  • SUCCESS LLVM-15.0.5-GCCcore-12.2.0.eb

Build succeeded for 2 out of 2 (total: 5 hours 12 mins 59 secs) (2 easyconfigs in total)
jsczen3c2.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.23
See https://gist.github.com/boegelbot/670687b60e9d2651c04b8b5581107fa0 for a full test report.

@Thyre
Copy link
Copy Markdown
Collaborator Author

Thyre commented Feb 27, 2026

Test without OpenMP: easybuilders/easybuild-easyconfigs#25409 (comment)

@Crivella
Copy link
Copy Markdown
Contributor

Tried to build 22.1.3 and am getting several new errors

Details


1 warning(s) in tests
********************
Failed Tests (92):
  Clang :: Analysis/ctu-on-demand-parsing.c
  Clang :: Analysis/ctu-on-demand-parsing.cpp
  Clang :: Analysis/z3/crosscheck-statistics.c
  Clang :: ClangScanDeps/error.cpp
  Clang :: Driver/DTLTO/dtlto.c
  Clang :: Driver/Ofast.c
  Clang :: Driver/Xclangas.s
  Clang :: Driver/clang_wrapv_opts.c
  Clang :: Driver/crel.c
  Clang :: Driver/cuda-simple.cu
  Clang :: Driver/debug-default-version.c
  Clang :: Driver/fat-lto-objects.c
  Clang :: Driver/fp-contract.c
  Clang :: Driver/fp-model.c
  Clang :: Driver/fsanitize-coverage.c
  Clang :: Driver/fsanitize-object-size.c
  Clang :: Driver/fsanitize-skip-hot-cutoff.c
  Clang :: Driver/fuse-ld.c
  Clang :: Driver/gcc-param.c
  Clang :: Driver/hip-macros.hip
  Clang :: Driver/hip-options.hip
  Clang :: Driver/linker-opts.c
  Clang :: Driver/m-and-mm.c
  Clang :: Driver/module-fgen-reduced-bmi.cppm
  Clang :: Driver/no-arc-exception-silence.m
  Clang :: Driver/no-objc-arr.m
  Clang :: Driver/print-empty-prog-name.c
  Clang :: Driver/range-warnings.c
  Clang :: Driver/rtti-options.cpp
  Clang :: Driver/x-args.c
  Clang :: Driver/x86-target-features.c
  Clang :: Index/pragma-diag-reparse.c
  Clang :: Misc/backend-stack-frame-diagnostics.cpp
  Clang :: Misc/serialized-diags-driver.c
  Clang :: Misc/serialized-diags-frontend.c
  Clang :: Misc/serialized-diags-no-category.c
  Clang :: Misc/serialized-diags-no-issue.c
  Clang :: Misc/serialized-diags-stable.c
  Clang :: Misc/serialized-diags.c
  Clang :: Misc/serialized-diags.m
  Clang :: Modules/serialized-diags.m
  Clang :: Preprocessor/pr13851.c
  Clang :: SemaCXX/warn-unused-local-typedef-serialize.cpp
  Clang :: Tooling/clang-diff-args.test
  Clang Tools :: clang-doc/DR-141990.cpp
  Clang Tools :: clang-tidy/CTTestTidyModule.cpp
  Clang Tools :: clang-tidy/checkers/bugprone/assignment-in-if-condition-cxx20.cpp
  Clang Tools :: clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.c
  Clang Tools :: clang-tidy/checkers/bugprone/not-null-terminated-result-value-dependent-crash.cpp
  Clang Tools :: clang-tidy/checkers/bugprone/sizeof-expression-pointer-arithmetics-no-division.c
  Clang Tools :: clang-tidy/checkers/bugprone/unsafe-functions.c
  Clang Tools :: clang-tidy/checkers/google/runtime-int.m
  Clang Tools :: clang-tidy/checkers/misc/unused-using-decls.hpp
  Clang Tools :: clang-tidy/checkers/misc/use-internal-linkage-macro.hpp
  Clang Tools :: clang-tidy/checkers/misc/use-internal-linkage-module.cpp
  Clang Tools :: clang-tidy/checkers/modernize/type-traits-GH153649.cpp
  Clang Tools :: clang-tidy/checkers/modernize/use-scope-lock-warn-on-using-and-typedef-false.cpp
  Clang Tools :: clang-tidy/checkers/readability/bitint-no-crash.c
  Clang Tools :: clang-tidy/checkers/readability/convert-member-functions-to-static-deducing-this.cpp
  Clang Tools :: clang-tidy/checkers/readability/identifier-naming-case-violation.cpp
  Clang Tools :: clang-tidy/checkers/readability/identifier-naming-default-none.cpp
  Clang Tools :: clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp
  Clang Tools :: clang-tidy/infrastructure/alternative-fixes.cpp
  Clang Tools :: clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp
  Clang Tools :: clang-tidy/infrastructure/diagnostic.cpp
  Clang Tools :: clang-tidy/infrastructure/file-filter.cpp
  Clang Tools :: clang-tidy/infrastructure/line-filter.cpp
  Clang Tools :: clang-tidy/infrastructure/nolint.cpp
  Clang Tools :: clang-tidy/infrastructure/nolintbeginend-error-within-include.cpp
  Clang Tools :: clang-tidy/infrastructure/nolintbeginend.cpp
  Clang Tools :: clang-tidy/infrastructure/nolintnextline.cpp
  Clang Tools :: clang-tidy/infrastructure/quiet-flag.cpp
  Clang Tools :: clang-tidy/infrastructure/warnings-as-errors-diagnostics.cpp
  Clang Tools :: clang-tidy/infrastructure/warnings-as-errors-plural.cpp
  Clang Tools :: modularize/ProblemsCoverage.modularize
  Clang-Unit :: ./AllClangUnitTests/ClangToolTest/InjectDiagnosticConsumer
  Clang-Unit :: ./AllClangUnitTests/ClangToolTest/InjectDiagnosticConsumerInBuildASTs
  Clang-Unit :: ./AllClangUnitTests/ClangToolTest/ProgressReportMixed
  Clang-Unit :: ./AllClangUnitTests/ClangToolTest/ProgressReportMultipleCommands
  Clang-Unit :: ./AllClangUnitTests/ClangToolTest/ProgressReportMultipleFiles
  Clang-Unit :: ./AllClangUnitTests/ClangToolTest/ProgressReportSingleFile
  Clang-Unit :: ./AllClangUnitTests/CompilerInstance/MultipleInputsCleansFileIDs
  Clang-Unit :: ./AllClangUnitTests/LibclangParseTest/VisitStaticAssertDecl_exprMessage
  Clang-Unit :: ./AllClangUnitTests/LibclangReparseTest/Reparse
  Clang-Unit :: ./AllClangUnitTests/LibclangReparseTest/ReparseWithModule
  Clang-Unit :: ./AllClangUnitTests/ToolInvocation/CustomDiagnosticOptionsOverwriteParsedOnes
  Clang-Unit :: ./AllClangUnitTests/ToolInvocation/DiagnosticsEngineProperlyInitializedForCC1Construction
  Clang-Unit :: ./AllClangUnitTests/buildASTFromCode/ReportsErrors
  Flang :: Driver/gcc-toolchain-install-dir.f90
  Flang :: Driver/gcc-triple.f90
  lld :: ELF/compressed-debug-level.test
  lldb-shell :: ObjectFile/MachO/section-overflow-binary.test


Testing Time: 3670.33s

Total Discovered Tests: 184598
  Skipped          :     52 (0.03%)
  Unsupported      :   7190 (3.89%)
  Passed           : 176977 (95.87%)
  Expectedly Failed:    287 (0.16%)
  Failed           :     92 (0.05%)
make[3]: *** [CMakeFiles/check-all.dir/build.make:74: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3'
make[2]: *** [CMakeFiles/Makefile2:45973: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3'
make[1]: *** [CMakeFiles/Makefile2:45980: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3'
make: *** [Makefile:218: check-all] Error 2

== 2026-04-13 16:05:59,093 environment.py:95 INFO Environment variable PATH set to /tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/ld.bfd_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/ld.gold_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/ld_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/gfortran_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/gxx_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/gcc_wrapper:/home/crivella/.local/easybuild/software/zstd/1.5.7-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/gzip/1.14-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Z3/4.15.4-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/ncurses/6.6-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libxml2/2.15.1-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/git/2.52.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Perl/5.42.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/gettext/0.26-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/expat/2.7.3-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/lit/18.1.8-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/CMake/4.2.1-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libarchive/3.8.5-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/cURL/8.17.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libpsl/0.21.5-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libiconv/1.18-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libidn2/2.3.8-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Python/3.14.2-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/lz4/1.10.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/OpenSSL/3/bin:/home/crivella/.local/easybuild/software/XZ/5.8.2-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/SQLite/3.51.1-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Tcl/9.0.3-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/bzip2/1.0.8-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/binutils/2.45-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/GCCcore/15.2.0/bin:/home/crivella/.virtualenvs/easybuild-dev/bin:/home/crivella/.local/bin:/home/crivella/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin (previous value: '/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/ld.bfd_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/ld.gold_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/ld_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/gfortran_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/gxx_wrapper:/tmp/eb-1pw9g_hp/tmpd73uk60d/rpath_wrappers/gcc_wrapper:/home/crivella/.local/easybuild/software/zstd/1.5.7-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/gzip/1.14-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Z3/4.15.4-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/ncurses/6.6-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libxml2/2.15.1-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/git/2.52.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Perl/5.42.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/gettext/0.26-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/expat/2.7.3-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/lit/18.1.8-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/CMake/4.2.1-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libarchive/3.8.5-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/cURL/8.17.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libpsl/0.21.5-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libiconv/1.18-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/libidn2/2.3.8-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Python/3.14.2-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/lz4/1.10.0-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/OpenSSL/3/bin:/home/crivella/.local/easybuild/software/XZ/5.8.2-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/SQLite/3.51.1-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/Tcl/9.0.3-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/bzip2/1.0.8-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/binutils/2.45-GCCcore-15.2.0/bin:/home/crivella/.local/easybuild/software/GCCcore/15.2.0/bin:/home/crivella/.virtualenvs/easybuild-dev/bin:/home/crivella/.local/bin:/home/crivella/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin')
== 2026-04-13 16:05:59,094 environment.py:95 INFO Environment variable LD_LIBRARY_PATH set to /home/crivella/.local/easybuild/software/Z3/4.15.4-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/GMP/6.3.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/gettext/0.26-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/expat/2.7.3-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libarchive/3.8.5-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libxml2/2.15.1-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/cURL/8.17.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libpsl/0.21.5-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libunistring/1.4.1-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libiconv/1.18-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libidn2/2.3.8-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/Python/3.14.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/zstd/1.5.7-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/lz4/1.10.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/zlib-ng/2.3.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/OpenSSL/3/lib:/home/crivella/.local/easybuild/software/libffi/3.5.2-GCCcore-15.2.0/lib64:/home/crivella/.local/easybuild/software/XZ/5.8.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/SQLite/3.51.1-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/Tcl/9.0.3-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libtommath/1.3.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libreadline/8.3-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/ncurses/6.6-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/bzip2/1.0.8-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/binutils/2.45-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/zlib/2.3.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/GCCcore/15.2.0/lib64 (previous value: '/home/crivella/.local/easybuild/software/GCCcore/15.2.0/lib64:/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/lib/x86_64-unknown-linux-gnu:/home/crivella/.local/easybuild/software/Z3/4.15.4-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/GMP/6.3.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/gettext/0.26-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/expat/2.7.3-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libarchive/3.8.5-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libxml2/2.15.1-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/cURL/8.17.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libpsl/0.21.5-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libunistring/1.4.1-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libiconv/1.18-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libidn2/2.3.8-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/Python/3.14.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/zstd/1.5.7-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/lz4/1.10.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/zlib-ng/2.3.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/OpenSSL/3/lib:/home/crivella/.local/easybuild/software/libffi/3.5.2-GCCcore-15.2.0/lib64:/home/crivella/.local/easybuild/software/XZ/5.8.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/SQLite/3.51.1-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/Tcl/9.0.3-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libtommath/1.3.0-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/libreadline/8.3-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/ncurses/6.6-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/bzip2/1.0.8-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/binutils/2.45-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/zlib/2.3.2-GCCcore-15.2.0/lib:/home/crivella/.local/easybuild/software/GCCcore/15.2.0/lib64')
== 2026-04-13 16:05:59,125 llvm.py:1459 INFO Ignoring test failure: FAIL: Clang Tools :: modularize/ProblemsCoverage.modularize (25129 of 115960)
== 2026-04-13 16:05:59,125 llvm.py:1459 INFO Ignoring test failure: FAIL: Flang :: Driver/gcc-toolchain-install-dir.f90 (25857 of 115960)
== 2026-04-13 16:05:59,278 llvm.py:1495 WARNING Number of failed tests (92) does not match Number identified via line-by-line pattern matching: 91
== 2026-04-13 16:05:59,278 llvm.py:1498 INFO Ignored 2 out of 92 failed tests due to ignore patterns
== 2026-04-13 16:05:59,279 llvm.py:1502 INFO 90 remaining failures considered:
	FAIL: Clang :: Analysis/ctu-on-demand-parsing.c (1701 of 115960)
	FAIL: Clang :: Analysis/ctu-on-demand-parsing.cpp (1702 of 115960)
	FAIL: Clang :: Analysis/z3/crosscheck-statistics.c (2428 of 115960)
	FAIL: Clang :: ClangScanDeps/error.cpp (3951 of 115960)
	FAIL: Clang :: Driver/DTLTO/dtlto.c (13062 of 115960)
	FAIL: Clang :: Driver/Ofast.c (13071 of 115960)
	FAIL: Clang :: Driver/Xclangas.s (13077 of 115960)
	FAIL: Clang :: Driver/clang_wrapv_opts.c (13387 of 115960)
	FAIL: Clang :: Driver/crel.c (13426 of 115960)
	FAIL: Clang :: Driver/cuda-simple.cu (13462 of 115960)
	FAIL: Clang :: Driver/debug-default-version.c (13548 of 115960)
	FAIL: Clang :: Driver/fat-lto-objects.c (13627 of 115960)
	FAIL: Clang :: Driver/fp-contract.c (13665 of 115960)
	FAIL: Clang :: Driver/fp-model.c (13674 of 115960)
	FAIL: Clang :: Driver/fsanitize-coverage.c (13695 of 115960)
	FAIL: Clang :: Driver/fsanitize-object-size.c (13698 of 115960)
	FAIL: Clang :: Driver/fsanitize-skip-hot-cutoff.c (13705 of 115960)
	FAIL: Clang :: Driver/fuse-ld.c (13723 of 115960)
	FAIL: Clang :: Driver/gcc-param.c (13730 of 115960)
	FAIL: Clang :: Driver/hip-macros.hip (13789 of 115960)
	FAIL: Clang :: Driver/hip-options.hip (13794 of 115960)
	FAIL: Clang :: Driver/linker-opts.c (13863 of 115960)
	FAIL: Clang :: Driver/m-and-mm.c (13908 of 115960)
	FAIL: Clang :: Driver/module-fgen-reduced-bmi.cppm (13972 of 115960)
	FAIL: Clang :: Driver/no-arc-exception-silence.m (14005 of 115960)
	FAIL: Clang :: Driver/no-objc-arr.m (14015 of 115960)
	FAIL: Clang :: Driver/print-empty-prog-name.c (14096 of 115960)
	FAIL: Clang :: Driver/range-warnings.c (14242 of 115960)
	FAIL: Clang :: Driver/rtti-options.cpp (14286 of 115960)
	FAIL: Clang :: Driver/x-args.c (14431 of 115960)
	FAIL: Clang :: Driver/x86-target-features.c (14603 of 115960)
	FAIL: Clang :: Index/pragma-diag-reparse.c (15338 of 115960)
	FAIL: Clang :: Misc/backend-stack-frame-diagnostics.cpp (15728 of 115960)
	FAIL: Clang :: Misc/serialized-diags-driver.c (15814 of 115960)
	FAIL: Clang :: Misc/serialized-diags-frontend.c (15816 of 115960)
	FAIL: Clang :: Misc/serialized-diags-no-category.c (15817 of 115960)
	FAIL: Clang :: Misc/serialized-diags-no-issue.c (15818 of 115960)
	FAIL: Clang :: Misc/serialized-diags-stable.c (15819 of 115960)
	FAIL: Clang :: Misc/serialized-diags.m (15824 of 115960)
	FAIL: Clang :: Misc/serialized-diags.c (15827 of 115960)
	FAIL: Clang :: Modules/serialized-diags.m (16629 of 115960)
	FAIL: Clang :: Preprocessor/pr13851.c (19262 of 115960)
	FAIL: Clang :: SemaCXX/warn-unused-local-typedef-serialize.cpp (22320 of 115960)
	FAIL: Clang :: Tooling/clang-diff-args.test (24041 of 115960)
	FAIL: Clang Tools :: clang-doc/DR-141990.cpp (24115 of 115960)
	FAIL: Clang Tools :: clang-tidy/CTTestTidyModule.cpp (24198 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/bugprone/assignment-in-if-condition-cxx20.cpp (24254 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.c (24340 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/bugprone/not-null-terminated-result-value-dependent-crash.cpp (24366 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/bugprone/sizeof-expression-pointer-arithmetics-no-division.c (24395 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/bugprone/unsafe-functions.c (24471 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/google/runtime-int.m (24571 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/misc/unused-using-decls.hpp (24655 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/misc/use-internal-linkage-macro.hpp (24660 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/misc/use-internal-linkage-module.cpp (24662 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/modernize/type-traits-GH153649.cpp (24721 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/modernize/use-scope-lock-warn-on-using-and-typedef-false.cpp (24781 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/readability/bitint-no-crash.c (24873 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/readability/convert-member-functions-to-static-deducing-this.cpp (24887 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/readability/identifier-naming-case-violation.cpp (24910 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/readability/identifier-naming-default-none.cpp (24914 of 115960)
	FAIL: Clang Tools :: clang-tidy/checkers/readability/implicit-bool-conversion-cxx20.cpp (24930 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/alternative-fixes.cpp (25017 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/clang-tidy-store-check-profile-one-tu.cpp (25026 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/diagnostic.cpp (25035 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/file-filter.cpp (25054 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/line-filter.cpp (25059 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/nolint.cpp (25067 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/nolintbeginend-error-within-include.cpp (25082 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/nolintbeginend.cpp (25084 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/nolintnextline.cpp (25085 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/quiet-flag.cpp (25088 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/warnings-as-errors-diagnostics.cpp (25107 of 115960)
	FAIL: Clang Tools :: clang-tidy/infrastructure/warnings-as-errors-plural.cpp (25109 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/10/49 (25141 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/13/49 (25144 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/22/49 (25155 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/29/49 (25162 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/30/49 (25164 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/31/49 (25165 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/34/49 (25168 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/5/49 (25184 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/6/49 (25185 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/7/49 (25190 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/8/49 (25284 of 115960)
	FAIL: Clang-Unit :: ./AllClangUnitTests/9/49 (25287 of 115960)
	FAIL: Flang :: Driver/gcc-triple.f90 (25856 of 115960)
	FAIL: lld :: ELF/compressed-debug-level.test (99353 of 115960)
	FAIL: lldb-shell :: ObjectFile/MachO/section-overflow-binary.test (103167 of 115960)
== 2026-04-13 16:05:59,336 build_log.py:233 ERROR EasyBuild encountered an error: Too many failed tests: 90 (10 allowed) (at easybuild/framework/easyblock.py:2624 in report_test_failure)
Callstack:
	easybuild/framework/easyblock.py:2624 in report_test_failure
	easybuild/easyblocks/llvm.py:1536 in test_step
	easybuild/framework/easyblock.py:3120 in _test_step
	easybuild/framework/easyblock.py:4830 in run_step
	easybuild/framework/easyblock.py:4989 in run_all_steps
	easybuild/framework/easyblock.py:5177 in build_and_install_one
	easybuild/main.py:184 in build_and_install_software
	easybuild/main.py:630 in process_eb_args
	easybuild/main.py:814 in main
	easybuild/main.py:872 in main_with_hooks
	easybuild/main.py:891 in <module>
== 2026-04-13 16:05:59,339 build_log.py:233 ERROR EasyBuild encountered an error: An error was raised during test step: Too many failed tests: 90 (10 allowed) (at easybuild/framework/easyblock.py:2624 in report_test_failure)
Callstack:
	easybuild/framework/easyblock.py:2624 in report_test_failure
	easybuild/framework/easyblock.py:3122 in _test_step
	easybuild/framework/easyblock.py:4830 in run_step
	easybuild/framework/easyblock.py:4989 in run_all_steps
	easybuild/framework/easyblock.py:5177 in build_and_install_one
	easybuild/main.py:184 in build_and_install_software
	easybuild/main.py:630 in process_eb_args
	easybuild/main.py:814 in main
	easybuild/main.py:872 in main_with_hooks
	easybuild/main.py:891 in <module>
== 2026-04-13 16:05:59,339 build_log.py:330 INFO ... (took 1 hour 3 mins 39 secs)
== 2026-04-13 16:05:59,339 config.py:784 DEBUG software install path as specified by 'installpath' and 'subdir_software': /home/crivella/.local/easybuild/software
== 2026-04-13 16:05:59,339 filetools.py:2150 INFO Removing lock /home/crivella/.local/easybuild/software/.locks/_home_crivella_.local_easybuild_software_LLVM_22.1.3-GCCcore-15.2.0.lock...
== 2026-04-13 16:05:59,340 filetools.py:421 INFO Path /home/crivella/.local/easybuild/software/.locks/_home_crivella_.local_easybuild_software_LLVM_22.1.3-GCCcore-15.2.0.lock successfully removed.
== 2026-04-13 16:05:59,340 filetools.py:2154 INFO Lock removed: /home/crivella/.local/easybuild/software/.locks/_home_crivella_.local_easybuild_software_LLVM_22.1.3-GCCcore-15.2.0.lock
== 2026-04-13 16:05:59,340 easyblock.py:400 INFO Closing log for application name LLVM version 22.1.3

Will try to investigate if they should be ignored or if we need to do something to fix

@Crivella
Copy link
Copy Markdown
Contributor

Some of the failures are of the kind

Details

FAIL: Clang :: Driver/rtti-options.cpp (14286 of 115960)
******************** TEST 'Clang :: Driver/rtti-options.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 9
/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang -x c -### -target x86_64-unknown-unknown -c -fcxx-exceptions /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp 2>&1 | /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-UNUSED -check-prefix=CHECK-RTTI /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang -x c '-###' -target x86_64-unknown-unknown -c -fcxx-exceptions /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-UNUSED -check-prefix=CHECK-RTTI /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# RUN: at line 12
/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang -### -c -fno-rtti -frtti /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp 2>&1 | /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-RTTI /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang '-###' -c -fno-rtti -frtti /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-RTTI /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# RUN: at line 13
/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang -### -c -frtti -fno-rtti /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp 2>&1 | /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-NO-RTTI /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang '-###' -c -frtti -fno-rtti /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-NO-RTTI /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# RUN: at line 18
not /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang -### -c --target=x86_64-unknown-linux -fsanitize=undefined -fsanitize=vptr -fno-rtti /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp 2>&1 | /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-SAN-ERROR -check-prefix=CHECK-OK /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# executed command: not /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang '-###' -c --target=x86_64-unknown-linux -fsanitize=undefined -fsanitize=vptr -fno-rtti /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-SAN-ERROR -check-prefix=CHECK-OK /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# RUN: at line 19
/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang -### -c -target x86_64-unknown-linux -fsanitize=vptr /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp 2>&1 | /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-OK /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang '-###' -c -target x86_64-unknown-linux -fsanitize=vptr /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# note: command had no output on stdout or stderr
# executed command: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/FileCheck -check-prefix=CHECK-OK /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# .---command stderr------------
# | /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp:50:18: error: CHECK-OK-NOT: excluded string found in input
# | // CHECK-OK-NOT: {{warning:|error:}}
# |                  ^
# | <stdin>:1:8: note: found here
# | clang: warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/usr/lib/gcc/x86_64-linux-gnu/11' would be chosen over '/usr/lib/gcc/x86_64-linux-gnu/12' [-Wgcc-install-dir-libstdcxx]
# |        ^~~~~~~~
# | 
# | Input file: <stdin>
# | Check file: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |         1: clang: warning: future releases of the clang compiler will prefer GCC installations containing libstdc++ include directories; '/usr/lib/gcc/x86_64-linux-gnu/11' would be chosen over '/usr/lib/gcc/x86_64-linux-gnu/12' [-Wgcc-install-dir-libstdcxx] 
# | not:50            !~~~~~~~                                                                                                                                                                                                                                         error: no match expected
# |         2: clang version 22.1.3 
# |         3: Target: x86_64-unknown-linux 
# |         4: Thread model: posix 
# |         5: InstalledDir: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin 
# |         6:  (in-process) 
# |         7:  "/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang-22" "-cc1" "-triple" "x86_64-unknown-linux" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "rtti-options.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/tools/clang/test/Driver" "-fcoverage-compilation-dir=/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/tools/clang/test/Driver" "-resource-dir" "/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/lib/clang/22" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/x86_64-linux-gnu" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/backward" "-internal-isystem" "/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/lib/clang/22/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-fsanitize=vptr" "-fsanitize-recover=vptr" "-fsanitize-merge=vptr" "-fno-sanitize-memory-param-retval" "-fno-sanitize-address-use-odr-indicator" "-faddrsig" "-fdwarf2-cfi-asm" "-o" "rtti-options.o" "-x" "c++" "/home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm-project-22.1.3.src/clang/test/Driver/rtti-options.cpp" 
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

Weirdly enough, rerunning the command manually is not reproducing it (i get the correct -internal-isystem pointing to EB's GCC.
Maybe we need to patch the lit.cfg for this tests

@Thyre
Copy link
Copy Markdown
Collaborator Author

Thyre commented Apr 13, 2026

Yeah, this looks like something we want to patch...
Interesting though that I haven't seen this with LLVM 22.1.0 so far.

@Crivella
Copy link
Copy Markdown
Contributor

Crivella commented Apr 13, 2026

It is possible it is popping up on my system due to having a system gcc12 without -dev (or whatever brings libstdc++) but not 100% sure, but that means those tests can end up using system libraries instead of the correct GCC

@Crivella
Copy link
Copy Markdown
Contributor

I think the main problem is that those tests are ignoring/skipping the compiler configuration file so they are missing the --gcc-install-dir= that comes from it, now to understand why

Test suite error:

                 error: no match expected
# |         2: clang version 22.1.3 
# |         3: Target: x86_64-unknown-linux 
# |         4: Thread model: posix 
# |         5: InstalledDir: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin 
# |         6:  (in-process) 
# |         7:  "/home/c

manually ran (working)

clang version 22.1.3
Target: x86_64-unknown-linux
Thread model: posix
InstalledDir: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin
Configuration file: /home/crivella/.local/easybuild/build/LLVM/22.1.3/GCCcore-15.2.0/llvm.obj.3/bin/clang.cfg
 (in-process)
 "/home/crivella/.

@Crivella
Copy link
Copy Markdown
Contributor

Crivella commented Apr 13, 2026

Most likely https://github.com/llvm/llvm-project/blob/e9846648fd6183ee6d8cbdb4502213fcf902a211/clang/test/lit.cfg.py#L436
i remember tinkering with it already at some point but not for what tests or how the problem was resolved without touching it...

Will try to do a run by patching this out and see what happens

EDIT: Found it, we were disabling it only for compiler-rt tests

# (see https://github.com/easybuilders/easybuild-easyblocks/pull/3741#issuecomment-2939404304)
lit_cfg_file = os.path.join(self.start_dir, 'compiler-rt', 'test', 'lit.common.cfg.py')
regex_subs = [
(r'^if config.has_no_default_config_flag:', ''),
(r'^\s*config.environment\["CLANG_NO_DEFAULT_CONFIG"\] = "1"', '')
]
apply_regex_substitutions(lit_cfg_file, regex_subs)

For now i am testing disabling it in general as a patch, but if it works i think it should make it into the easyblock

@Crivella
Copy link
Copy Markdown
Contributor

Crivella commented Apr 14, 2026

Removing CLANG_NO_DEFAULT_CONFIG for Clang tests breaks other tests where either --driver-mode or some other flags makes --gcc-install-dir an invalid flag or tests where --gcc-install-dir or --gcc-toolchain is set by the test itself.

For now i am trying with removing CLANG_NO_DEFAULT_CONFIG only for Clang Tools and Clang Unittest and setting -Wno-gcc-install-dir-libstdcxx in the CFLAGS/CXXFLAGS for the tests and see what happens.
I guess when they introduced this warning they did not run the test suite on a system with a GCC system install that would trigger it 😓

Also considering if we should try and go for removing CLANG_NO_DEFAULT_CONFIG as much as possible to avoid testing against system GCC installs instead of the EB one

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants