This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

Attachment: uClibc.config
Description: Text document

Attachment: .config
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]