[oe] [Bug 5362] compilation of gcc-cross-intermediate-4.4.2 failed due to lack of fenv.h

Guo Hongruan camelguo at gmail.com
Sun Jan 10 12:55:13 UTC 2010


Yes, you are right. I tried to build a powerpc project and verify that.


在 Sun, 10 Jan 2010 14:10:35 +0800,Khem Raj <raj.khem at gmail.com> 写道:

> On Sat, Jan 9, 2010 at 9:41 PM, Guo Hongruan <camelguo at gmail.com> wrote:
>> Hi raj,khem:
>>  I think the change you made is not equivalent with before. Please see  
>> the
>> following patch. When TARGET_ARCH == powerpc, the
>> EXTRA_OECONF_append_linux-uclibc should be set "--disable-decimal-float
>> --without-long-double-128", but in your change, it will be set
>> "--without-long-double-128"
>
> No, thats not correct this patch is unnecessary. Its using _append
> override which I guess is self explanatory.
>
>>
>> Thanks a lot!
>>
>> diff --git a/recipes/gcc/gcc-4.4.2.inc b/recipes/gcc/gcc-4.4.2.inc
>> index 4b11f31..32a27c0 100644
>> --- a/recipes/gcc/gcc-4.4.2.inc
>> +++ b/recipes/gcc/gcc-4.4.2.inc
>> @@ -36,4 +36,4 @@ EXTRA_OECONF_BASE = " --enable-libssp \
>>  EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
>>  EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
>>  EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
>> -EXTRA_OECONF_append_linux-uclibc = " ${@base_contains('TARGET_ARCH',
>> 'powerpc', '--without-long-double-128', '',d)}"
>> +EXTRA_OECONF_append_linux-uclibc += " ${@base_contains('TARGET_ARCH',
>> 'powerpc', '--without-long-double-128', '',d)}"
>>
>> --
>> Guo Hongruan, Embedded Linux Consultant
>> Skype: camelguo
>> Twitter: camelguo
>> http://www.gulessoft.com
>>


-- 
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com




More information about the Openembedded-devel mailing list