* XLR Linux/MIPS kernel build error
@ 2011-06-21 14:44 Ralf Baechle
2011-06-21 15:05 ` Nick Clifton
2011-06-21 16:54 ` Jayachandran C.
0 siblings, 2 replies; 4+ messages in thread
From: Ralf Baechle @ 2011-06-21 14:44 UTC (permalink / raw)
To: Jayachandran C; +Cc: linux-mips, binutils
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 messages:
/home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S:524: Internal error!
Assertion failure in append_insn at ../../gas/config/tc-mips.c line 2867.
Please report this bug.
make[4]: *** [arch/mips/kernel/genex.o] Error 1
make[3]: *** [arch/mips/kernel] Error 2
make[2]: *** [arch/mips] Error 2
make[1]: *** [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.
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: XLR Linux/MIPS kernel build error
2011-06-21 14:44 XLR Linux/MIPS kernel build error Ralf Baechle
@ 2011-06-21 15:05 ` Nick Clifton
2011-06-21 16:38 ` Ralf Baechle
2011-06-21 16:54 ` Jayachandran C.
1 sibling, 1 reply; 4+ messages in thread
From: Nick Clifton @ 2011-06-21 15:05 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Jayachandran C, linux-mips, binutils
Hi Ralf,
> AS arch/mips/kernel/genex.o
> /home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S: Assembler messages:
> /home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S:524: Internal error!
> Assertion failure in append_insn at ../../gas/config/tc-mips.c line 2867.
> Not sure what's blowin up there and I haven't had a chance to try other
> binutils versions yet. Is this something known?
Nope - it is a new one...
Please could you open a binutils bugzilla PR for this and include the
genex.S file (preprocessed if necessary) and the assembler command line
that causes gas to blow up ?
Cheers
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: XLR Linux/MIPS kernel build error
2011-06-21 15:05 ` Nick Clifton
@ 2011-06-21 16:38 ` Ralf Baechle
0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2011-06-21 16:38 UTC (permalink / raw)
To: Nick Clifton; +Cc: Jayachandran C, linux-mips, binutils
On Tue, Jun 21, 2011 at 04:05:34PM +0100, Nick Clifton wrote:
> Hi Ralf,
>
> > AS arch/mips/kernel/genex.o
> >/home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S: Assembler messages:
> >/home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S:524: Internal error!
> >Assertion failure in append_insn at ../../gas/config/tc-mips.c line 2867.
>
> >Not sure what's blowin up there and I haven't had a chance to try other
> >binutils versions yet. Is this something known?
>
> Nope - it is a new one...
>
> Please could you open a binutils bugzilla PR for this and include
> the genex.S file (preprocessed if necessary) and the assembler
> command line that causes gas to blow up ?
I've extracted a 5 line minimal test case and cooking receipe and filed
everything as http://sourceware.org/bugzilla/show_bug.cgi?id=12915
Cheers,
Ralf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: XLR Linux/MIPS kernel build error
2011-06-21 14:44 XLR Linux/MIPS kernel build error Ralf Baechle
2011-06-21 15:05 ` Nick Clifton
@ 2011-06-21 16:54 ` Jayachandran C.
1 sibling, 0 replies; 4+ messages in thread
From: Jayachandran C. @ 2011-06-21 16:54 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-mips, binutils
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 messages:
> /home/ralf/src/linux/upstream-linus/arch/mips/kernel/genex.S:524: Internal error!
> Assertion failure in append_insn at ../../gas/config/tc-mips.c line 2867.
> Please report this bug.
> make[4]: *** [arch/mips/kernel/genex.o] Error 1
> make[3]: *** [arch/mips/kernel] Error 2
> make[2]: *** [arch/mips] Error 2
> make[1]: *** [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 the
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) 2.20.51.20100809
JC.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-21 16:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 14:44 XLR Linux/MIPS kernel build error Ralf Baechle
2011-06-21 15:05 ` Nick Clifton
2011-06-21 16:38 ` Ralf Baechle
2011-06-21 16:54 ` Jayachandran C.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).