Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2021 00:46:50 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6551900e74bb - main - emulators/rpcs3: fails to build on FreeBSD < 13 after 31b321b68b42
Message-ID:  <202110120046.19C0ko1c050359@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6551900e74bb291302cd2866376fdc326d5f2b22

commit 6551900e74bb291302cd2866376fdc326d5f2b22
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-10-11 23:44:45 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-10-12 00:46:23 +0000

    emulators/rpcs3: fails to build on FreeBSD < 13 after 31b321b68b42
    
    ld: error: undefined symbol: std::__1::__cxx_atomic_notify_one(std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> > const volatile*)
    >>> referenced by rpcn_client.cpp
    >>>               rpcn_client.cpp.o:(rpcn::rpcn_client::rpcn_client()) in archive rpcs3/Emu/librpcs3_emu.a
    >>> referenced by rpcn_client.cpp
    >>>               rpcn_client.cpp.o:(rpcn::rpcn_client::rpcn_thread()) in archive rpcs3/Emu/librpcs3_emu.a
    >>> referenced by rpcn_client.cpp
    >>>               rpcn_client.cpp.o:(rpcn::rpcn_client::~rpcn_client()) in archive rpcs3/Emu/librpcs3_emu.a
    >>> referenced 9 more times
    
    ld: error: undefined symbol: std::__1::__libcpp_atomic_wait(std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> > const volatile*, long)
    >>> referenced by rpcn_client.cpp
    >>>               rpcn_client.cpp.o:(bool std::__1::__libcpp_thread_poll_with_backoff<std::__1::__atomic_semaphore_base::acquire()::'lambda'() const&, std::__1::__libcpp_atomic_wait_backoff_impl<std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> >, std::__1::__atomic_semaphore_base::acquire()::'lambda'()>&>(std::__1::__atomic_semaphore_base::acquire()::'lambda'() const&, std::__1::__libcpp_atomic_wait_backoff_impl<std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> >, std::__1::__atomic_semaphore_base::acquire()::'lambda'()>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> >)) in archive rpcs3/Emu/librpcs3_emu.a
    
    ld: error: undefined symbol: std::__1::__libcpp_atomic_monitor(std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> > const volatile*)
    >>> referenced by rpcn_client.cpp
    >>>               rpcn_client.cpp.o:(bool std::__1::__libcpp_thread_poll_with_backoff<std::__1::__atomic_semaphore_base::acquire()::'lambda'() const&, std::__1::__libcpp_atomic_wait_backoff_impl<std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> >, std::__1::__atomic_semaphore_base::acquire()::'lambda'()>&>(std::__1::__atomic_semaphore_base::acquire()::'lambda'() const&, std::__1::__libcpp_atomic_wait_backoff_impl<std::__1::__cxx_atomic_impl<long, std::__1::__cxx_atomic_base_impl<long> >, std::__1::__atomic_semaphore_base::acquire()::'lambda'()>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> >)) in archive rpcs3/Emu/librpcs3_emu.a
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)
---
 emulators/rpcs3/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile
index ff5598afbb1c..16bb96e908f7 100644
--- a/emulators/rpcs3/Makefile
+++ b/emulators/rpcs3/Makefile
@@ -16,6 +16,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libpng.so:graphics/png \
 		libavcodec.so:multimedia/ffmpeg
 
+BROKEN_FreeBSD_12=	ld: error: undefined symbol: std::__1::__cxx_atomic_notify_one
 ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	requires int128 and SSE2
 



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