08-29-2006
1,
0
Join Date: Aug 2006
Last Activity: 29 August 2006, 4:28 PM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
relocation truncated to fit errors
I have 2 directories: a1 and b1
Directory b1 depends on directory a1
Using directory a1, I create a1.lib
Using directory b1, I create b1.lib
Now, using a1 and b1, I create a shared object ab1.so
I've been able to build ab1.so just fine. I made an update to file b1.c
and am now getting a ton of relocation truncated to fit: R_SPARC_GOT13
errors and don't know why. The change I made is nothing out of the
ordinary, just a few more if statements to a function.
I'm building on Solaris 7, gcc 2.95.2
This same code compiles just fine under RedHat9 and Suse9.3.
Anyone have any suggestions as to how to fix this?
Thank you.