[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'

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243958

--- Comment #13 from Piotr Kubaj <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.