Hello all, > Looks like -fuse-ld=lld makes it work. Plain ld is probably missing some > support. I'll update the docs.
I can confirm that this works for me and resolved the problem. It required me to "apt install lld" because the alternative loader was not included in the build/install-build-deps.sh. Prior to that I got the error: $ g++ -I. -Iinclude samples/hello-world.cc -o hello_world -fno-rtti -lv8_monolith -fuse-ld=lld -ldl -Lout.gn/x64.release.sample/obj/ -pthread -std=c++20 -DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX collect2: fatal error: cannot find ‘ld’ compilation terminated. Thanks for the pointer. -- -- 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 visit https://groups.google.com/d/msgid/v8-dev/CADCX%2B3Ud49x%3DZqV9O_f6u8rnHM93giW6n905%3DnbAqFraA-gnwg%40mail.gmail.com.