Hi, after successfully cross-compiling v8 for raspberry I am getting a linker error on both ubuntu16.04 and and CentOS 7.2. I am getting this:
CXX(host) /data/build/v8/out/android_arm.release/obj.host/mksnapshot/src/snapshot/mksnapshot.o LINK(host) /data/build/v8/out/android_arm.release/mksnapshot /data/build/v8/out/android_arm.release/obj.host/src/libv8_libplatform.a(/data/build/v8/out/android_arm.release/obj.host/v8_libplatform/src/libplatform/default-platform.o):../src/libplatform/default-platform.cc:function v8::platform::CreateDefaultPlatform(int): error: *undefined reference to 'v8::base::SysInfo::NumberOfProcessors()*' /data/build/v8/out/android_arm.release/obj.host/src/libv8_libplatform.a(/data/build/v8/out/android_arm.release/obj.host/v8_libplatform/src/libplatform/default-platform.o):../src/libplatform/default-platform.cc:function v8::platform::DefaultPlatform::SetThreadPoolSize(int): error: *undefined reference to 'v8::base::SysInfo::NumberOfProcessors()*' I have checked /v8/out/android_arm.release/obj.host/v8_libbase/src/base/sys-info.o and NumberOfProcessors function is there. I have extracted sys-info.o from libv8_libbase.a and made sure NumberOfProcessors is referenced there, but the linker get undefined reference. Since the snapshot is not important to me, I have tried to link with libv8_base.a libv8_libbase.a libv8_libplatform libv8_libsampler.a and libv8_nosnapshot.a (instead of external snapshot) but i get the same undefined referenced symbol. any ideas ? help please ^^ thanks. - i -- -- 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.