OpenJDK zero on sparc linux
gbenson at redhat.com
Fri Apr 4 02:44:05 PDT 2008
Andrew Haley wrote:
> Gary Benson wrote:
> > The real error is above this one -- it failed to build libjvm.so
> > with a load of "relocation truncated to fit" errors. If you look
> > in openjdk-ecj/hotspot/build/linux/makefiles/gcc.make you'll see
> > a bit like this:
> > # position-independent code
> > ifneq ($(filter ppc ppc64,$(ZERO_LIBARCH)),)
> > PICFLAG = -fPIC
> > else
> > PICFLAG = -fpic
> > endif
> > Add "sparc" to that list, then
> > rm -Rf openjdk-ecj/control/build/linux-*/hotspot to clear out the
> > broken files, then try again. If that works I'll commit a fix.
> I think for a program of this size you'll probably want "big PIC"
> (-fPIC) everywhere.
Really? I only touched the platforms I saw failures on, didn't want
to mess with anything else.
More information about the distro-pkg-dev