Subject: Re: CVS commit: syssrc/sys/arch/powerpc/include
To: Matt Thomas <matt@3am-software.com>
From: Tsubai Masanari <tsubai@iri.co.jp>
List: tech-toolchain
Date: 08/07/2002 18:15:02
>It may be intention but it's wrong.  It's incompatible with the
>GCC 3.* definition of va_list so that if you try to build GCC 3.*
>for powerpc, it fails in libgcc building rtl.c.

But your version is incompatible with our <= 2.95 version and other
NetBSD ports (and even it doesn't compile).  You should fix gcc instead.
I always use gcc 3.x to compile whole NetBSD tree on powerpc rather
than buggy 2.95.3.

diff -5Ncdr gcc-3.1.1/gcc/config/rs6000/t-netbsd gcc-3.1.1/gcc/config/rs6000/t-netbsd
*** gcc-3.1.1/gcc/config/rs6000/t-netbsd	Thu Jan  1 09:00:00 1970
--- gcc-3.1.1/gcc/config/rs6000/t-netbsd	Sat Jul 27 17:11:14 2002
***************
*** 0 ****
--- 1,2 ----
+ EXTRA_MULTILIB_PARTS=
+ USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS)
diff -5Ncdr gcc-3.1.1/gcc/config.gcc gcc-3.1.1/gcc/config.gcc
*** gcc-3.1.1/gcc/config.gcc	Sat Jun  8 08:35:31 2002
--- gcc-3.1.1/gcc/config.gcc	Sat Jul 27 17:01:47 2002
***************
*** 2803,2813 ****
  	xm_defines=POSIX
  	tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
  	;;
  powerpc-*-netbsd*)
  	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
! 	tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
  	;;
  powerpc-*-chorusos*)
  	xm_defines=POSIX
  	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h"
  	tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
--- 2803,2813 ----
  	xm_defines=POSIX
  	tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
  	;;
  powerpc-*-netbsd*)
  	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"
! 	tmake_file="rs6000/t-ppcos rs6000/t-ppccomm rs6000/t-netbsd"
  	;;
  powerpc-*-chorusos*)
  	xm_defines=POSIX
  	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h"
  	tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"