OpenJDK zero on sparc linux

Gary Benson gbenson at redhat.com
Mon Apr 7 06:46:59 PDT 2008


seb at frankengul.org wrote:
> Can you elaborate ?
> uname -m says sparc64
> sparc32 uname -m  says sparc

That's the bit I wanted.  I just committed a fix that should make it
correctly build libraries for both.

> 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.

> 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