Bug#820537: binutils: ld cannot link big binaries on mips/mipsel / llvm-toolchain-3.8: FTBFS on mips and mipsel

Sylvestre Ledru sylvestre at debian.org
Sun Jul 3 10:13:14 UTC 2016


tags 820537 + fixed pending
thanks


Using -gsplit-dwarf fixed the issue .

LLVM fails to build now with

../../../../lib/liblldbCore.a(DataExtractor.cpp.o):/usr/include/c++/5/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
../../../../lib/liblldbCore.a(DataExtractor.cpp.o):/usr/include/c++/5/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
../../../../lib/liblldbCore.a(DataExtractor.cpp.o):/usr/include/c++/5/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'

Hopefully, enabling the link against lib atomic should be enough.
I updated the vcs but I won't upload it until two weeks (holidays), if
someone wants to try, go ahead!

Cheers,
Sylvestre



More information about the Pkg-llvm-team mailing list