| Summary: | libstdc++ has _GLIBCXX_HAVE_FENV_H undefined but uclibc appears to have a fenv.h | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | holger |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | minor | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: |
Buildroot configuration with fenv no such file problem
Full error log |
||
|
Description
holger
2011-11-15 20:58:44 UTC
On what arch is this? uClibc currently only has basic fenv support for i386 Created attachment 3818 [details]
Buildroot configuration with fenv no such file problem
Created attachment 3824 [details]
Full error log
(In reply to comment #1) > On what arch is this? uClibc currently only has basic fenv support for i386 I believe I hit this problem. I'm using a powerpc p2020 (e500 core based) development board. The compilation ends with: powerpc-unknown-linux-uclibc/libstdc++-v3/include/fenv.h:36:24: fatal error: fenv.h: No such file or directory compilation terminated. Reproducible: always Submitted my configuration file and full error log. Solution for compiling without this error: after getting the error make uclibc-menuconfig switch UCLIBC_HAS_FENV to [=y] PS. bug reporting for the first time - please excuse any inconveniences (In reply to comment #4) > Submitted my configuration file and full error log. > > Solution for compiling without this error: > after getting the error > make uclibc-menuconfig > switch UCLIBC_HAS_FENV to [=y] > > PS. bug reporting for the first time - please excuse any inconveniences From the .config I see: grep ^BR2_UCLIBC .config BR2_UCLIBC_VERSION_0_9_32=y BR2_UCLIBC_VERSION_STRING="0.9.32" BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.31.config" So you try to build uClibc 0.9.32 with a 0.9.31 defconfig. That is not going to work. Please change it to uClibc-0.9.32.config and try again. (In reply to comment #5) > (In reply to comment #4) > > Submitted my configuration file and full error log. > > > > Solution for compiling without this error: > > after getting the error > > make uclibc-menuconfig > > switch UCLIBC_HAS_FENV to [=y] > > > > PS. bug reporting for the first time - please excuse any inconveniences > > From the .config I see: > > grep ^BR2_UCLIBC .config > BR2_UCLIBC_VERSION_0_9_32=y > BR2_UCLIBC_VERSION_STRING="0.9.32" > BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.31.config" > > So you try to build uClibc 0.9.32 with a 0.9.31 defconfig. That is not going to > work. Please change it to uClibc-0.9.32.config and try again. Hi, I changed the .config to use "toolchain/uClibc/uClibc-0.9.32.config" (I only touched this thing), did make clean, and git pull.The compilation ends in the same place with the same effect (small unrelated differences - I can submit if you want). I looked at the two defconfigs - both have # UCLIBC_HAS_FENV is not set. I also noticed this patch: toolchain/uClibc/uClibc-0.9.32-honor-UCLIBC_HAS_FENV-for-e500.patch, but sadly I don't understand if it has anything in common. Regards, Jacek grep ^BR2_UCLIBC .config BR2_UCLIBC_VERSION_0_9_32=y BR2_UCLIBC_VERSION_STRING="0.9.32" BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.32.config" I just tried with the latest Buildroot to build a PowerPC toolchain with gcc 4.6 for e500mc, and it just works fine. If it still doesn't work for you, please post your Buildroot .config file. Your previous one was incorrect because it was using the 0.9.31 uClibc configuration with a 0.9.32 uClibc. |