Bug#926772: underlinked clang libraries on armel cause build failures
Matthias Klose
doko at debian.org
Wed Apr 10 10:12:17 BST 2019
On 10.04.19 10:29, Adrian Bunk wrote:
> On Wed, Apr 10, 2019 at 10:11:29AM +0200, Matthias Klose wrote:
>> Package: src:llvm-toolchain-7
>> Version: 1:7.0.1-8
>> Severity: serious
>> Tags: sid buster
>>
>> underlinked clang libraries on armel cause build failures,
>
> Static libraries are not linked.
ouch
>> as seen at
>> https://buildd.debian.org/status/package.php?p=creduce
>>
>> /usr/bin/ld:
>> /usr/lib/llvm-7/lib/libclangFrontend.a(SerializedDiagnosticReader.cpp.o):
>> undefined reference to symbol '__atomic_load_4@@LIBATOMIC_1.0'
>> /usr/bin/ld: //usr/lib/arm-linux-gnueabi/libatomic.so.1: error adding symbols:
>> DSO missing from command line
>> collect2: error: ld returned 1 exit status
>> make[4]: *** [Makefile:868: clang_delta] Error 1
>> ...
>
> How does creduce get dependencies for these static libraries from LLVM?
these are hard coded in clang_delta/Makefile.am. Is there a better way? Would
llvm-config --system-libs be a better way to include -latomic on armel?
More information about the Pkg-llvm-team
mailing list