Subject: toolchain/18166: crunchgen problem on mipsel (cross) toolchain
To: None <gnats-bugs@gnats.netbsd.org>
From: None <M.Drochner@fz-juelich.de>
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
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Drochner
>Release:        NetBSD 1.6G
>Organization:
	KFA Juelich
>Environment:
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
>Description:
	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 rescue.mk all
/usr/tools-pmax-current/bin/mipsel--netbsd-gcc  -static -o rescue -nostdlib  
/al
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 
not
 against global symbol
cat.cro: could not read symbols: Bad value
collect2: ld returned 1 exit status
*** [rescue] Error code 1

>How-To-Repeat:
	./build.sh -D /somewhere -d -m pmax
(on an i386 host)
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: