Subject: [ CVS commit: gnusrc/gnu/usr.bin/gcc/arch/arm]
To: None <>
From: Reinoud Zandijk <>
List: port-arm
Date: 01/30/2002 18:25:39
Hello guys,

too late i found out that my patch hereunder is gonna dissapear as soon as 
someone regenerates the config files again ... could someone with more 
toolchain experience fix this in the right way :)

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

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.3     Sun Aug 19 20:48:51 
+++ 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.  */


----- Forwarded message from Reinoud Zandijk <> -----

From: Reinoud Zandijk <>
Subject: CVS commit: gnusrc/gnu/usr.bin/gcc/arch/arm
Date: Wed, 30 Jan 2002 19:11:45 +0200 (EET)

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