Build error when cross compiling for ARM

614 views
Skip to first unread message

Hendrik Greving

unread,
Dec 18, 2013, 1:19:43 PM12/18/13
to v8-u...@googlegroups.com
Hi I am getting the following build error. I am setting CXX/LINK to an ARM cross compiler (on x86). I am compiling with make arm.debug.

/net/pc69.smi.local/local_disk/hgreving/v8_arm/v8/out/arm.debug/obj.target/third_party/icu/libicui18n.a: could not read symbols: File format not recognized
collect2: error: ld returned 1 exit status
make[1]: *** [/net/pc69.smi.local/local_disk/hgreving/v8_arm/v8/out/arm.debug/shell] Error 1
make[1]: Leaving directory `/net/pc69.smi.local/local_disk/hgreving/v8_arm/v8/out'
make: *** [arm.debug] Error 2

Any help/hints appreciated!

Regards,
Thanks,
Hendrik Greving

Rodolph Perfetta

unread,
Dec 19, 2013, 6:21:55 AM12/19/13
to v8-u...@googlegroups.com
it seems related to i18n, try make arm.debug i18nsupport=off


--
--
v8-users mailing list
v8-u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hendrik Greving

unread,
Dec 19, 2013, 11:00:40 AM12/19/13
to v8-u...@googlegroups.com
Thanks this worked. I also had to set LD to g++ (at least when using codesourcery cross compilers), because of some invalid rpath option of the linker in this toolchain.

Should I file a bug somewhere (for the icu issue)? It seems that invalid archives get generated (I tried setting AR to the cross compilers toolchain, as well as I removed the 'T' from the AR commands for "think archives", but it didn't help, failingwith a similar error.

Regards,
Thanks,
Hendrik Greving


You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/RjFL02tb3dk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.

Hendrik Greving

unread,
Dec 19, 2013, 11:21:05 AM12/19/13
to v8-u...@googlegroups.com

Sorry,  should mean "thin archives".
Regards

Reply all
Reply to author
Forward
0 new messages