Subject: Re: what went wrong with the last mknative run
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: James Chacon <jmc@NetBSD.org>
List: tech-toolchain
Date: 05/18/2005 17:32:02
On Wed, May 18, 2005 at 09:14:31PM +0200, Matthias Drochner wrote:
> 
> It seems that the last run of mknative (fallout of wchar changes) has
> broken at least some 64-bit archs.
> It seems also that not everything is optimal in that area.
> 
> There is PR toolchain/30251; I could easily reproduce it and
> found that it is caused by a change to
> usr.bin/gcc3/arch/x86_64/auto-host.h. The ICE was triggered by
> the RO_RW_SECTION_MIXING thing, but the other changes look
> harmful too.
> 
> So I've run mknative _really_ natively on some archs. The
> diffs to -current are appended.
> There are simililarily worrying changes on alpha; besides
> that there is the STACK_DIRECTION thing which looks like a
> matter of optimization, and the WCHAR changes which are
> not self-consistent appearently.
> (The WCSFTIME diff on mipsel is probably nonsense; I didn't
> update its userland for a while.)
> 
> Another finding: gnu/lib/libobjc3/defs.mk is not really MI;
> on alpha it contains the -mieee compiler flag. (Not in the
> diffs because it got overwritten.)

Looking on the current build running on the build boxen I only saw amd64
broke (alpha worked). I think amd64 would work with the options except that
syntax is triggering the ICE in the compiler. It may just be right now that
we need to special case amd64 until we get to gcc4 and can test again there.

Also, would be nice to know when mknative is running, which objdump it's
using as thats where it's making choices regarding things like 
HAVE_LD_RO_RW_SECTION_MIXING.

James



> 
> 

Content-Description: mknative.diffs
> Index: lib/libstdc++-v3/arch/alpha/c++config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/alpha/c++config.h,v
> retrieving revision 1.6
> diff -u -r1.6 c++config.h
> --- lib/libstdc++-v3/arch/alpha/c++config.h	31 Mar 2005 03:17:02 -0000	1.6
> +++ lib/libstdc++-v3/arch/alpha/c++config.h	18 May 2005 18:28:08 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  // Predefined symbols and macros -*- C++ -*-
>  
> @@ -117,7 +117,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> Index: lib/libstdc++-v3/arch/alpha/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/alpha/config.h,v
> retrieving revision 1.5
> diff -u -r1.5 config.h
> --- lib/libstdc++-v3/arch/alpha/config.h	31 Mar 2005 03:17:02 -0000	1.5
> +++ lib/libstdc++-v3/arch/alpha/config.h	18 May 2005 18:28:08 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.h.in.  Generated automatically from configure.in by autoheader.  */
> @@ -17,7 +17,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> Index: lib/libstdc++-v3/arch/i386/c++config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/i386/c++config.h,v
> retrieving revision 1.7
> diff -u -r1.7 c++config.h
> --- lib/libstdc++-v3/arch/i386/c++config.h	30 Mar 2005 19:17:45 -0000	1.7
> +++ lib/libstdc++-v3/arch/i386/c++config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  // Predefined symbols and macros -*- C++ -*-
>  
> @@ -117,7 +117,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> Index: lib/libstdc++-v3/arch/i386/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/i386/config.h,v
> retrieving revision 1.5
> diff -u -r1.5 config.h
> --- lib/libstdc++-v3/arch/i386/config.h	30 Mar 2005 19:17:45 -0000	1.5
> +++ lib/libstdc++-v3/arch/i386/config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.h.in.  Generated automatically from configure.in by autoheader.  */
> @@ -17,7 +17,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> Index: lib/libstdc++-v3/arch/mipsel/c++config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/mipsel/c++config.h,v
> retrieving revision 1.6
> diff -u -r1.6 c++config.h
> --- lib/libstdc++-v3/arch/mipsel/c++config.h	31 Mar 2005 03:17:03 -0000	1.6
> +++ lib/libstdc++-v3/arch/mipsel/c++config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  // Predefined symbols and macros -*- C++ -*-
>  
> @@ -117,7 +117,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> @@ -749,7 +749,7 @@
>  #define _GLIBCPP_HAVE_WCSCSPN 1
>  
>  /* Define if you have the wcsftime function.  */
> -#define _GLIBCPP_HAVE_WCSFTIME 1
> +/* #undef _GLIBCPP_HAVE_WCSFTIME */
>  
>  /* Define if you have the wcslen function.  */
>  #define _GLIBCPP_HAVE_WCSLEN 1
> Index: lib/libstdc++-v3/arch/mipsel/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/mipsel/config.h,v
> retrieving revision 1.4
> diff -u -r1.4 config.h
> --- lib/libstdc++-v3/arch/mipsel/config.h	31 Mar 2005 03:17:03 -0000	1.4
> +++ lib/libstdc++-v3/arch/mipsel/config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.h.in.  Generated automatically from configure.in by autoheader.  */
> @@ -17,7 +17,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> @@ -649,7 +649,7 @@
>  #define HAVE_WCSCSPN 1
>  
>  /* Define if you have the wcsftime function.  */
> -#define HAVE_WCSFTIME 1
> +/* #undef HAVE_WCSFTIME */
>  
>  /* Define if you have the wcslen function.  */
>  #define HAVE_WCSLEN 1
> Index: lib/libstdc++-v3/arch/x86_64/c++config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/x86_64/c++config.h,v
> retrieving revision 1.5
> diff -u -r1.5 c++config.h
> --- lib/libstdc++-v3/arch/x86_64/c++config.h	31 Mar 2005 03:17:04 -0000	1.5
> +++ lib/libstdc++-v3/arch/x86_64/c++config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  // Predefined symbols and macros -*- C++ -*-
>  
> @@ -117,7 +117,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> Index: lib/libstdc++-v3/arch/x86_64/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/lib/libstdc++-v3/arch/x86_64/config.h,v
> retrieving revision 1.4
> diff -u -r1.4 config.h
> --- lib/libstdc++-v3/arch/x86_64/config.h	31 Mar 2005 03:17:04 -0000	1.4
> +++ lib/libstdc++-v3/arch/x86_64/config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.12 2004/02/10 09:37:58 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.h.in.  Generated automatically from configure.in by autoheader.  */
> @@ -17,7 +17,7 @@
>  /* #undef _GLIBCPP_USE_C99 */
>  
>  // Define if code specialized for wchar_t should be used.
> -#define _GLIBCPP_USE_WCHAR_T 1
> +/* #undef _GLIBCPP_USE_WCHAR_T */
>  
>  // Define if using setrlimit to limit memory usage during 'make check'.
>  /* #undef _GLIBCPP_MEM_LIMITS */
> Index: usr.bin/gcc3/arch/alpha/auto-host.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/arch/alpha/auto-host.h,v
> retrieving revision 1.3
> diff -u -r1.3 auto-host.h
> --- usr.bin/gcc3/arch/alpha/auto-host.h	16 May 2005 11:16:19 -0000	1.3
> +++ usr.bin/gcc3/arch/alpha/auto-host.h	18 May 2005 18:28:09 -0000
> @@ -557,7 +557,7 @@
>  
>  /* Define if your assembler supports .subsection and .subsection -1 starts
>     emitting at the beginning of your section. */
> -/* #undef HAVE_GAS_SUBSECTION_ORDERING */
> +#define HAVE_GAS_SUBSECTION_ORDERING 1
>  
>  /* Define if your assembler supports .weak. */
>  #define HAVE_GAS_WEAK 1
> @@ -569,7 +569,7 @@
>  #define HAVE_AS_LEB128 1
>  
>  /* Define if your assembler mis-optimizes .eh_frame data. */
> -#define USE_AS_TRADITIONAL_FORMAT 1
> +/* #undef USE_AS_TRADITIONAL_FORMAT */
>  
>  /* Define if your assembler supports marking sections with SHF_MERGE flag. */
>  #define HAVE_GAS_SHF_MERGE 1
> @@ -616,7 +616,7 @@
>  
>  /* Define if your linker links a mix of read-only
>     and read-write sections into a read-write section. */
> -/* #undef HAVE_LD_RO_RW_SECTION_MIXING */
> +#define HAVE_LD_RO_RW_SECTION_MIXING 1
>  
>  /* Define if your linker supports --eh-frame-hdr option. */
>  #define HAVE_LD_EH_FRAME_HDR 1
> Index: usr.bin/gcc3/arch/alpha/configargs.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/arch/alpha/configargs.h,v
> retrieving revision 1.7
> diff -u -r1.7 configargs.h
> --- usr.bin/gcc3/arch/alpha/configargs.h	16 May 2005 11:16:19 -0000	1.7
> +++ usr.bin/gcc3/arch/alpha/configargs.h	18 May 2005 18:28:09 -0000
> @@ -2,5 +2,5 @@
>  /* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* Generated automatically. */
> -static const char configuration_arguments[] = "/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=alpha--netbsd --target=alpha--netbsd";
> +static const char configuration_arguments[] = "/usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=alpha-unknown-netbsd3.99.2 --host=alpha--netbsd --target=alpha--netbsd";
>  static const char thread_model[] = "posix";
> Index: usr.bin/gcc3/arch/i386/configargs.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/arch/i386/configargs.h,v
> retrieving revision 1.9
> diff -u -r1.9 configargs.h
> --- usr.bin/gcc3/arch/i386/configargs.h	16 May 2005 11:16:19 -0000	1.9
> +++ usr.bin/gcc3/arch/i386/configargs.h	18 May 2005 18:28:09 -0000
> @@ -2,5 +2,5 @@
>  /* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* Generated automatically. */
> -static const char configuration_arguments[] = "/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf";
> +static const char configuration_arguments[] = "/usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf3.99.3 --host=i386--netbsdelf --target=i386--netbsdelf";
>  static const char thread_model[] = "posix";
> Index: usr.bin/gcc3/arch/mipsel/configargs.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/arch/mipsel/configargs.h,v
> retrieving revision 1.6
> diff -u -r1.6 configargs.h
> --- usr.bin/gcc3/arch/mipsel/configargs.h	16 May 2005 11:16:19 -0000	1.6
> +++ usr.bin/gcc3/arch/mipsel/configargs.h	18 May 2005 18:28:09 -0000
> @@ -2,5 +2,5 @@
>  /* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* Generated automatically. */
> -static const char configuration_arguments[] = "/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=mipsel--netbsd --target=mipsel--netbsd";
> +static const char configuration_arguments[] = "/usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=mipsel-unknown-netbsd2.99.14 --host=mipsel--netbsd --target=mipsel--netbsd";
>  static const char thread_model[] = "posix";
> Index: usr.bin/gcc3/arch/x86_64/auto-host.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/arch/x86_64/auto-host.h,v
> retrieving revision 1.3
> diff -u -r1.3 auto-host.h
> --- usr.bin/gcc3/arch/x86_64/auto-host.h	16 May 2005 11:16:19 -0000	1.3
> +++ usr.bin/gcc3/arch/x86_64/auto-host.h	18 May 2005 18:28:09 -0000
> @@ -557,7 +557,7 @@
>  
>  /* Define if your assembler supports .subsection and .subsection -1 starts
>     emitting at the beginning of your section. */
> -/* #undef HAVE_GAS_SUBSECTION_ORDERING */
> +#define HAVE_GAS_SUBSECTION_ORDERING 1
>  
>  /* Define if your assembler supports .weak. */
>  #define HAVE_GAS_WEAK 1
> @@ -569,7 +569,7 @@
>  #define HAVE_AS_LEB128 1
>  
>  /* Define if your assembler mis-optimizes .eh_frame data. */
> -#define USE_AS_TRADITIONAL_FORMAT 1
> +/* #undef USE_AS_TRADITIONAL_FORMAT */
>  
>  /* Define if your assembler supports marking sections with SHF_MERGE flag. */
>  #define HAVE_GAS_SHF_MERGE 1
> @@ -616,7 +616,7 @@
>  
>  /* Define if your linker links a mix of read-only
>     and read-write sections into a read-write section. */
> -/* #undef HAVE_LD_RO_RW_SECTION_MIXING */
> +#define HAVE_LD_RO_RW_SECTION_MIXING 1
>  
>  /* Define if your linker supports --eh-frame-hdr option. */
>  #define HAVE_LD_EH_FRAME_HDR 1
> Index: usr.bin/gcc3/arch/x86_64/configargs.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/arch/x86_64/configargs.h,v
> retrieving revision 1.5
> diff -u -r1.5 configargs.h
> --- usr.bin/gcc3/arch/x86_64/configargs.h	16 May 2005 11:16:19 -0000	1.5
> +++ usr.bin/gcc3/arch/x86_64/configargs.h	18 May 2005 18:28:09 -0000
> @@ -2,5 +2,5 @@
>  /* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* Generated automatically. */
> -static const char configuration_arguments[] = "/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=x86_64--netbsd --target=x86_64--netbsd";
> +static const char configuration_arguments[] = "/usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd3.99.3 --host=x86_64--netbsd --target=x86_64--netbsd : (reconfigured) /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd3.99.3 --host=x86_64--netbsd --target=x86_64--netbsd : (reconfigured) /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd3.99.3 --host=x86_64--netbsd --target=x86_64--netbsd : (reconfigured) /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd3.99.3 --host=x86_64--netbsd --target=x86_64--netbsd";
>  static const char thread_model[] = "posix";
> Index: usr.bin/gcc3/libiberty/arch/alpha/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/libiberty/arch/alpha/config.h,v
> retrieving revision 1.2
> diff -u -r1.2 config.h
> --- usr.bin/gcc3/libiberty/arch/alpha/config.h	11 Feb 2004 04:04:03 -0000	1.2
> +++ usr.bin/gcc3/libiberty/arch/alpha/config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.in.  Generated automatically from configure.in by autoheader 2.13.  */
> @@ -308,7 +308,7 @@
>          STACK_DIRECTION > 0 => grows toward higher addresses
>          STACK_DIRECTION < 0 => grows toward lower addresses
>          STACK_DIRECTION = 0 => direction of growth unknown */
> -#define STACK_DIRECTION 0
> +#define STACK_DIRECTION -1
>  
>  /* Define if you have the _system_configuration variable. */
>  /* #undef HAVE__SYSTEM_CONFIGURATION */
> Index: usr.bin/gcc3/libiberty/arch/mipsel/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/libiberty/arch/mipsel/config.h,v
> retrieving revision 1.2
> diff -u -r1.2 config.h
> --- usr.bin/gcc3/libiberty/arch/mipsel/config.h	11 Feb 2004 04:04:03 -0000	1.2
> +++ usr.bin/gcc3/libiberty/arch/mipsel/config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.in.  Generated automatically from configure.in by autoheader 2.13.  */
> @@ -308,7 +308,7 @@
>          STACK_DIRECTION > 0 => grows toward higher addresses
>          STACK_DIRECTION < 0 => grows toward lower addresses
>          STACK_DIRECTION = 0 => direction of growth unknown */
> -#define STACK_DIRECTION 0
> +#define STACK_DIRECTION -1
>  
>  /* Define if you have the _system_configuration variable. */
>  /* #undef HAVE__SYSTEM_CONFIGURATION */
> Index: usr.bin/gcc3/libiberty/arch/x86_64/config.h
> ===================================================================
> RCS file: /cvsroot/src/gnu/usr.bin/gcc3/libiberty/arch/x86_64/config.h,v
> retrieving revision 1.2
> diff -u -r1.2 config.h
> --- usr.bin/gcc3/libiberty/arch/x86_64/config.h	11 Feb 2004 04:04:03 -0000	1.2
> +++ usr.bin/gcc3/libiberty/arch/x86_64/config.h	18 May 2005 18:28:09 -0000
> @@ -1,5 +1,5 @@
>  /* This file is automatically generated.  DO NOT EDIT! */
> -/* Generated from: 	NetBSD: mknative-gcc,v 1.11 2004/01/02 11:58:32 skrll Exp  */
> +/* Generated from: 	NetBSD: mknative-gcc,v 1.15 2004/12/10 13:58:11 mrg Exp  */
>  
>  /* config.h.  Generated automatically by configure.  */
>  /* config.in.  Generated automatically from configure.in by autoheader 2.13.  */
> @@ -308,7 +308,7 @@
>          STACK_DIRECTION > 0 => grows toward higher addresses
>          STACK_DIRECTION < 0 => grows toward lower addresses
>          STACK_DIRECTION = 0 => direction of growth unknown */
> -#define STACK_DIRECTION 0
> +#define STACK_DIRECTION -1
>  
>  /* Define if you have the _system_configuration variable. */
>  /* #undef HAVE__SYSTEM_CONFIGURATION */