[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Don't discard -lgcc from `-lgcc -c -lgcc'
From: |
Alexandre Oliva |
Subject: |
Re: Don't discard -lgcc from `-lgcc -c -lgcc' |
Date: |
10 Apr 2001 17:27:07 -0300 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
On Apr 10, 2001, "Gary V. Vaughan" <address@hidden> wrote:
> On Monday 09 April 2001 7:27 pm, Alexandre Oliva wrote:
>> Unfortunately, it doesn't catch the common case of the
>> libraries implicitly linked in by GCC, which affects our ability to
>> create correct C++ shared libraries with g++.
> I don't see how removing some duplicated libraries will change the
> ability of libtool to link g++ libraries. Sure we have some
> problems with implicit libs when linking using ld, but I thought
> this problem was addressed by MLB?
That's precisely the problem: in MLB, we explicitly link in the
libraries gcc would have implicitly linked in, but, without my patch,
duplicate library removal would turn `-lgcc -lc -lgcc' into `-lc
-lgcc'. This is wrong in case libgcc overrides symbols from libc.
This was how the problem was first noticed.
>> Fixed as follows. Ok to install?
> Great! Please go right ahead =)O|
Thanks, I'll check it in later tonight, when my end of the network is
not as congested.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me