Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mix PIC code and Non-PIC code

807575Nov 1 2006 — edited Nov 6 2006
Hi folks,

I am trying to mix PIC and non-PIC code into one shared object library since some of the modules have significant amount of PIC overhead (it accesses a lot of global data and invokes a lot of external functions). The library works fine on Solaris 10 x86 platform, but I got the following errors on amd64 platform. I am using sun studio 11 by the way.

dl failure on line 714Error: failed /PrtReliabilityDir/JDKs/jdk1.6/jre/lib/amd64/server/libjvm.so, because ld.so.1: java: fatal: relocation error: R_AMD64_32: file /PrtReliabilityDir/JDKs/jdk1.6/jre/lib/amd64/server/libjvm.so: symbol (unknown): value 0xfffffd7ffe600000 does not fit

So is this a bug? Thanks,

-Xiaobin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2006
Added on Nov 1 2006
5 comments
395 views