Date: | Mon, 11 Jul 2011 22:57:13 +0800 |
---|---|
From: | Sitos Lin <sitos.lin@xxxxxxxxx> |
Subject: | Re: [Gems-users] Can not compile Ruby and Opal on amd64 and no useful error message is available |
Hello: I got new error messages. But, I still have no idea to solve them. Now, opal and ruby seems to have the same problem. Some parts of opal.o and ruby.o are compiled in 32-bit, so that they can not be linked with 64-bit binary. Does anyone know how to solve this? Thanks a lot.
sitos Opal: === Building module "opal" === make[2]: Entering directory `/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace/amd64-linux/obj/modules/opal'
Using the Simics 3.0 API for opal module CCLD opal.so /usr/bin/ld: opal.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
opal.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace/amd64-linux/lib/opal.so] Error 1 make[2]: Leaving directory `/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace/amd64-linux/obj/modules/opal'
make[1]: *** [opal] Error 2 make[1]: Leaving directory `/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace' make: *** [module] Error 2 Ruby: === Building module "ruby" === make[2]: Entering directory `/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace/amd64-linux/obj/modules/ruby' Using the Simics 3.0 API for ruby module
CCLD ruby.so /usr/bin/ld: ruby.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC ruby.o: could not read symbols: Bad value
collect2: ld returned 1 exit status make[2]: *** [/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace/amd64-linux/lib/ruby.so] Error 1 make[2]: Leaving directory `/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace/amd64-linux/obj/modules/ruby'
make[1]: *** [ruby] Error 2 make[1]: Leaving directory `/home/r94/evildragon/Simulator/GemsPRAMsim/simics_3_workspace' make: *** [all] Error 2 2011/7/11 Sitos Lin <sitos.lin@xxxxxxxxx> Hello all: |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [Gems-users] Can not compile Ruby and Opal on amd64 and no useful error message is available, Sitos Lin |
---|---|
Next by Date: | [Gems-users] Bus error (SIGBUS) in main thread, Sitos Lin |
Previous by Thread: | [Gems-users] Can not compile Ruby and Opal on amd64 and no useful error message is available, Sitos Lin |
Next by Thread: | [Gems-users] compile SPLASH2, argon_zh |
Indexes: | [Date] [Thread] |