[Openmp-commits] [llvm] [openmp] [offload][openmp] - Remove standalone build in favor of 'runtimes' (PR #170693)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 7 11:24:54 PST 2026
jhuber6 wrote:
> Okay, sorry about that. Now it builds but the majority of tests fails with the same kind of error:
>
> ```
> FAIL: libomptarget :: aarch64-unknown-linux-gnu :: offloading/complex_reduction.cpp (859 of 864)
> ******************** TEST 'libomptarget :: aarch64-unknown-linux-gnu :: offloading/complex_reduction.cpp' FAILED ********************
> Exit Code: 1
>
> Command Output (stdout):
> --
> # RUN: at line 1
> /usr/lib/llvm/22/bin/clang++ -I /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test -I -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /usr/lib/llvm/22/lib64 -nogpulib -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath, -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath,/usr/lib/llvm/22/lib64 -fopenmp-targets=aarch64-unknown-linux-gnu /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/offloading/complex_reduction.cpp -o /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/offloading/Output/complex_reduction.cpp.tmp -O3 && /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/offloading/Output/complex_reduction.cpp.tmp
> # executed command: /usr/lib/llvm/22/bin/clang++ -I /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test -I -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -L /usr/lib/llvm/22/lib64 -nogpulib -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath, -Wl,-rpath,/var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload -Wl,-rpath,/usr/lib/llvm/22/lib64 -fopenmp-targets=aarch64-unknown-linux-gnu /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/offload/test/offloading/complex_reduction.cpp -o /var/tmp/portage/llvm-runtimes/offload-22.0.0.9999/work/runtimes_build/offload/test/aarch64-unknown-linux-gnu/offloading/Output/complex_reduction.cpp.tmp -O3
> # .---command stderr------------
> # | /usr/bin/aarch64-unknown-linux-gnu-ld.bfd: read in flex scanner failed
> # | clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> # `-----------------------------
> # error: command failed with exit status: 1
>
> --
> ```
>
> They pass with the same CMake parameters, without the patch.
That's weird, can you reproduce it if you invoke the compiler command manually? We use `lld` for a lot of things as well which hid a few issues.
https://github.com/llvm/llvm-project/pull/170693
More information about the Openmp-commits
mailing list