This is the mail archive of the
mailing list for the GCC project.
Re: compilation bug on solaris with perl
On Fri, Sep 03, 2004 at 04:08:07PM -0700, Edward Peschko wrote:
> On Fri, Sep 03, 2004 at 12:13:11PM -0700, Richard Henderson wrote:
> > On Thu, Sep 02, 2004 at 08:32:34PM -0700, Edward Peschko wrote:
> > > relocation error: R_SPARC_WDISP30: file lib/auto/File/Glob/Glob.so:
> > > symbol _exit: value 0x6075ef31 does not fit at lib/XSLoader.pm line 68.
> > You failed to compile with -fpic/-fPIC.
> > r~
> just curious:
> 1) what made that particular solution come to mind? why does this not
> occur when 32bit mode is invoked?
Grr, ignore that last response. Unless you're interested in the answer
to the above question wrt the *second* problem you posted. ;-P
R_SPARC_WDISP30 is a direct call relocation. If you'd used either pic
option the compiler would have generated R_SPARC_WPLT30.
My answer wrt why this doesn't happen for 32-bit mode still applies.
> 2) should this be something that is always bundled together w/-m64?
> if so, at the perl config level or the gcc level?