Subject: crunchgen problem on mipsel (cross) toolchain
To: None <tech-toolchain@netbsd.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-toolchain
Date: 09/04/2002 13:17:46
Hi -
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

So we have a toolchain problem.

Is there a quick fix? Otherwise we'd have to skip src/rescue on mips.

best regards
Matthias