Subject: Re: X-build sparc64 => prep fails with "cc1 got fatal signal 11"
To: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
From: Andrey Petrov <petrov@netbsd.org>
List: tech-toolchain
Date: 05/12/2003 19:47:12
On Mon, May 12, 2003 at 08:50:16PM +0200, Jochen Kunz wrote:
> Hi.
> 
> I am on the way preparing a Sun Ultra 5 as cross compile host for a
> powerpc target.
> 
> $ uname -a 
> NetBSD Zimbo 1.6R NetBSD 1.6R (GENERIC) #0: Thu May  8 14:53:32 CEST
> 2003  jkunz@zerberus:/usr/src/src-current/objdir-sparc64/sys/arch/sparc64/compile/GENERIC
> sparc64
> 
> When I try to build the 1.6R source with target prep I get: 
> 
> $ head -1 build-prep.log                                       
> ===> build.sh command: ./build.sh -m prep -D
> /usr/src/src-current/destdir-prep -O /usr/src/src-current/objdir-prep -U
> tools kernel=GENERIC
> 
> $ tail -9 build-prep.log | head -2 
> /usr/src/src-current/objdir-prep/tools/tools.NetBSD-1.6R-sparc64/bin/powerpc--netbsd-gcc
>  -msoft-float  -ffreestanding  -O2 -Wreturn-type -Werror -Wall -Wno-main
> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized  -Dprep -I. 
> -I/usr/src/src-current/src/sys/arch -I/usr/src/src-current/src/sys
> -nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
> /usr/src/src-current/src/sys/netatalk/aarp.c
> powerpc--netbsd-gcc: Internal compiler error: program cc1 got fatal
> signal 11
> 
> This is reproducable with
> $ head -1 build-prep_2.log                                     
> ===> build.sh command: ./build.sh -m prep -D
> /usr/src/src-current/destdir-prep -O /usr/src/src-current/objdir-prep -U
> kernel=GENERIC
> and fails every time at the same point.
> 
> Should we / I worry about this? 

Most likely that's compiler. I suspect that you can live with this particular
problem:-). I'd try gcc3.3 and filed PR with GCC people if it still failing.

	Andrey