[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gcc 3.2 64-bit mode on Sparc?



On Tue, Sep 10, 2002 at 09:20:42AM -0500, Roy Bixler wrote:
> On Mon, Sep 09, 2002 at 10:41:18PM -0400, Ben Collins wrote:
> > 64bit itself is not broken on Debian. The part that we have trouble with
> > is very fine grained. Dpkg selects architecture based on gcc's target.
> > For us, even on sparc64, that is "sparc-linux".
> > 
> > However, if we want to enable 64bit support, we have to use (by default)
> > "sparc64-linux". We can't have that. So I have a patch (from 2.95.x)
> > that enabled this.
> > 
> > Matthias, I'll get this tonight. I now have an extra ultrasparc to do
> > glibc/gcc testing on.
> 
> Thanks for piping up.  After Mathias' message, I downloaded the
> gcc-3.2 source code from ftp.debian.org, unpacked it and applied the
> Debian patch.  After building it, I could verify that it only builds
> the 32-bit version.  I then cleaned out the build and did my own
> './configure sparc64-linux' in the GCC source directory and built
> again.  This time, it builds a version that accepts both -m64 and
> -m32.  Perhaps your patch makes sure that -m32 is default?  Anyway,
> just wanted to verify your observations.

I have this compiling correctly now. Once I get it so that the packages
build correctly (IOW, including the 64bit libs), I'll commit my changes
to the gcc-3.2 Debian CVS.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/



Reply to: