ld error for cross compile with armv5t

69 views
Skip to first unread message

dad...@gmail.com

unread,
Feb 22, 2013, 1:25:37 AM2/22/13
to v8-u...@googlegroups.com
Hi,
 
I try cross compiling for armv5t (exactly speaking armv5te).
 
But, it occur link error for "-rpath" option.
 
error log are :
arm-arago-linux-gnueabi-g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DENABLE_DEBUGGER_SUPPORT' '-DV8_TARGET_ARCH_ARM' '-DUSE_EABI_HARDFLOAT=0' -I../deps/v8/src  -Wall -pthread -fno-strict-aliasing -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF /home/bgchoi/work/third-party/node-v0.8.20/out/Release/.deps//home/bgchoi/work/third-party/node-v0.8.20/out/Release/obj.target/mksnapshot/deps/v8/src/mksnapshot.o.d.raw -march=armv5t -c -o /home/bgchoi/work/third-party/node-v0.8.20/out/Release/obj.target/mksnapshot/deps/v8/src/mksnapshot.o ../deps/v8/src/mksnapshot.cc
  arm-arago-linux-gnueabi-ld -pthread -rdynamic   -o /home/bgchoi/work/third-party/node-v0.8.20/out/Release/mksnapshot -Wl,--start-group /home/bgchoi/work/third-party/node-v0.8.20/out/Release/obj.target/mksnapshot/deps/v8/src/mksnapshot.o /home/bgchoi/work/third-party/node-v0.8.20/out/Release/obj.target/deps/v8/tools/gyp/libv8_base.a /home/bgchoi/work/third-party/node-v0.8.20/out/Release/obj.target/deps/v8/tools/gyp/libv8_nosnapshot.a -Wl,--end-group
arm-arago-linux-gnueabi-ld: bad -rpath option
 
 
My configure is :
17 CC=arm-arago-linux-gnueabi-gcc \
 18 LD=arm-arago-linux-gnueabi-ld \
 19 NM=arm-arago-linux-gnueabi-nm \
 20 AR=arm-arago-linux-gnueabi-ar \
 21 AS=arm-arago-linux-gnueabi-as \
 22 CXX=arm-arago-linux-gnueabi-g++ \
 23 RANLIB=arm-arago-linux-gnueabi-ranlib \
 24 ./configure --prefix=$PREFIX \
 25     --dest-cpu=arm \
 26     --dest-os=linux
 
How can I resolve this problem?
 
BR,
Choi 

Rodolph Perfetta

unread,
Feb 22, 2013, 7:43:22 AM2/22/13
to v8-u...@googlegroups.com
Try removing the -rdynamic option from the link command (probably in build/common.gypi)


--
--
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.
 
 

Reply all
Reply to author
Forward
0 new messages