[Bug 243958] net-p2p/libtorrent-rasterbar : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit : libtorrent-rasterbar.so.1.2.3: undefined reference to `__atomic_compare_exchange_8'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 20 15:43:24 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243958

--- Comment #13 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
For the record, LLVM9 fails at configure step with:
    : && /usr/local/bin/clang90 -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -L/usr/local/lib -liconv  -fstack-protector-strong
CMakeFiles/cmTC_ccceb.dir/testCCompiler.c.o  -o cmTC_ccceb   && :
    Stack dump:
    0.  Program arguments: /usr/local/llvm90/bin/ld --eh-frame-hdr
-dynamic-linker /libexec/ld-elf.so.1 --enable-new-dtags -m elf32ppc_fbsd -o
cmTC_ccceb /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/local/lib
-L/usr/lib -liconv CMakeFiles/cmTC_ccceb.dir/testCCompiler.c.o -lgcc
--as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
/usr/lib/crtend.o /usr/lib/crtn.o 
    #0 0x5208ed8c llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/llvm90/lib/libLLVM-9.so+0x1ba9d8c)
    #1 0x5208f3a4 (/usr/local/llvm90/lib/libLLVM-9.so+0x1baa3a4)
    #2 0x5208ca44 llvm::sys::RunSignalHandlers()
(/usr/local/llvm90/lib/libLLVM-9.so+0x1ba7a44)
    #3 0x5208f738 (/usr/local/llvm90/lib/libLLVM-9.so+0x1baa738)
    #4 0x504ac184 (/lib/libthr.so.3+0x26184)
    clang-cpp: error: unable to execute command: Segmentation fault (core
dumped)
    clang-cpp: error: linker command failed due to signal (use -v to see
invocation)

Base LLVM10 works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ppc mailing list