Subject: port-hp700/30440: crossbuilding -current hp700 from sparc64 fails in the kernel (nd6.o crashes)
To: None <port-hp700-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@macfinity.net>
List: netbsd-bugs
Date: 06/06/2005 06:25:00
>Number:         30440
>Category:       port-hp700
>Synopsis:       crossbuilding -current hp700 from sparc64 fails in the kernel (nd6.o crashes)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-hp700-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 06 06:25:00 +0000 2005
>Originator:     Timo Schoeler
>Release:        NetBSD-2.0.2-RELEASE
>Organization:
//macfinity
>Environment:
candid: {16} uname -a
NetBSD candid.macfinity.net 2.0.2 NetBSD 2.0.2 (CANDID) #0: Thu Apr 14 13:35:48 CEST 2005  tis@candid.macfinity.net:/usr/obj/sys/arch/sparc64/compile/CANDID sparc64
>Description:
building -current (cvs 2005-05-28) fails at

#   compile  GENERIC/nd6.o
/usr/tools-hp700/bin/hppa--netbsd-gcc -pipe -ffreestanding -pipe -mpa-risc-1-1 -msoft-float -mdisable-fpregs -mno-space-regs -mfast-indirect-calls -mportable-runtime -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dhppa -Dhp700 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DFPEMUL -DLKM -DGSCVERBOSE -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/netinet6/nd6.c
/usr/src/sys/netinet6/nd6.c: In function `nd6_setmtu0':
/usr/src/sys/netinet6/nd6.c:227: error: unrecognizable insn:
(insn 34 33 35 6 0x40d394a0 (set (reg:DI 97)
        (plus:DI (reg:DI 103)
            (const_int -5056 [0xffffffffffffec40]))) -1 (nil)
    (expr_list:REG_DEAD (reg:DI 103)
        (nil)))
/usr/src/sys/netinet6/nd6.c:227: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.

*** Failed target:  nd6.o
*** Failed command: echo '# ' "compile GENERIC/nd6.o"; echo /usr/tools-hp700/bin/hppa--netbsd-gcc -pipe -ffreestanding -pipe -mpa-risc-1-1 -msoft-float -mdisable-fpregs -mno-space-regs -mfast-indirect-calls -mportable-runtime -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dhppa -Dhp700 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DFPEMUL -DLKM -DGSCVERBOSE -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/netinet6/nd6.c; /usr/tools-hp700/bin/hppa--netbsd-gcc -pipe -ffreestanding -pipe -mpa-risc-1-1 -msoft-float -mdisable-fpregs -mno-space-regs -mfast-indirect-calls -mportable-runtime -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Dhppa -Dhp700 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DFPEMUL -DLKM -DGSCVERBOSE -DMAXUSERS=32 -D
 _KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/netinet6/nd6.c
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/sys/arch/hp700/compile/GENERIC

*** Failed target:  kern-GENERIC
*** Failed command: cd /usr/obj/sys/arch/hp700/compile/GENERIC && /usr/tools-hp700/bin/nbmake depend && /usr/tools-hp700/bin/nbmake
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/tools-hp700/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc release INSTALL_DONE=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***
>How-To-Repeat:
check out -current and try building release for hp700.
>Fix:
nope.