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

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Sat Jan 2 05:45:10 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5362

           Summary: compilation of gcc-cross-intermediate-4.4.2 failed due
                    to lack of fenv.h
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: toolchain, uclibc
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: camelguo at gmail.com


Bug Description:
When MACHINE=qemux86 and using uclibc, the compilation of
gcc-cross-intermedia-4.4.2 failed and reported the following error information:
bid_decimal_globals.c:47:18: error: fenv.h: No such file or directory
bid_decimal_globals.c: In function '__dfp_test_except':
bid_decimal_globals.c:59: error: 'FE_INEXACT' undeclared (first use in this
function)
bid_decimal_globals.c:59: error: (Each undeclared identifier is reported only
once
bid_decimal_globals.c:59: error: for each function it appears in.)
bid_decimal_globals.c:61: error: 'FE_UNDERFLOW' undeclared (first use in this
function)
bid_decimal_globals.c:63: error: 'FE_OVERFLOW' undeclared (first use in this
function)
bid_decimal_globals.c:65: error: 'FE_DIVBYZERO' undeclared (first use in this
function)
bid_decimal_globals.c:67: error: 'FE_INVALID' undeclared (first use in this
function)
bid_decimal_globals.c: In function '__dfp_raise_except':
bid_decimal_globals.c:76: error: 'FE_INEXACT' undeclared (first use in this
function)
bid_decimal_globals.c:78: error: 'FE_UNDERFLOW' undeclared (first use in this
function)
bid_decimal_globals.c:80: error: 'FE_OVERFLOW' undeclared (first use in this
function)
bid_decimal_globals.c:82: error: 'FE_DIVBYZERO' undeclared (first use in this
function)
bid_decimal_globals.c:84: error: 'FE_INVALID' undeclared (first use in this
function)

for more detailed error information, please see the following links:
http://tinderbox.openembedded.net/packages/391641/
http://tinderbox.openembedded.net/packages/391427/

Bug always appeared.

How to reproduce:
1. Check out openembedded and swich to org.openembedded.dev branch;
2. Set  MACHINE = qemux86 DISTRO=micro-uclibc or 
MACHINE = qemux86 DISTRO=minimal-uclibc into your local local.conf
3. bitbake base-image.
4. The error will appear.

QA TODO:
1. Validate other version of gcc to check whether or not the same error exists.
2. Validate other distribution which using uclibc to check whether or not  the
same error exists.
3. I have validated the arm platform and mips platform have not the same error,
but have not validated other platforms, e.g: PPC, blackfin.

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list