[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
Sun Apr 19 14:31:56 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243958
Piotr Kubaj <pkubaj at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #213081|0 |1
is obsolete| |
Attachment #213081|maintainer-approval?(yuri at f |
Flags|reebsd.org) |
Attachment #213565| |maintainer-approval?(yuri at f
Flags| |reebsd.org)
--- Comment #6 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
Created attachment 213565
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213565&action=edit
v3
Better patch.
- instead of using LLVM 9, use GCC. On powerpc head, build fails with LLVM 9
(but completes with 10 or GCC). GCC should work just about everywhere.
- -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW is necessary because boost
wants to include headers that are not available in GCC
- Add USES=localbase:ldflags instead of modifying LDFLAGS manually.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list