Hi,

> Long shot but, since you're linking to libv8_monolith.a anyway, why
> not drop libv8_libbase from the arguments?

I get the same thing as with it:

$ g++ -m64 -I. -Iinclude samples/hello-world.cc -o hello_world
-fno-rtti -lv8_monolith -ldl -Lout.gn/x64.release.sample/obj/ -pthread
-std=c++20 -DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX
/usr/bin/ld: unknown architecture of input file
`out.gn/x64.release.sample/obj//libv8_monolith.a(default-platform.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: unknown architecture of input file
`out.gn/x64.release.sample/obj//libv8_monolith.a(default-thread-isolated-allocator.o)'
is incompatible with i386:x86-64 output
/usr/bin/ld: unknown architecture of input file
`out.gn/x64.release.sample/obj//libv8_monolith.a(default-worker-threads-task-runner.o)'
is incompatible with i386:x86-64 output
[...]

I should note that whenever I omit either of the library directives
and I get these screens full of errors from ld that the build process
hangs. I'm going to leave it and see what its final conclusion is, but
I think the build is broken-- this is a fresh linux install with all
of the instructions followed and the only thing done on the box was
build v8.

Justin

-- 
-- 
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/CADCX%2B3VjMkUNb2zXVK8pCA9vBELrPAHNL9bVEhRUF1hB-2K9MQ%40mail.gmail.com.

Reply via email to