Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Feb 2020 13:43:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@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-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 243958
           Summary: 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'
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: canardo909@gmx.com
                CC: powerpc@FreeBSD.org
          Assignee: yuri@freebsd.org
                CC: powerpc@FreeBSD.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Problem found when building net-p2p/libtorrent-rasterbar on FreeBSD
12.1-RELEASE-p1 r354992 GENERIC powerpc 32 bit, running on Apple Powerbook =
17".



/usr/ports/net-p2p/libtorrent-rasterbar # make clean
=3D=3D=3D>  Cleaning for libtorrent-rasterbar-1.2.3
/usr/ports/net-p2p/libtorrent-rasterbar # make -DBATCH install clean
=3D=3D=3D>  License BSD3CLAUSE accepted by the user
=3D=3D=3D>   libtorrent-rasterbar-1.2.3 depends on file: /usr/local/sbin/pk=
g - found
=3D=3D=3D> Fetching all distfiles required by libtorrent-rasterbar-1.2.3 fo=
r building
=3D=3D=3D>  Extracting for libtorrent-rasterbar-1.2.3
.....
.....
[169/176] : && /usr/local/bin/g++9  -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc9  -Wl,-rpath=3D/usr/local/lib/gcc9 -O2 -pip=
e=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9=20
-Wl,-rpath=3D/usr/local/lib/gcc9  -L/usr/local/lib -liconv=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9 -L/usr/local/lib/=
gcc9
examples/CMakeFiles/simple_client.dir/simple_client.cpp.o  -o
examples/simple_client=20
-Wl,-rpath,/usr/ports/net-p2p/libtorrent-rasterbar/work/.build=20
libtorrent-rasterbar.so.1.2.3  -pthread  /usr/lib/libssl.so=20
/usr/lib/libcrypto.so  /usr/local/lib/libboost_system.so && :
FAILED: examples/simple_client=20
: && /usr/local/bin/g++9  -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc9  -Wl,-rpath=3D/usr/local/lib/gcc9 -O2 -pip=
e=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9=20
-Wl,-rpath=3D/usr/local/lib/gcc9  -L/usr/local/lib -liconv=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9 -L/usr/local/lib/=
gcc9
examples/CMakeFiles/simple_client.dir/simple_client.cpp.o  -o
examples/simple_client=20
-Wl,-rpath,/usr/ports/net-p2p/libtorrent-rasterbar/work/.build=20
libtorrent-rasterbar.so.1.2.3  -pthread  /usr/lib/libssl.so=20
/usr/lib/libcrypto.so  /usr/local/lib/libboost_system.so && :
/usr/local/bin/ld: libtorrent-rasterbar.so.1.2.3: undefined reference to
`__atomic_compare_exchange_8'
/usr/local/bin/ld: libtorrent-rasterbar.so.1.2.3: undefined reference to
`__atomic_load_8'
/usr/local/bin/ld: libtorrent-rasterbar.so.1.2.3: undefined reference to
`__atomic_store_8'
/usr/local/bin/ld: libtorrent-rasterbar.so.1.2.3: undefined reference to
`__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/libtorrent-rasterbar



NB: net-p2p/py-libtorrent-rasterbar/ is currently marked as broken, I don't
know if it is related to problem described above.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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