This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libc/uClibc: add workaround patch for ICE in m68k builds


"Yann E. MORIN" <yann.morin.1998@free.fr> writes:

> Esben, All,
>
> On Thursday 27 September 2012 06:38:58 Esben Haabendal wrote:
>> Esben Haabendal <esben.haabendal@dev.prevas.dk> writes:
>> 
>> > # HG changeset patch
>> > # User Esben Haabendal <esben.haabendal@prevas.dk>
>> > # Date 1348670462 -7200
>> > # Node ID 9303953d3983fc94c6b1ffffbcac72b9459bd8fa
>> > # Parent  a570b38101459a861ada6fa9f09c20f0a4fc3840
>> > libc/uClibc: add workaround patch for ICE in m68k builds
>> >
>> > This patch/workaround is similar to the one proposed in
>> > http://www.mail-archive.com/uclibc@uclibc.org/msg02475.html
>> >
>> > Bug reproduced with GCC 4.6.3.
>> 
>> Seems like GCC 4.7.2 does not require this workaround.
>
> Then, naybe it's gcc-4.6.3 (and earlier? maybe up to 4.7.1?) that should
> be fixed, instead.

Yes, but it don't know what fixed this in 4.7.2, so it is an uphill
battle backporting this to all older GCC releases.

>> Should we leave it out then, requiring use of gcc 4.7.2 or later for
>> m68k/uClibc?  Or patch it, and thus messing with optimization even for
>> gcc 4.7.2 which does not need it?
>
> I've updated your sample to use 4.7.2 instead of 4.6.3. I have no way to
> test m68k noMMU; could you give it a spin, please?

I will.

Late yesterday, I unfortunately found another ICE issue (in 4.7.2). It
has already been reported:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53833

I haven't had time to investigate it further, but it seems to
only be triggered when given fx. "--with-cpu=5208" in my case.  Building
a generic m68k compiler works fine.

/Esben

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]