On Tue, Jun 21, 2011 at 03:43:40PM +0100, Ralf Baechle wrote:
> I'm getting a build error with gcc 4.6.0 and binutils 2.21:
> AS arch/mips/kernel/entry.o
> AS arch/mips/kernel/genex.o
> /home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S: Assembler
> /home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S:524: Internal
> Assertion failure in append_insn at ../../gas/config/tc-mips.c line 2867.
> Please report this bug.
> make: *** [arch/mips/kernel/genex.o] Error 1
> make: *** [arch/mips/kernel] Error 2
> make: *** [arch/mips] Error 2
> make: *** [sub-make] Error 2
> make: *** [all] Error 2
> make: Leaving directory `/home/ralf/src/linux/obj/nlm_xlr-build'
> Not sure what's blowin up there and I haven't had a chance to try other
> binutils versions yet. Is this something known? None of the other MIPS
> kernel defconfigs is encountering this issue.
I have not used this GCC/binutils combination yet. But I have had success with
code sourcery toolchain (needs minor patch to add -march=xlr cflags):
gcc version 4.5.2 (Sourcery G++ Lite 2011.03-53)
GNU ld (Sourcery G++ Lite 2011.03-53) 22.214.171.12400809