[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'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243958
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: [email protected]
Reporter: [email protected]
CC: [email protected]
Assignee: [email protected]
CC: [email protected]
Flags: maintainer-feedback?([email protected])
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
===> Cleaning for libtorrent-rasterbar-1.2.3
/usr/ports/net-p2p/libtorrent-rasterbar # make -DBATCH install clean
===> License BSD3CLAUSE accepted by the user
===> libtorrent-rasterbar-1.2.3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libtorrent-rasterbar-1.2.3 for building
===> Extracting for libtorrent-rasterbar-1.2.3
.....
.....
[169/176] : && /usr/local/bin/g++9 -O2 -pipe -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -Wl,-rpath=/usr/local/lib/gcc9 -O2 -pipe
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib -liconv
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9
examples/CMakeFiles/simple_client.dir/simple_client.cpp.o -o
examples/simple_client
-Wl,-rpath,/usr/ports/net-p2p/libtorrent-rasterbar/work/.build
libtorrent-rasterbar.so.1.2.3 -pthread /usr/lib/libssl.so
/usr/lib/libcrypto.so /usr/local/lib/libboost_system.so && :
FAILED: examples/simple_client
: && /usr/local/bin/g++9 -O2 -pipe -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -Wl,-rpath=/usr/local/lib/gcc9 -O2 -pipe
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib -liconv
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9
examples/CMakeFiles/simple_client.dir/simple_client.cpp.o -o
examples/simple_client
-Wl,-rpath,/usr/ports/net-p2p/libtorrent-rasterbar/work/.build
libtorrent-rasterbar.so.1.2.3 -pthread /usr/lib/libssl.so
/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.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes 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.
--
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.