gcc failing for mips cross-compile

hiren panchasara hiren.panchasara at gmail.com
Wed Sep 25 23:00:00 UTC 2013


Checked out -head at 255871 and did:

sudo make -DNO_CLEAN TARGET=mips TARGET_ARCH=mipseb TARGET_CPUARCH=mips32
toolchain

Which failed in "stage 4.2: building libraries" section at:

In file included from
/usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:34:
./tm.h:5:28: error: mips32/mips32.h: No such file or directory
./tm.h:12:29: error: mips32/freebsd.h: No such file or directory
In file included from
/usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:43:
/usr/home/hirenp/mips_head/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.h:60:
error: 'FIRST_PSEUDO_REGISTER' undeclared here (not in a function)
*** Error code 1

Stop.
make[4]: stopped in /usr/home/hirenp/mips_head/gnu/lib/libgcc
*** Error code 1

Let me know if more info is needed of any sort.
Any help is appreciated.

Cheers,
Hiren


More information about the freebsd-toolchain mailing list