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

index | next in thread | raw e-mail

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: 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
===>  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.

home | help

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