crosstool-ng: fenv.h: No such file or directory

Khem Raj raj.khem@gmail.com
Wed Jun 22 04:44:00 GMT 2011


On 06/21/2011 09:36 PM, Baruch Siach wrote:
> Hi Yann,
>
> I'm trying to build a PowerPC e500 uClibc toolchain using crosstool-ng, and
> I'm consistently getting a "fatal error: fenv.h: No such file or directory"
> error at the "Installing static core C compiler" stage. I've selected gcc
> 4.5.2, binutils 2.21, and uClibc 0.9.31. My host toolchain is gcc 4.6.1
> (prerelease), and binutils 2.21.51.20110523, on current Debian Wheezy
> (testing).
>
> The full failed command line is as follows:
>
> [ALL  ]    /home/baruch/download/crosstool-ng-ppc/.build/powerpc-e500v2-linux-uclibc/build/build-cc-core-static/./gcc/xgcc -B/home/baruch/download/crosstool-ng-ppc/.build/powerpc-e500v2-linux-uclibc/build/build-cc-core-static/./gcc/ -B/home/baruch/download/crosstool-ng-ppc/.build/powerpc-e500v2-linux-uclibc/build/gcc-core-static/powerpc-e500v2-linux-uclibc/bin/ -B/home/baruch/download/crosstool-ng-ppc/.build/powerpc-e500v2-linux-uclibc/build/gcc-core-static/powerpc-e500v2-linux-uclibc/lib/ -isystem /home/baruch/download/crosstool-ng-ppc/.build/powerpc-e500v2-linux-uclibc/build/gcc-core-static/powerpc-e500v2-linux-uclibc/include -isystem /home/baruch/download/crosstool-ng-ppc/.build/powerpc-e500v2-linux-uclibc/build/gcc-core-static/powerpc-e500v2-linux-uclibc/sys-include    -g -Os -O2   -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_
FLOAT_NOT_NEEDED -Dinhibit_libc -mlong-double-128 -I. -I. -I../.././gcc -I/home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc -I/home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/. -I/home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/../gcc -I/home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/../include -I/home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/../libdecnumber/dpd -I/home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/../libdecnumber -DHAVE_CC_TLS  -o decExcept.o -MT decExcept.o -MD -MP -MF decExcept.dep -c /home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/../libdecnumber/decExcept.c
> [ERROR]    /home/baruch/download/crosstool-ng-ppc/.build/src/gcc-4.5.2/libgcc/../libdecnumber/decExcept.c:25:18: fatal error: fenv.h: No such file or directory
>
> My .config and uClibc.config are attached. I can also provide the full build
> log if this is necessary.
>
> Thanks for a great tool.

You need to have UCLIBC_HAS_FENV=y set in uclibc .config
now how you bend ct-ng to do it is upto you.

>
> baruch
>
>
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list