Hi I'm trying to build v8 using the custom toolchain. My gn gen command looks like this:
cd /v/build/v_deps_build/v8-prefix/src/v8-build && /usr/bin/cmake -E env CC=clang CXX=/vectorized/llvm/bin/clang++ LD=vectorized/llvm/bin/lld AR=/usr/bin/ar PKG_CONFIG_PATH=/vectorized/lib64/pkgconfig:/vectorized/share/pkgconfig:/vectorized/lib/pkgconfig "CFLAGS=-fPIC -march=westmere -fuse-ld=lld -mllvm -inline-threshold=2500 -O2 -g -DNDEBUG" "CXXFLAGS=-fPIC -march=westmere -fuse-ld=lld -mllvm -inline-threshold=2500 -Wno-unused-lambda-capture -Wno-unused-command-line-argument -stdlib=libc++ -O2 -g -DNDEBUG -std=c++20" "LDFLAGS=-Wl,--build-id=sha1 -L/vectorized/lib -L/vectorized/lib64 -stdlib=libc++" /vectorized/gn/gn gen /v/build/v_deps_build/v8-prefix/src/v8-build --root=/v/build/v_deps_build/v8-prefix/src/v8/v8 "--args=v8_monolithic=true is_debug=false clang_use_chrome_plugins=false treat_warnings_as_errors=false use_custom_libcxx=false use_glib=false use_sysroot=false v8_use_external_startup_data=false is_component_build=false v8_enable_pointer_compression=false custom_toolchain=\"//build/toolchain/linux/unbundle:default\" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" && /vectorized/gn/gn desc /v/build/v_deps_build/v8-prefix/src/v8-build --root=/v/build/v_deps_build/v8-prefix/src/v8/v8 //:v8_monolith --tree && /usr/bin/cmake -E touch /v/build/v_deps_build/v8-prefix/src/v8-stamp/v8-configure When I'm running ninja ninja -C <build_dir> v8_monolith I'm getting the following error: [5/1560] ACTION //:generate_bytecode_builtins_list(//build/toolchain/linux/unbundle:default) FAILED: gen/builtins-generated/bytecodes-builtins-list.h python ../v8/v8/tools/run.py ./bytecode_builtins_list_generator gen/builtins-generated/bytecodes-builtins-list.h /bytecode_builtins_list_generator: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory Return code is 127 If it's built with ./llvm/install/bin/clang --stdlib=libc++ then I expect it to link with ./llvm/install/libs/x86_64-unknwon-linux/libc++.so.1 but this is not the case. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/118323d2-8062-43f3-b992-32245b7dbff8n%40googlegroups.com.