Package: src:llvm-toolchain-21
Version: 1:21.1.4-2
Severity: important
Tags: sid forky
X-Debbugs-CC: [email protected]
ld.lld: error: unknown argument '-relax':
Run Build Command(s): /usr/bin/ninja -v cmTC_d3b28
[1/2] /usr/bin/g++ -DCXX_SUPPORTS_CUSTOM_LINKER -D_GNU_SOURCE
-fstack-protector-strong -Wformat -Werror=format-security
-Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -O3
-DNDEBUG -std=c++17 -o CMakeFiles/cmTC_d3b28.dir/src.cxx.o -c
/build/reproducible-path/llvm-toolchain-21-21.1.4/build-llvm/CMakeFiles/CMakeScratch/TryCompile-vJboAh/src.cxx
[2/2] : && /usr/bin/g++ -fstack-protector-strong -Wformat
-Werror=format-security -Wno-unused-command-line-argument -Wdate-time
-D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,--build-id
-fuse-ld=lld CMakeFiles/cmTC_d3b28.dir/src.cxx.o -o cmTC_d3b28 -lm && :
FAILED: cmTC_d3b28
: && /usr/bin/g++ -fstack-protector-strong -Wformat
-Werror=format-security -Wno-unused-command-line-argument -Wdate-time
-D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,--build-id
-fuse-ld=lld CMakeFiles/cmTC_d3b28.dir/src.cxx.o -o cmTC_d3b28 -lm && :
ld.lld: error: unknown argument '-relax', did you mean '--relax'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
it looks like it is building with the BFD linker, but it still builds
lld on sparc64, so maybe that linker doesn't work at all on sparc64.