OpenJDK zero on sparc linux

seb at frankengul.org seb at frankengul.org
Mon Apr 7 07:23:25 PDT 2008


On Mon, Apr 07, 2008 at 02:46:59PM +0100, Gary Benson wrote:
> That's the bit I wanted.  I just committed a fix that should make it
> correctly build libraries for both.

Could you just explain the multilib bug ?

> 
> > I saw a lot of `uname -m` in the Makefiles.
> > It would be much easier to get the ARCH once and for all in the
> > configure script.
> 
> Yes.  Zero pretty much does this.
> 
> > > > I tried to build the jdk on hppa too and it fails miserable for
> > > > the same reason than sparc (uname -m gives hppa64, but userland
> > > > is 32bit).
> > > 
> > > Hmmm, that sounds broken.  Can you post the output from ./configure
> > > for that one?
> > 
> > The plain output of configure ?
> > I'm joining the output.
> > It says everithing is ok but the zero_platform is set to 
> > Makefile:ZERO_ARCHDEF = PARISC64
> 
> Hmmm, I don't understand this, if "uname -m" says hppa64 then
> ZERO_ARCHDEF should be HPPA64.  Where did the parisc64 come from?
> Either way it detected it as a 32-bit platform.

Oops, my mistake.
uname -m gives parisc64
uname -a gives Linux hpnux 2.6.24-1-parisc64 #2 Mon Feb 11 14:10:01 MST 2008 parisc64 GNU/Linux
The trigram for this architecture is  hppa-linux-gnu since there is no 64bit userland.

> 
> > Unfortunately, I'm unable to trick the build into using gcc-4.1
> > instead of gcc.  Even passing gcc-4.1 as CC works with the configure
> > script but is ignored when building the interpreter.
> 
> Probably some extra variable needs passing through in ICEDTEA_ENV and
> ICEDTEA_ENV_ECJ.
> 
> Cheers,
> Gary
> 
> -- 
> http://gbenson.net/



More information about the distro-pkg-dev mailing list