libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool convenience library on x86_64


From: Ralf Wildenhues
Subject: Re: Libtool convenience library on x86_64
Date: Tue, 21 Dec 2004 07:18:11 +0100
User-agent: Mutt/1.5.6+20040907i

* Bill Jones wrote on Mon, Dec 20, 2004 at 08:59:40PM CET:
> I am trying to link a shared library against a libtool convenience 
> library on an AMD opteron with libtool 1.5.10, automake 1.9, autoconf 
> 2.59, and gcc-3.2.2 (SuSE Linux).  If I use the normal method, that 
> works fine under RedHat on Intel x86 (32 bit) and MinGW, I get the 
> following error when linking my shared library:
> 
> relocation R_X86_64_32 can not be used when making a shared object; 
> recompile with -fPIC
> 
> If I explicitly specify the "-fPIC" flag as part of my convenience 
> library CFLAGS and rebuild it, then all links fine.  My concern here is 
> if some later compiler does not support "-fPIC".  I am counting on 
> libtool to figure this stuff out for me.

Sure.  Something like
  --with-pic
could serve as bad temporary workaround.

> I have read Daniel Reed's posting to address@hidden entitled "disable 
> nopic on x86_64 and s390* (was: Re: GNU Libtool 1.5.8 released.)" and it 
> looks like you simply turned off this test.  Is this to be actually 
> fixed at some point?  Is there a work around for using libtool 
> convenience libraries in building shared libtool libraries?

D*mn, you're right, we didn't fix the problem, just the symptoms.

Hehe, looking back, there was this discussion where, IIRC, Alexandre
Oliva fought against setting deplibs_check_method to pass_all for linux.
It's actually wrong to do so, and we have to fix this.

Please remind us in a couple of weeks if we haven't fixed this, it's
kind of an intricate issue, and probably needs some discussion (plus,
right now everyone seems to be short of time).

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]