Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 14:31:55 +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-rURLgy4uV6@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

Piotr Kubaj <pkubaj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #213081|0                           |1
        is obsolete|                            |
 Attachment #213081|maintainer-approval?(yuri@f |
              Flags|reebsd.org)                 |
 Attachment #213565|                            |maintainer-approval?(yuri@f
              Flags|                            |reebsd.org)

--- Comment #6 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
Created attachment 213565
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213565&action=
=3Dedit
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 bo=
ost
wants to include headers that are not available in GCC
- Add USES=3Dlocalbase:ldflags instead of modifying LDFLAGS manually.

--=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-rURLgy4uV6>