$gm x64.debug build fails.

39 views
Skip to first unread message

TL

unread,
Feb 24, 2021, 4:34:59 PM2/24/21
to v8-users
When I try to build x64.debug with ninja, it fails with the below error message.

# autoninja -C out/x64.debug d8
ninja: Entering directory `out/x64.debug'
[0/1] Regenerating ninja files
[1/10] LINK ./mksnapshot
FAILED: mksnapshot
python "../../build/toolchain/gcc_link_wrapper.py" --output="./mksnapshot" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -pie -fuse-ld=lld -Wl,--fatal-warnings -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -Wl,--color-diagnostics -Wl,--no-call-graph-profile-sort -m64 -Werror -Wl,--gdb-index -rdynamic -nostdlib++ --sysroot=../../build/linux/debian_sid_amd64-sysroot -L../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -pie -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN -rdynamic -o "./mksnapshot" -Wl,--start-group @"./mksnapshot.rsp" ./libv8_libbase.so ./libv8_libplatform.so ./libicui18n.so ./libicuuc.so ./libchrome_zlib.so ./libc++.so -Wl,--end-group  -ldl -lpthread -lrt
ld.lld: error: undefined symbol: v8::internal::SwissNameDictionary::kInitialCapacity
>>> referenced by swiss-name-dictionary.cc:93 (../../src/objects/swiss-name-dictionary.cc:93)
>>>               obj/v8_base_without_compiler/swiss-name-dictionary.o:(v8::internal::SwissNameDictionary::Shrink(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SwissNameDictionary>))
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Error! - V8 compilation finished with errors.

I was able to build x64.release. Can someone help me out what might be the issue of it?
Reply all
Reply to author
Forward
0 new messages