On Fri, Nov 1, 2024 at 5:05 PM Justin Ferguson <[email protected]> wrote: > > Hi all, > > > Try clang++; I don't think g++/binutils supports CREL yet. You can > > also try to build V8 with g++ (is_clang=false) > > I've tried with both clang and g++ with the same result. I actually > decided to blow away the Linux install I had and try again with a > fresh install that was the latest and the CREL warnings go away but > the problem with libv8_libplatform remains: > > $ g++ -I. -Iinclude samples/hello-world.cc -o hello_world -fno-rtti > -lv8_monolith -lv8_libbase -lv8_libplatform -ldl > -Lout.gn/x64.release.sample/obj/ -pthread -std=c++20 > -DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX > /usr/bin/ld: skipping incompatible > out.gn/x64.release.sample/obj//libv8_libplatform.a when searching for > -lv8_libplatform > /usr/bin/ld: cannot find -lv8_libplatform: No such file or directory > collect2: error: ld returned 1 exit status > $ file out.gn/x64.release.sample/obj/libv8_libplatform.a > out.gn/x64.release.sample/obj/libv8_libplatform.a: thin archive with > 292 symbol entries
That error (non-fatal warning actually) suggests it was built for a different architecture. Does it work when you pass -m32 or -m64 to g++? -- -- v8-dev mailing list [email protected] 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/v8-dev/CAHQurc8qUozHwxBN0vUzAgoZd7NCF2wp7SVMz6ffqZrHk65ADA%40mail.gmail.com.
