This is the mail archive of the mailing list for the Java project.

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

Re: Java broken after i386 PIC change

On Sun, Jan 21, 2001 at 02:34:56PM -0800, Richard Henderson wrote:
> On Sat, Jan 20, 2001 at 11:35:05PM -0800, Richard Henderson wrote:
> > So it seems likely that there's some linkonce bug in 2.10 that
> > has been fixed since.

More than "likely" I think.  I'm using a unified CVS gcc + CVS binutils
source tree, and the patch below causes serious breakage to anything linked
against libstdc++.  We get a SEGV when exit() calls some of the dtors in
the library.

> > I wonder how hard it would be to detect
> > it at configure time.  Otherwise I've got to figure out some
> > other solution to the original bug.
> I've applied the following until I can figure out what
> to do about detecting this at configure time.

After reverting this patch I can once again run hello-world on i686.

WRT a configure-time check... we (lib-3) had to do something similar for
the compiler itself at one point.  If the date on which the linkonce bug in
ld was fixed can be pinpointed, perhaps a check for a sufficiently recent
version is enough.


pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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