This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: A very "strange" bug in gcc 2.96


On Sun, May 21, 2000 at 01:42:42PM -0700, Ian Lance Taylor wrote:
> It's not broken to build a shared library with an object compiled
> without -fPIC.  It is often a convenience, when a single object is
> used in multiple ways.

There are quite a few places in GCC that we make assumptions about
symbol binding based on the lack of -fpic.  This is merely the first
to be quite so visible on ia32.

> This change will silently break existing code which works today and is
> wholly correct.  If this change is to be turned on by default, it must
> be carefully documented.

It's true that the documentation needs clarifying on this point...



r~

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