On Thu, Mar 06, 2003 at 04:32:02PM +0800, jackson wrote: > I follow rules on http://www.ltc.com/~brad/mips/mips-cross-toolchain/ > to build gnu tool-cahin. > It works pefect for me to build linux/glibc/ulibc, and perform excellent > on my Demo Board. > > However, it report some bug messags as following when I compile a test.c > like: > int test() > { > return 0; > } > > =================== > mips-linux-gcc -c -mips16 -o test test.c > /tmp/ccjnCwV7.s: Assembler messages: > /tmp/ccjnCwV7.s:14: Internal error! > Assertion failure in macro_build_lui at ../../gas/config/tc-mips.c line 3107. > Please report this bug. All userspace with glibc, the standard userspace library environment for Linux, must be PIC code and therefore the Linux compiler defaults to PIC It's not possible to combine PIC code and MIPS16 ... Ralf