Subject: X-build sparc64 => prep fails with "cc1 got fatal signal 11"
To: None <tech-toolchain@netbsd.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: tech-toolchain
Date: 05/12/2003 20:50:16
Hi.

I am on the way preparing a Sun Ultra 5 as cross compile host for a
powerpc target.

$ uname -a=20
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:=20

$ head -1 build-prep.log                                      =20
=3D=3D=3D> build.sh command: ./build.sh -m prep -D
/usr/src/src-current/destdir-prep -O /usr/src/src-current/objdir-prep -U
tools kernel=3DGENERIC

$ tail -9 build-prep.log | head -2=20
/usr/src/src-current/objdir-prep/tools/tools.NetBSD-1.6R-sparc64/bin/powe=
rpc--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.=20
-I/usr/src/src-current/src/sys/arch -I/usr/src/src-current/src/sys
-nostdinc -DLKM -DDIAGNOSTIC -DMAXUSERS=3D32 -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                                    =20
=3D=3D=3D> build.sh command: ./build.sh -m prep -D
/usr/src/src-current/destdir-prep -O /usr/src/src-current/objdir-prep -U
kernel=3DGENERIC
and fails every time at the same point.

Should we / I worry about this?=20
--=20


tsch=FC=DF,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/