Subject: toolchain/18166: crunchgen problem on mipsel (cross) toolchain
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/04/2002 16:38:31
>Number:         18166
>Category:       toolchain
>Synopsis:       crunchgen problem on mipsel (cross) toolchain
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 04 07:39:00 PDT 2002
>Originator:     Matthias Drochner
>Release:        NetBSD 1.6G
	KFA Juelich
System: NetBSD zelz26 1.6G NetBSD 1.6G (ZELZ26) #325: Sat Aug 31 18:50:59 MEST 2002 drochner@zelz26:/home/drochner/netbsd/sys/arch/i386/compile/ZELZ26 i386
Architecture: i386
Machine: i386
	trying to cross-build a pmax distribution on i386, I get
the following error:

dependall ===> rescue
RESCUEDIR=/rescue /usr/tools-pmax-current/bin/nbmake -j 1 -f all
/usr/tools-pmax-current/bin/mipsel--netbsd-gcc  -static -o rescue -nostdlib  
troot/usr/lib/crt0.o /altroot/usr/lib/crtbegin.o rescue.o cat.cro chio.cro
/usr/tools-pmax-current/mipsel--netbsd/bin/ld: cat.cro: CALL16 reloc at 0x1c 
 against global symbol
cat.cro: could not read symbols: Bad value
collect2: ld returned 1 exit status
*** [rescue] Error code 1

	./ -D /somewhere -d -m pmax
(on an i386 host)