[oe] GCC 4.3 fails to build glibc(-intermediate)

Koen Kooi k.kooi at student.utwente.nl
Wed May 28 07:36:39 UTC 2008


Khem Raj wrote:
> On Thu, 2008-05-22 at 16:11 +0200, Enric Balletbò i Serra wrote:
>> Hi,
>>
>> I have the same problem, but at this moment I don't have idea about solution.
>
> I could reproduce this problem as well. I also tried to reduce the
> issue. It is an ICE in GCC and I have made a small testcase which I am
> able to reproduce on gcc-4_3-branch I have reported a gcc bug(PR36350)
> for it  Meanwhile you can remove -frename-registers optimization pass
> and ICE should go away.

And now I know why I wasn't seeing the ICE when using gcc 4.3.0: I 
turned off -frename-registers and -ftree-vectorize for armv7a 
completely, since gcc threw an ICE....

regards,

Koen


>
> Something like this might work around for glibc
>
> Index: libc/iconv/Makefile
> ===================================================================
> --- libc.orig/iconv/Makefile	2008-05-27 23:50:05.000000000 -0700
> +++ libc/iconv/Makefile	2008-05-27 23:54:43.000000000 -0700
> @@ -38,6 +38,8 @@
>   CFLAGS-gconv_simple.c = -DSTATIC_GCONV
>   endif
>
> +CFLAGS-gconv_simple.c += -fno-rename-registers
> +
>   vpath %.c ../locale/programs ../intl
>
>   iconv_prog-modules = iconv_charmap charmap charmap-dir linereader \
>
>
> Thanks
>
> -Khem
>
>> Regards,
>>   Enric Balletbo i Serra
>>
>> On Wed, May 7, 2008 at 7:33 AM, Matthijs van de Water
>> matthijs.van.de.water at gmail.com wrote:
>>
>>> Hi,
>>>
>>> I'm trying to get an ARM EABI build based on gcc 4.3 working. I'm not
>>> having much luck with that so-far.
>>>
>>> The build fails at glibc-internal (tried both 2.6.1 and 2.7) with an
>>> internal compiler error:
>>> ../iconv/skeleton.c: In function '__gconv_transform_ucs4_internal':
>>> ../iconv/skeleton.c:801: internal compiler error: Segmentation fault
>>>
>>> Am I missing something? Any ideas?
>>>
>>> Regards,
>>>
>>> Matthijs van de Water
>>>
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel






More information about the Openembedded-devel mailing list