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/13/2003 16:48:28
Trying to do the same thing on -current I got it earlier.
Andrey
/work/prep/tools/bin/powerpc--netbsd-gcc -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized -Wreturn-type -Wswitch -Wshadow -Werror -I- -I/work/SA1/src/lib/csu/powerpc -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/work/SA1/src/libexec/ld.elf_so -I/work/SA1/src/lib/csu/powerpc/../common_elf -I/work/SA1/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem /work/prep/root/usr/include -c -DCRT0 /work/SA1/src/lib/csu/powerpc/crt0.c -o crt0.o
In file included from /work/SA1/src/lib/csu/powerpc/crt0.c:111:
/work/SA1/src/lib/csu/powerpc/../common_elf/common.c: In function `_rtld_setup':
/work/SA1/src/lib/csu/powerpc/../common_elf/common.c:75: Could not split insn
(insn:TI 105 14 106 (set (reg:SI 0 r0)
(const_int 3578789888 [0xd5500000])) 423 {movsi+1} (nil)
(nil))
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?
> --
>
>
> tschüß,
> Jochen
>
> Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
>