[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 05:41:05 UTC 2010


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"

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