Bug#872267: llvm-toolchain-3.8: Please link LLDB with -latomic on powerpcspe
Mathieu Malaterre
malat at debian.org
Tue Aug 15 15:23:42 UTC 2017
Dear package maintainer,
On Tue, Aug 15, 2017 at 4:12 PM, John Paul Adrian Glaubitz
<glaubitz at physik.fu-berlin.de> wrote:
> 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.
I am pretty sure this also apply to llvm-toolchain-3.9 &
llvm-toolchain-4.0, do you want me to clone the bug for those binary
packages ?
More information about the Pkg-llvm-team
mailing list