Subject: Re: crunchgen problem on mipsel (cross) toolchain
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-toolchain
Date: 09/04/2002 22:08:41
On Wed, Sep 04, 2002 at 01:17:46PM +0200, Matthias Drochner wrote:
  | 
  | 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.

it's a toolchain problem...

"send a PR", to remind those who have the clue to fix it to do so ;-)