Re: [oe] compilation of gcc-cross-intermediate-4.4.2 failed due to lack of fenv.h
On (31/12/09 16:56), Guo Hongruan wrote: I am afraid that the failure is not so easy. Today, I recompile the following builds: MACHINE=qemux86 DISTRO=micro-uclibc MACHINE=qemuarm DISTRO=micro-uclibc MACHINE=qemumips DISTRO=micro-uclibc only qemuarm works. But the problem is that the uclibc configuration in qemuarm building has not defined UCLIBC_HAS_FENV, and the configuration options of gcc-cross-intermedia lacks --disable-decimal-float. So according the previous analysis, the qemuarm building should failed and reported the same reason. Why did qemuarm build pass? I can not figure it out. decimal float is enabled by default for powerpc, x86 and x86_64 in gcc thats why you see that it works ok on arm because its disabled by default for arm. So yes for uclibc on these architectures you need to disable it because uclibc does not have decimal floating library implementation. Thats why in my patch in previous email I disabled it for all uclibc based builds of gcc. It should be disabled for mips as the code in gcc seems like. If you could post your gcc build logs somewhere I can have a look. -Khem ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] compilation of gcc-cross-intermediate-4.4.2 failed due to lack of fenv.h
I am afraid that the failure is not so easy. Today, I recompile the following builds: MACHINE=qemux86 DISTRO=micro-uclibc MACHINE=qemuarm DISTRO=micro-uclibc MACHINE=qemumips DISTRO=micro-uclibc only qemuarm works. But the problem is that the uclibc configuration in qemuarm building has not defined UCLIBC_HAS_FENV, and the configuration options of gcc-cross-intermedia lacks --disable-decimal-float. So according the previous analysis, the qemuarm building should failed and reported the same reason. Why did qemuarm build pass? I can not figure it out. Thanks a lot! 在 Tue, 29 Dec 2009 02:53:07 +0800,Khem Raj raj.k...@gmail.com 写道: On Sun, Dec 27, 2009 at 7:49 PM, Guo Hongruan camel...@gmail.com wrote: Hi guys, I found a build error when building openembedded using: 1. MACHINE = qemux86 DISTRO=micro-uclibc, see the follow url for detailed. http://tinderbox.openembedded.net/packages/391641/ 2. MACHINE = qemux86 DISTRO=minimal-uclibc, see the following url for detailed http://tinderbox.openembedded.net/packages/391427/ It seems that the comiler can not find the fenv.h which should be provided by uclibc. /media/work-disk/workdir/oe-qemux86-micro-uclibc/work/i686-oe-linux-uclibc/gcc-cross-intermediate-4.4.2-r1.1/gcc-4.4.2/libgcc/config/libbid/bid_decimal_globals.c:47:18: error: fenv.h: No such file or directory Any advice is welcome. You can add --disable-decimal-float to the configure options if its missing. try the attached patch. or you can enable UCLIBC_HAS_FENV in the uclibc config file. -- Guo Hongruan, Embedded Linux Consultant Skype: camelguo Twitter: camelguo http://www.gulessoft.com ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] compilation of gcc-cross-intermediate-4.4.2 failed due to lack of fenv.h
On Sun, Dec 27, 2009 at 7:49 PM, Guo Hongruan camel...@gmail.com wrote: Hi guys, I found a build error when building openembedded using: 1. MACHINE = qemux86 DISTRO=micro-uclibc, see the follow url for detailed. http://tinderbox.openembedded.net/packages/391641/ 2. MACHINE = qemux86 DISTRO=minimal-uclibc, see the following url for detailed http://tinderbox.openembedded.net/packages/391427/ It seems that the comiler can not find the fenv.h which should be provided by uclibc. /media/work-disk/workdir/oe-qemux86-micro-uclibc/work/i686-oe-linux-uclibc/gcc-cross-intermediate-4.4.2-r1.1/gcc-4.4.2/libgcc/config/libbid/bid_decimal_globals.c:47:18: error: fenv.h: No such file or directory Any advice is welcome. You can add --disable-decimal-float to the configure options if its missing. try the attached patch. or you can enable UCLIBC_HAS_FENV in the uclibc config file. diff Description: Binary data ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel