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

Khem Raj raj.khem at gmail.com
Sun Jan 10 06:10:35 UTC 2010


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
>




More information about the Openembedded-devel mailing list