libtool
[Top][All Lists]
Advanced

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

Re: Mysterious Dependencies


From: Ralf Wildenhues
Subject: Re: Mysterious Dependencies
Date: Wed, 25 Jan 2006 08:46:27 +0100
User-agent: Mutt/1.5.11

* Bob Friesenhahn wrote on Wed, Jan 25, 2006 at 02:51:24AM CET:
> On Tue, 24 Jan 2006, Eric Lemings wrote:
> >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-redhat-li
> >nux/3.4.4//libstdc++.la
> >-L/usr/src/redhat/BUILD/gcc-3.4.4-20050721/obj-i386-redhat-linux/i386-redhat
> >-linux/libstdc++-v3/src
*snip*
> >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++ '
>
> 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.

This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5291
I even posted a patch to work around this -- no reaction so far, not
even criticism (which I'd like to see in order to make a better patch).

Please followup discussion of this bug in the GCC bugzilla, thank you.

Cheers,
Ralf




reply via email to

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