Subject: Re: NetBSD/hp700 has switched to gcc4
To: Nick Hudson <skrll@NetBSD.org>
From: Jaime A Fournier <ober@linbsd.org>
List: port-hp700
Date: 09/22/2006 19:20:19
FYI this is the same error I have seen for months on -current.

dependall ===> lib/csu/hppa
/stuff/rel/hp700/tools/bin/hppa--netbsd-gcc -O2 -fno-unit-at-a-time -fPIC 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow 
-Werror   -I/stuff/src/current/src/lib/csu/hppa -DLIBC_SCCS -DPIC 
-DDYNAMIC -DELFSIZE=32 -I/stuff/src/current/src/libexec/ld.elf_so 
-I/stuff/src/current/src/lib/csu/hppa/../common_elf 
-I/stuff/src/current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE 
-nostdinc -isystem /stuff/rel/hp700/dest/usr/include  -c -DCRT0 
/stuff/src/current/src/lib/csu/hppa/crt0.c -o crt0.o
/stuff/rel/hp700/tools/bin/hppa--netbsd-gcc -O2 -fno-unit-at-a-time -fPIC 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow 
-Werror   -I/stuff/src/current/src/lib/csu/hppa -DLIBC_SCCS -DPIC 
-DDYNAMIC -DELFSIZE=32 -I/stuff/src/current/src/libexec/ld.elf_so 
-I/stuff/src/current/src/lib/csu/hppa/../common_elf 
-I/stuff/src/current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE 
-nostdinc -isystem /stuff/rel/hp700/dest/usr/include  -c 
/stuff/src/current/src/lib/csu/hppa/../common_elf/crti.c -o crti.o
/stuff/rel/hp700/tools/bin/hppa--netbsd-gcc -O2 -fno-unit-at-a-time -fPIC 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow 
-Werror   -I/stuff/src/current/src/lib/csu/hppa -DLIBC_SCCS -DPIC 
-DDYNAMIC -DELFSIZE=32 -I/stuff/src/current/src/libexec/ld.elf_so 
-I/stuff/src/current/src/lib/csu/hppa/../common_elf 
-I/stuff/src/current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE 
-nostdinc -isystem /stuff/rel/hp700/dest/usr/include  -c 
/stuff/src/current/src/lib/csu/hppa/../common_elf/crtn.c -o crtn.o
/stuff/rel/hp700/tools/bin/hppa--netbsd-gcc -O2 -fno-unit-at-a-time -fPIC 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow 
-Werror   -I/stuff/src/current/src/lib/csu/hppa -DLIBC_SCCS -DPIC 
-DDYNAMIC -DELFSIZE=32 -I/stuff/src/current/src/libexec/ld.elf_so 
-I/stuff/src/current/src/lib/csu/hppa/../common_elf 
-I/stuff/src/current/src/lib/libc/dlfcn -DDWARF2_EH -DJCR -DDSO_HANDLE 
-nostdinc -isystem /stuff/rel/hp700/dest/usr/include  -c -DMCRT0 
/stuff/src/current/src/lib/csu/hppa/crt0.c -o gcrt0.o
install ===> lib/csu
install ===> lib/csu/hppa
do-gnu-lib-crtstuff4 ===> .
dependall ===> gnu/lib/crtstuff4
install ===> gnu/lib/crtstuff4
do-gnu-lib-libgcc4 ===> .
dependall ===> gnu/lib/libgcc4
dependall ===> gnu/lib/libgcc4/libgcc
dependall ===> gnu/lib/libgcc4/libgcc_eh
copying /stuff/src/current/src/gnu/dist/gcc4/gcc/config/pa/fptr.c
copying /stuff/src/current/src/gnu/dist/gcc4/gcc/config/pa/fptr.c complete
/stuff/src/current/src/gnu/dist/gcc4/gcc/unwind-dw2.c: In function 
'uw_init_context_1':
/stuff/src/current/src/gnu/dist/gcc4/gcc/unwind-dw2.c:1281: error: 
unrecognizable insn:
(insn 26 25 27 3 (set (reg:SI 118)
         (const_int 3762290690 [0xe0400002])) -1 (nil)
     (nil))
/stuff/src/current/src/gnu/dist/gcc4/gcc/unwind-dw2.c:1281: internal 
compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
--- unwind-dw2.o ---
*** [unwind-dw2.o] Error code 1
1 error

nbmake: stopped in /stuff/src/current/src/gnu/lib/libgcc4/libgcc_eh
--- dependall ---
*** [dependall] Error code 2
1 error

nbmake: stopped in /stuff/src/current/src/gnu/lib/libgcc4/libgcc_eh
--- dependall-libgcc_eh ---
*** [dependall-libgcc_eh] Error code 2
A failure has been detected in another branch of the parallel make

nbmake: stopped in /stuff/src/current/src/gnu/lib/libgcc4/libgcc
--- dependall-libgcc ---
*** [dependall-libgcc] Error code 2
2 errors

nbmake: stopped in /stuff/src/current/src/gnu/lib/libgcc4
--- do-gnu-lib-libgcc4 ---
*** [do-gnu-lib-libgcc4] Error code 2
1 error

nbmake: stopped in /stuff/src/current/src
--- build ---
*** [build] Error code 2
1 error

nbmake: stopped in /stuff/src/current/src
--- distribution ---
*** [distribution] Error code 2
1 error

nbmake: stopped in /stuff/src/current/src
--- release ---
*** [release] Error code 2
1 error

nbmake: stopped in /stuff/src/current/src

ERROR: Failed to make release
*** BUILD ABORTED ***

Cross compiling.

-Ober


On Fri, 22 Sep 2006, Nick Hudson wrote:

> Date: Fri, 22 Sep 2006 14:58:37 +0100
> From: Nick Hudson <skrll@NetBSD.org>
> To: port-hp700@NetBSD.org
> Subject: NetBSD/hp700 has switched to gcc4
> 
> Hi,
>
> I just switched NetBSD/hp700 to use gcc4 by default in -current.
>
> Nick
>