*luyahan**@**plct-dev-7**:**~/v8/v8/out/x64.debug $ *ninja -j52
[480/3139] LINK ./v8_cppgc_shared_unittests FAILED: v8_cppgc_shared_unittests python3 "../../build/toolchain/gcc_link_wrapper.py" --output="./v8_cppgc_shared_unittests" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -pie -Werror -fuse-ld=lld -Wl,--fatal-warnings -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,--color-diagnostics -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -m64 -no-canonical-prefixes -Wl,--gdb-index -rdynamic -Wl,-z,defs -Wl,--as-needed -nostdlib++ --sysroot=../../build/linux/debian_bullseye_amd64-sysroot -pie -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN -rdynamic -o "./v8_cppgc_shared_unittests" -Wl,--start-group @"./v8_cppgc_shared_unittests.rsp" ./lib_v8_cppgc_shared_for_testing.so ./lib_v8_libbase.so ./libc++.so -Wl,--end-group -ldl -lpthread -lrt ld.lld: error: undefined symbol: testing::AssertionSuccess() >>> referenced by gtest.h:1430 (../../third_party/googletest/src/googletest/include/gtest/gtest.h:1430) >>> obj/test/unittests/v8_cppgc_shared_unittests_sources/worklist-unittest.o:(testing::AssertionResult testing::internal::CmpHelperNE<heap::base::SomeObject*, heap::base::SomeObject*>(char const*, char const*, heap::base::SomeObject* const&, heap::base::SomeObject* const&)) >>> referenced by gtest.h:1353 (../../third_party/googletest/src/googletest/include/gtest/gtest.h:1353) >>> obj/test/unittests/v8_cppgc_shared_unittests_sources/worklist-unittest.o:(testing::AssertionResult testing::internal::CmpHelperEQ<unsigned int, unsigned long>(char const*, char const*, unsigned int const&, unsigned long const&)) >>> referenced by gtest.h:1353 (../../third_party/googletest/src/googletest/include/gtest/gtest.h:1353) >>> obj/test/unittests/v8_cppgc_shared_unittests_sources/worklist-unittest.o:(testing::AssertionResult testing::internal::CmpHelperEQ<heap::base::SomeObject*, heap::base::SomeObject*>(char const*, char const*, heap::base::SomeObject* const&, heap::base::SomeObject* const&)) >>> referenced 16 more times ld.lld: error: undefined symbol: testing::AssertionFailure() >>> referenced by gtest.h:1404 (../../third_party/googletest/src/googletest/include/gtest/gtest.h:1404) >>> obj/test/unittests/v8_cppgc_shared_unittests_sources/worklist-unittest.o:(testing::AssertionResult testing::internal::CmpHelperOpFailure<heap::base::SomeObject*, heap::base::SomeObject*>(char const*, char const*, heap::base::SomeObject* const&, heap::base::SomeObject* const&, char const*)) >>> referenced by gtest.cc:948 (../../third_party/googletest/src/googletest/src/gtest.cc:948) >>> obj/third_party/googletest/gtest/gtest.o:(testing::internal::HasOneFailure(char const*, char const*, char const*, testing::TestPartResultArray const&, testing::TestPartResult::Type, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&)) >>> referenced by gtest.cc:953 (../../third_party/googletest/src/googletest/src/gtest.cc:953) >>> obj/third_party/googletest/gtest/gtest.o:(testing::internal::HasOneFailure(char const*, char const*, char const*, testing::TestPartResultArray const&, testing::TestPartResult::Type, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&)) >>> referenced 13 more times ld.lld: error: undefined symbol: testing::AssertionResult::AssertionResult(testing::AssertionResult const&) >>> referenced by gtest.h:1404 (../../third_party/googletest/src/googletest/include/gtest/gtest.h:1404) >>> obj/test/unittests/v8_cppgc_shared_unittests_sources/worklist-unittest.o:(testing::AssertionResult testing::internal::CmpHelperOpFailure<heap::base::SomeObject*, heap::base::SomeObject*>(char const*, char const*, heap::base::SomeObject* const&, heap::base::SomeObject* const&, char const*)) >>> referenced by gtest.cc:948 (../../third_party/googletest/src/googletest/src/gtest.cc:948) >>> obj/third_party/googletest/gtest/gtest.o:(testing::internal::HasOneFailure(char const*, char const*, char const*, testing::TestPartResultArray const&, testing::TestPartResult::Type, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&)) >>> referenced by gtest.cc:953 (../../third_party/googletest/src/googletest/src/gtest.cc:953) >>> obj/third_party/googletest/gtest/gtest.o:(testing::internal::HasOneFailure(char const*, char const*, char const*, testing::TestPartResultArray const&, testing::TestPartResult::Type, std::Cr::basic_string<char, std::Cr::char_traits<char>, std::Cr::allocator<char>> const&)) >>> referenced 13 more times clang++: error: linker command failed with exit code 1 (use -v to see invocation) [531/3139] CXX obj/torque_base/implementation-visitor.o ninja: build stopped: subcommand failed. *luyahan**@**plct-dev-7**:**~/v8/v8/out/x64.debug $ * *luyahan**@**plct-dev-7**:**~/v8/v8/out/x64.debug $ *cat args.gn is_component_build = true is_debug = true symbol_level = 2 target_cpu = "x64" v8_enable_sandbox = true use_goma = false v8_enable_backtrace = true v8_enable_fast_mksnapshot = true v8_enable_slow_dchecks = true v8_optimized_debug = false -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/fbdebfc3-6619-4422-a18d-d36ba4f31dd5n%40googlegroups.com.