This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40974] [4.6/4.7/4.8 Regression] cannot build gcc-4.4.1: fenv_t has not been declared
- From: "register at ykoctpa dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Feb 2013 05:09:33 +0000
- Subject: [Bug libstdc++/40974] [4.6/4.7/4.8 Regression] cannot build gcc-4.4.1: fenv_t has not been declared
- Auto-submitted: auto-generated
- References: <bug-40974-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
vde <register at ykoctpa dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |register at ykoctpa dot ru
--- Comment #54 from vde <register at ykoctpa dot ru> 2013-02-18 05:09:33 UTC ---
same issue trying to compile gcc 4.7.2 for mips - by openWRT toolchain for
AR-71XXX
mips-openwrt-linux-uclibc-c++ -x c++-header -nostdinc++ -g -Os
-I/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/mips-openwrt-linux-uclibc/libstdc++-v3/include/mips-openwrt-linux-uclibc
-I/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/mips-openwrt-linux-uclibc/libstdc++-v3/include
-I/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/libstdc++-v3/libsupc++
-O2 -g -std=gnu++0x
/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/libstdc++-v3/include/precompiled/stdc++.h
\
-o mips-openwrt-linux-uclibc/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/mips-openwrt-linux-uclibc/libstdc++-v3/include/cfenv:41:0,
from
/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/libstdc++-v3/include/precompiled/stdc++.h:54:
/opt/open-WRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/gcc-linaro-4.7-2012.12/mips-openwrt-linux-uclibc/libstdc++-v3/include/fenv.h:36:24:
fatal error: fenv.h: No such file or directory
compilation terminated.
configured with
AR=mips-openwrt-linux-uclibc-ar \
AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2
-fno-caller-saves -mno-branch-likely -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float" \
LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm
CC="mips-openwrt-linux-uclibc-gcc" \
GCC="mips-openwrt-linux-uclibc-gcc" \
CXX="mips-openwrt-linux-uclibc-g++" \
RANLIB=mips-openwrt-linux-uclibc-ranlib \
STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy
\
OBJDUMP=mips-openwrt-linux-uclibc-objdump \
SIZE=mips-openwrt-linux-uclibc-size \
./configure \
--build=i686-redhat-linux \
--host=mips-openwrt-linux-uclibc \
--target=mips-openwrt-linux-uclibc \
--enable-languages="c,c++" --enable-shared --disable-__cxa_atexit
--enable-target-optspace \
--with-gnu-ld --disable-nls --disable-libmudflap --disable-multilib
--enable-threads \
--with-float=soft \
--with-gmp=/opt/open-WRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2 \
--with-mpfr=/opt/open-WRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2 \
--with-mpc=/opt/open-WRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2 \
--disable-decimal-float --with-mips-plt --disable-libssp --disable-tls \
--with-slibdir=/opt/open-WRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.7.2_uClibc-0.9.33.2/lib
\
--with-sysroot=/opt/open-WRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2