Subject: Re: [reinoud@netbsd.org: CVS commit: gnusrc/gnu/usr.bin/gcc/arch/arm]
To: None <port-arm@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-arm
Date: 01/30/2002 11:13:30
On Wed, Jan 30, 2002 at 06:25:39PM +0100, Reinoud Zandijk wrote:

 > The fix however works fine as far as i can see for the behavoir of PR 15303 
 > is not present anymore.

This change is incredibly bogus.

 > 
 > The patch itself is pretty simple :
 > -------------------------
 > Index: gnusrc/gnu/usr.bin/gcc/arch/arm/auto-host.h
 > diff -u gnusrc/gnu/usr.bin/gcc/arch/arm/auto-host.h:1.3 
 > gnusrc/gnu/usr.bin/gcc/arch/arm/auto-host.h:1.4
 > --- gnusrc/gnu/usr.bin/gcc/arch/arm/auto-host.h:1.3     Sun Aug 19 20:48:51 
 > 2001
 > +++ gnusrc/gnu/usr.bin/gcc/arch/arm/auto-host.h Wed Jan 30 19:11:44 2002
 > @@ -169,6 +169,7 @@
 >  /* #undef inline */
 >  
 >  /* Define to `long' if <sys/types.h> doesn't define.  */
 > +#define off_t int32_t
 >  /* #undef off_t */
 >  
 >  /* Define to `int' if <sys/types.h> doesn't define.  */
 > -------------------------
 > 
 > Cheers,
 > Reinoud
 > 
 > 
 > ----- Forwarded message from Reinoud Zandijk <reinoud@netbsd.org> -----
 > 
 > Delivered-To: imago@kabel208245.kabel.utwente.nl
 > Delivered-To: reinoud@netbsd.org
 > Delivered-To: source-changes@netbsd.org
 > From: Reinoud Zandijk <reinoud@netbsd.org>
 > Subject: CVS commit: gnusrc/gnu/usr.bin/gcc/arch/arm
 > To: source-changes@netbsd.org
 > Reply-To: reinoud@netbsd.org
 > Date: Wed, 30 Jan 2002 19:11:45 +0200 (EET)
 > Precedence: list
 > 
 > 
 > Module Name:	gnusrc
 > Committed By:	reinoud
 > Date:		Wed Jan 30 17:11:45 UTC 2002
 > 
 > Modified Files:
 > 	gnusrc/gnu/usr.bin/gcc/arch/arm: auto-host.h
 > 
 > Log Message:
 > The config file mentiones that if off_t isnt defined its defined in gcc as
 > `long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
 > machines giving rise to cross compiling errors.
 > 
 > By explicitly setting it to int32_t its forced to use signed 32 bits
 > integers as required and expected on the ILP32 ARM processor.
 > 
 > This aparently fixes PR 15303
 > 
 > 
 > To generate a diff of this commit:
 > cvs rdiff -r1.3 -r1.4 gnusrc/gnu/usr.bin/gcc/arch/arm/auto-host.h
 > 
 > Please note that diffs are not public domain; they are subject to the
 > copyright notices on the relevant files.
 > 
 > ----- End forwarded message -----

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>