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

Khem Raj raj.khem at gmail.com
Mon Dec 28 18:53:07 UTC 2009


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 759 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091228/b2fe9c73/attachment-0002.obj>


More information about the Openembedded-devel mailing list