public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "booleandomain at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/40974]  New: cannot build gcc-4.4.1: fenv_t has not been declared
Date: Wed, 05 Aug 2009 16:44:00 -0000	[thread overview]
Message-ID: <bug-40974-17891@http.gcc.gnu.org/bugzilla/> (raw)

I'm using a gcc-4.4.1 cross-compiler to build another instance of gcc-4.4.1 for
the target system. make fails with the following error message:

make[2]: Entering directory
`/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc"
"CC_FOR_TARGET=/mnt/clfs/cross-tools/usr/bin/x86_64-unknown-linux-gnu-gcc "
"CFLAGS=-g -O2 -march=core2  " "CXXFLAGS=-g -O2   -D_GNU_SOURCE  "
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2 -march=core2"
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
"LDFLAGS=" "LIBCFLAGS=-g -O2 -march=core2  " "LIBCFLAGS_FOR_TARGET=-g -O2
-march=core2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/info" "libdir=/usr/lib"
"includedir=/usr/include" "prefix=/usr" "tooldir=/usr/x86_64-unknown-linux-gnu"
"gxx_include_dir=/usr/include/c++/4.4.1"
"AR=/mnt/clfs/cross-tools/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ar"
"AS=/mnt/clfs/cross-tools/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/as"
"LD=/mnt/clfs/cross-tools/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld"
"RANLIB=/mnt/clfs/cross-tools/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ranlib"
"NM=/mnt/clfs/cross-tools/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/nm"
"NM_FOR_BUILD="
"NM_FOR_TARGET=/mnt/clfs/cross-tools/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/nm"
"DESTDIR=" "WERROR=" all-recursive
make[3]: Entering directory
`/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
Making all in include
make[4]: Entering directory
`/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include'
mkdir -p ./x86_64-unknown-linux-gnu/bits/stdtr1c++.h.gch
/mnt/clfs/cross-tools/usr/bin/x86_64-unknown-linux-gnu-c++  -x c++-header -g
-O2   -D_GNU_SOURCE  
-I/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/mnt/clfs/sources/gcc-4.4.1/libstdc++-v3/libsupc++ -O2 -g
/mnt/clfs/sources/gcc-4.4.1/libstdc++-v3/include/precompiled/stdtr1c++.h -o
x86_64-unknown-linux-gnu/bits/stdtr1c++.h.gch/O2g.gch
In file included from
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1/cfenv:46,
                 from
/mnt/clfs/sources/gcc-4.4.1/libstdc++-v3/include/precompiled/stdtr1c++.h:33:
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:49:
error: '::fenv_t' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:50:
error: '::fexcept_t' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:53:
error: '::feclearexcept' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:54:
error: '::fegetexceptflag' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:55:
error: '::feraiseexcept' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:56:
error: '::fesetexceptflag' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:57:
error: '::fetestexcept' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:59:
error: '::fegetround' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:60:
error: '::fesetround' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:62:
error: '::fegetenv' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:63:
error: '::feholdexcept' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:64:
error: '::fesetenv' has not been declared
/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/tr1_impl/cfenv:65:
error: '::feupdateenv' has not been declared
make[4]: *** [x86_64-unknown-linux-gnu/bits/stdtr1c++.h.gch/O2g.gch] Error 1
make[4]: Leaving directory
`/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/mnt/clfs/sources/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2

The configure command contained the following options: --prefix=/usr
--build=x86_64-cross-linux-gnu --host=x86_64-unknown-linux-gnu
--target=x86_64-unknown-linux-gnu --enable-languages=c,c++ --disable-multilib

The following environment variables were set before the build started:

export CC=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-gcc
export CXX=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-c++
export AR=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-ar
export AS=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-as
export LD=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-ld
export NM=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-nm
export OBJDUMP=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-objdump
export RANLIB=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-ranlib
export STRIP=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-strip
export CC_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-gcc
export CXX_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-c++
export AR_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-ar
export AS_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-as
export LD_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-ld
export NM_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-nm
export OBJDUMP_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-objdump
export RANLIB_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-ranlib
export STRIP_FOR_TARGET=${CLFS_CROSS_TOOLS}/usr/bin/${CLFS_TARGET}-strip

CLFS_CROSS_TOOLS is the path to the gcc cross-compiler. CLFS_TARGET is
x86_64-unknown-linux-gnu.


-- 
           Summary: cannot build gcc-4.4.1: fenv_t has not been declared
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: booleandomain at gmail dot com
 GCC build triplet: x86_64-cross-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974


             reply	other threads:[~2009-08-05 16:44 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05 16:44 booleandomain at gmail dot com [this message]
2009-08-05 22:26 ` [Bug libstdc++/40974] " paolo dot carlini at oracle dot com
2009-08-06 19:22 ` booleandomain at gmail dot com
2009-08-06 20:21 ` booleandomain at gmail dot com
2009-08-07  8:22 ` paolo dot carlini at oracle dot com
2009-08-07  9:46 ` bonzini at gnu dot org
2009-08-07 10:12 ` paolo dot carlini at oracle dot com
2009-08-07 10:45 ` bonzini at gnu dot org
2009-08-07 11:58 ` booleandomain at gmail dot com
2009-08-07 12:01 ` booleandomain at gmail dot com
2009-08-07 12:03 ` booleandomain at gmail dot com
2009-08-07 12:10 ` booleandomain at gmail dot com
2009-09-26 19:44 ` pinskia at gcc dot gnu dot org
2009-12-15 20:48 ` armand dot potter at free dot fr
2009-12-16 16:18 ` paolo dot carlini at oracle dot com
2009-12-16 17:30 ` bonzini at gnu dot org
2009-12-16 19:15 ` paolo dot carlini at oracle dot com
2009-12-16 21:52 ` rwild at gcc dot gnu dot org
2009-12-19 15:44 ` armand dot potter at free dot fr
2009-12-22  9:58 ` paolo dot carlini at oracle dot com
2009-12-22 21:04 ` rwild at gcc dot gnu dot org
2010-01-10 11:28 ` armand dot potter at free dot fr
2010-01-10 12:16 ` paolo dot carlini at oracle dot com
2010-01-10 12:18 ` paolo dot carlini at oracle dot com
2010-01-10 16:52 ` hjl dot tools at gmail dot com
2010-01-10 17:16 ` hjl dot tools at gmail dot com
2010-05-14 15:07 ` armin76 at gentoo dot org
2010-05-14 15:11 ` paolo dot carlini at oracle dot com
2010-05-14 15:50 ` dougsemler at gmail dot com
2010-05-16 17:32 ` rwild at gcc dot gnu dot org
2010-06-19 11:31 ` armin76 at gentoo dot org
2010-07-21 21:35 ` armand dot potter at free dot fr
2010-07-21 22:03 ` paolo dot carlini at oracle dot com
2010-07-25 15:20 ` paolo dot carlini at oracle dot com
2010-08-01 17:21 ` armand dot potter at free dot fr
2010-08-02  6:53 ` paolo dot carlini at oracle dot com
2010-08-10 21:51 ` pinskia at gcc dot gnu dot org
2010-08-10 21:53 ` [Bug libstdc++/40974] [4.3/4.4/4.5/4.6 Regression] " pinskia at gcc dot gnu dot org
2010-08-10 22:00 ` pinskia at gcc dot gnu dot org
2010-08-10 22:18 ` paolo dot carlini at oracle dot com
2010-08-10 22:19 ` pinskia at gcc dot gnu dot org
2010-08-11  1:12 ` pinskia at gcc dot gnu dot org
2010-08-11  1:20 ` pinskia at gcc dot gnu dot org
2010-08-11  1:24 ` paolo dot carlini at oracle dot com
2010-08-11  1:28 ` pinskia at gcc dot gnu dot org
2010-08-11  7:08 ` paolo dot carlini at oracle dot com
2010-09-02  8:24 ` boris at kolpackov dot net
2010-09-02  9:42 ` paolo dot carlini at oracle dot com
2010-09-02 12:45 ` bonzini at gnu dot org
2010-09-02 14:10 ` paolo dot carlini at oracle dot com
2010-09-02 14:13 ` paolo at gcc dot gnu dot org
2010-09-02 16:07 ` paolo dot carlini at oracle dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-40974-17891@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).