From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- .../files/watchman-2022.02.28.00-libatomic.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-util/watchman/files/watchman-2022.02.28.00-libatomic.patch (limited to 'dev-util/watchman/files/watchman-2022.02.28.00-libatomic.patch') diff --git a/dev-util/watchman/files/watchman-2022.02.28.00-libatomic.patch b/dev-util/watchman/files/watchman-2022.02.28.00-libatomic.patch new file mode 100644 index 000000000000..0067e9ade7f2 --- /dev/null +++ b/dev-util/watchman/files/watchman-2022.02.28.00-libatomic.patch @@ -0,0 +1,36 @@ +ld.lld: error: undefined symbol: __atomic_is_lock_free +>>> referenced by atomic_base.h:436 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/atomic_base.h:436) +>>> CMakeFiles/watchman.dir/watchman/ChildProcess.cpp.o:(void folly::futures::detail::waitImpl, w_string>(folly::SemiFuture&)) +>>> referenced by atomic_base.h:436 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/atomic_base.h:436) +>>> CMakeFiles/watchman.dir/watchman/ChildProcess.cpp.o:(void folly::futures::detail::waitImpl, w_string>(folly::SemiFuture&)) +>>> referenced by atomic_base.h:436 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/atomic_base.h:436) +>>> CMakeFiles/watchman.dir/watchman/ChildProcess.cpp.o:(folly::futures::detail::WaitExecutor::WaitExecutor()) + +and +ld.lld: error: undefined symbol: __atomic_is_lock_free +>>> referenced by atomic_base.h:436 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/atomic_base.h:436) +>>> CMakeFiles/cache.t.dir/watchman/test/CacheTest.cpp.o:(void folly::futures::detail::waitImpl, folly::Unit>(folly::SemiFuture&)) +>>> referenced by atomic_base.h:436 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/atomic_base.h:436) +>>> CMakeFiles/cache.t.dir/watchman/test/CacheTest.cpp.o:(void folly::futures::detail::waitImpl, folly::Unit>(folly::SemiFuture&)) +>>> referenced by atomic_base.h:436 (/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/atomic_base.h:436) +>>> CMakeFiles/cache.t.dir/watchman/test/CacheTest.cpp.o:(folly::futures::detail::WaitExecutor::WaitExecutor()) +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -716,6 +716,7 @@ target_link_libraries( + jansson + wildmatch + third_party_deps ++ atomic + ) + + if (WIN32) +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -747,6 +747,7 @@ function(t_test NAME) + ${NAME}.t + testsupport wildmatch third_party_deps + ${LIBGMOCK_LIBRARIES} ++ atomic + ) + target_compile_definitions(${NAME}.t + PUBLIC WATCHMAN_TEST_SRC_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}\") -- cgit v1.2.3