Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 15:59:57 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        freebsd-toolchain@freebsd.org
Subject:   gcc failing for mips cross-compile
Message-ID:  <CALCpEUGanJQkcZZcU%2BG7nChfS-j-zZDKgPZJDkpMbUWtH7Emrw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUGanJQkcZZcU%2BG7nChfS-j-zZDKgPZJDkpMbUWtH7Emrw>