[icedtea zero] enable 32bit builds for powerpc

Gary Benson gbenson at redhat.com
Mon Jul 21 04:30:26 PDT 2008


Andrew Haley wrote:
> Gary Benson wrote:
> > Christian Thalinger wrote:
> > > On Sun, 2008-07-20 at 17:01 +0200, Matthias Klose wrote:
> > > > diff -r 2f1e7255ab4d acinclude.m4
> > > > --- a/acinclude.m4	Wed Jul 16 10:10:45 2008 -0400
> > > > +++ b/acinclude.m4	Sun Jul 20 17:04:30 2008 +0200
> > > > @@ -16,6 +16,16 @@ AC_DEFUN([SET_ARCH_DIRS],
> > > >        INSTALL_ARCH_DIR=arm
> > > >        JRE_ARCH_DIR=arm
> > > >        ;;
> > > > +    powerpc-*-*)
> > > > +      BUILD_ARCH_DIR=ppc
> > > > +      INSTALL_ARCH_DIR=ppc
> > > > +      JRE_ARCH_DIR=ppc
> > > > +       ;;
> > > > +    powerpc64-*-*)
> > > > +      BUILD_ARCH_DIR=ppc64
> > > > +      INSTALL_ARCH_DIR=ppc64
> > > > +      JRE_ARCH_DIR=ppc64
> > > > +       ;;
> > > >      sparc64-*-*)
> > > >        BUILD_ARCH_DIR=sparcv9
> > > >        INSTALL_ARCH_DIR=sparcv9
> > > 
> > > Hmm, I don't understand why we need this one.  The default case
> > > uses `uname -m` and this should be "ppc" on 32-bit, no?
> > 
> > Yeah, what does this do that the default case doesn't?
> 
> On many Linux PPC boxes the kernel is 64-bit but userspace libraries
> are all installed as 32-bit.  This is because 32-bit is usually much
> faster than 64-bit.  We need to allow for this situation.

And does ./configure actually detect this?

Cheers,
Gary

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list