SUPERH platform development
 help / color / mirror / Atom feed
* Has anyone got gcc-4.7.0 to build an SH64 kernel without dying?
@ 2012-05-29 17:23 David Howells
  2012-05-29 20:09 ` Oleg Endo
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Howells @ 2012-05-29 17:23 UTC (permalink / raw)
  To: lethal; +Cc: dhowells, dhorak, linux-sh, linux-arch


Has anyone had any success building a gcc-4.7.0 that can build SH64 binaries
without dying?  I am seeing ICEs and SEGVs:

include/linux/genhd.h:214:3: internal compiler error: Segmentation fault
mm/madvise.c:285:2: internal compiler error: Segmentation fault
mm/percpu.c: In function 'pcpu_free_area':
mm/percpu.c:602:1: error: unrecognizable insn:
(insn 74 73 75 8 (set (reg:SI 279)
        (abs:SI (reg:SI 280))) mm/percpu.c:575 -1
     (nil))
mm/percpu.c:602:1: internal compiler error: in extract_insn, at recog.c:2123

I'm not entirely certain what target triplet I should be using.  I'm currently
using sh64-linux-gnu.  It does build a compiler (and it can find its
binutils).  I've also tried sh64-elf, but that doesn't work either.

David

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-31 23:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 17:23 Has anyone got gcc-4.7.0 to build an SH64 kernel without dying? David Howells
2012-05-29 20:09 ` Oleg Endo
2012-05-30  4:53 ` Kaz Kojima
2012-05-30 13:02 ` David Howells
2012-05-31 23:13 ` Oleg Endo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox