Bug#1027939: clang-14 lost its (indirect) dependency on libclang-rt-14-dev
Sylvestre Ledru
sylvestre at debian.org
Wed Jan 4 21:48:10 GMT 2023
Yeah, this is by design.
Most of the programs won't need compiler-rt.
Halide should just add an extra dependency.
Cheers
Sylvestre
Le 04/01/2023 à 22:30, Adrian Bunk a écrit :
> Package: clang-14
> Version: 1:14.0.6-10~exp4
> Severity: serious
> Tags: ftbfs
> Control: affects -1 src:halide
>
> https://buildd.debian.org/status/fetch.php?pkg=halide&arch=amd64&ver=14.0.0-2%2Bb1&stamp=1672837458&raw=0
>
> ...
> -- Check for working C compiler: /usr/bin/clang-14
> -- Check for working C compiler: /usr/bin/clang-14 - broken
> CMake Error at /usr/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake:70 (message):
> The C compiler
>
> "/usr/bin/clang-14"
>
> is not able to compile a simple test program.
>
> It fails with the following output:
>
> Change Dir: /<<PKGBUILDDIR>>/build/stage-0/halide/CMakeFiles/CMakeScratch/TryCompile-MA4jQl
>
> Run Build Command(s):/usr/bin/ninja cmTC_6af5a && [1/2] Building C object CMakeFiles/cmTC_6af5a.dir/testCCompiler.c.o
> clang: warning: -Wl,--build-id=sha1: 'linker' input unused [-Wunused-command-line-argument]
> clang: warning: argument unused during compilation: '-fuse-ld=lld-14' [-Wunused-command-line-argument]
> [2/2] Linking C executable cmTC_6af5a
> FAILED: cmTC_6af5a
> : && /usr/bin/clang-14 -g -fdebug-default-version=4 -fprofile-generate -Xclang -mllvm -Xclang -vp-counters-per-site=10.0 -fuse-ld=lld-14 -Wl,--build-id=sha1 -Wl,-z,relro CMakeFiles/cmTC_6af5a.dir/testCCompiler.c.o -o cmTC_6af5a && :
> ld.lld-14: error: cannot open /usr/lib/llvm-14/lib/clang/14.0.6/lib/linux/libclang_rt.profile-x86_64.a: No such file or directory
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> ninja: build stopped: subcommand failed.
>
>
>
>
>
> CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
> CMakeLists.txt:2 (project)
>
>
> -- Configuring incomplete, errors occurred!
>
> _______________________________________________
> Pkg-llvm-team mailing list
> Pkg-llvm-team at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-llvm-team
More information about the Pkg-llvm-team
mailing list