This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 2002-04-28's 3.1 branch's libjava won't build onGNU/Linux/sparc
From: Alexandre Oliva <aoliva@redhat.com>
Date: 01 May 2002 01:38:05 -0300
On May 1, 2002, "David S. Miller" <davem@redhat.com> wrote:
> Turns out there is nothing for me to fix, GLIBC-2.2.4 or later
> is actually required for this platform for other reasons
> (unaligned relocations not handled properly by ld.so)
Huh? It bootstrapped just fine just a few weeks ago. This sounds
like a regression to me.
What if I wanted to do only static linking? libjava would still be
useful. The way it is now, I can't even build it, because it won't
bootstrap.
It is an installation requirement, that is why it is listed in the
documentation. Binutils will often be able to optimize the unaligned
relocations to be aligned, but it is not guarenteed to do so.
We simply can't support glibc versions without the dynamic linker
fix for unaligned relocations.
It is possible that the current GLIBC errata for 6.2 Sparc has this
ld.so fix, and if you can determine that this is the case, I will
reopen this bug.