Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2020 15:43:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [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'
Message-ID:  <bug-243958-25139-jtehjY8foC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243958-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243958-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243958

--- Comment #13 from Piotr Kubaj <pkubaj@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-ne=
eded
/usr/lib/crtend.o /usr/lib/crtn.o=20
    #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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243958-25139-jtehjY8foC>