[oe] compilation of gcc-cross-intermediate-4.4.2 failed due to lack of fenv.h
Guo Hongruan
camelguo at gmail.com
Thu Dec 31 08:56:45 UTC 2009
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.khem at gmail.com> 写道:
> On Sun, Dec 27, 2009 at 7:49 PM, Guo Hongruan <camelguo at 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
More information about the Openembedded-devel
mailing list