Bug#872267: llvm-toolchain-3.8: Please link LLDB with -latomic on powerpcspe
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Tue Aug 15 14:12:32 UTC 2017
Source: llvm-toolchain-3.8
Version: 1:3.8.1-24
Severity: normal
User: debian-powerpc at lists.debian.org
Usertags: powerpcspe
Hi!
llvm-toolchain-3.8 FTBFS due to missing -latomic when linking LLDB [1]:
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:396: error: undefined reference to '__atomic_load_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:374: error: undefined reference to '__atomic_store_8'
/usr/include/c++/6/bits/atomic_base.h:312: error: undefined reference to '__atomic_fetch_add_8'
CMakeFiles/liblldb.dir/SBBlock.cpp.o(.debug_addr+0x60): error: undefined reference to '__atomic_fetch_add_8'
/usr/include/c++/6/bits/atomic_base.h:312: error: undefined reference to '__atomic_fetch_add_8'
CMakeFiles/liblldb.dir/SBFunction.cpp.o(.debug_addr+0x580): error: undefined reference to '__atomic_fetch_add_8'
Thus, please add powerpcspe to the list of architectures in debian/patches lldb-link-atomic-cmake.patch.
Thanks,
Adrian
> [1] https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.8&arch=powerpcspe&ver=1%3A3.8.1-18&stamp=1489744266&raw=0
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the Pkg-llvm-team
mailing list