This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Mysterious Dependencies


Greetings!

Is this bug still in the GCC 4.x releases?  (See messages below.)
Or has it been fixed in the GCC 4.x releases?

Thanks,
Eric.

> -----Original Message-----
> From: Bob Friesenhahn [mailto:bfriesen@simple.dallas.tx.us] 
> Sent: Tuesday, January 24, 2006 6:51 PM
> To: Eric Lemings
> Cc: 'libtool@gnu.org'
> Subject: Re: Mysterious Dependencies
> 
> 
> This is due to a GCC bug that I reported long ago.  GCC's 
> libtool (GCC 
> has its own version of libtool) inserts references to its build 
> directory in the .la files installed alongside the libraries it 
> installs.
> 
> Bob
> 
> On Tue, 24 Jan 2006, Eric Lemings wrote:
> 
> > Hello,
> >
> > On RedHat AS 4u2, Libtool is putting the following line in my .la 
> > files.
> >
> > dependency_libs=' -ldl 
> > 
> /amd/packages/mdx/redhat/compilers/gcc-3.4.4-2/bin/../lib/gcc/i386-red
> > hat-li
> > nux/3.4.4//libstdc++.la
> > 
> -L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-lin
> ux/i386-redhat
> > -linux/libstdc++-v3/src
> > 
> -L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-lin
> ux/i386-redhat
> > -linux/libstdc++-v3/src/.libs
> > 
> -L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-linux/gcc '
> >
> > Everything after '-ldl' does not exist in RHAS 4u2 (at least on the 
> > system I am using).  So where is Libtool getting all this 
> stuff from 
> > and why is it putting it in there if none of it exists?  
> And is there 
> > a way to make it look like this (without manually editing the file)?
> >
> > dependency_libs=' -ldl -lstdc++ '
> 
> ======================================
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us, 
> http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]