On Tue, Aug 15, 2017 at 3:44 PM, John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> wrote: > Hi Mathieu! > > On 08/15/2017 03:35 PM, Mathieu Malaterre wrote: >> Does anyone knows that status of llvm-toolchain-3.8 on powerpcspe ? >> >> https://buildd.debian.org/status/package.php?p=llvm-toolchain-3.8&suite=sid > > So far, all LLVM versions which attempted to build on PowerPCSPE failed [1], > so I set llvm-toolchain-* to "Not-For-Us" for the time being until I have > time investigating the issue. I just want to save buildd time which would > go wasted given there are so many different LLVM packages. > > It fails with: > > /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' > > which should be fixable by adding -latomic appropriately. > > However, it also fails with: > > /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4167: error: relocation > overflow > /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4167: error: relocation > overflow > /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation > overflow > /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation > overflow > /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:4048: error: relocation > overflow > /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:438: error: relocation overflow > /<<PKGBUILDDIR>>/tools/clang/lib/Analysis/CFG.cpp:813: error: relocation > overflow > /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:455: error: relocation overflow > /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:455: error: relocation overflow > /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:434: error: relocation overflow > /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:778: error: relocation overflow > /<<PKGBUILDDIR>>/include/llvm/ADT/APInt.h:793: error: relocation overflow > > and I don't have the clue yet what the problem is.
Did you try a local build without using 'gold' (see d/rules) ? I see some vaguely related bug: https://sourceware.org/bugzilla/show_bug.cgi?id=18147 Thanks