I found the problem, by the way. Apparently, v8 builds something called a thin archive that will not work on another machine.
Are there any options that you can use when building v8 so that it builds a full archive library instead of a thin one? On Monday, August 1, 2016 at 12:28:43 AM UTC-7, Jochen Eisinger wrote: > > Maybe your target system doesn't have the gold linker? > > ld -v should say something like: GNU gold (GNU Binutils 2.26.20160125) 1.11 > > You can also try to compile v8 without gold by setting > linux_use_bundled_gold=0 and linux_use_gold_flags=0 in your GYP_DEFINES > > On Sat, Jul 30, 2016 at 6:13 PM Mark Tarrabain <ma...@nerdflat.com > <javascript:>> wrote: > >> Is there anything special I need to be doing if I want to compile v8 as a >> static library on one system and then build an application that links to it >> on another (same OS and cpu, but possibly a different compiler or compiler >> version)? I was trying this yesterday, and when I went to build my >> application that links to v8 (on a different system than the one that built >> the library), I received the following error: >> >> lib/libv8_base.a: error adding symbols: Malformed archive >> collect2: error: ld returned 1 exit status >> >> Thanks >> Mark >> >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com <javascript:> >> 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+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- 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. For more options, visit https://groups.google.com/d/optout.