[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2010-08-01 Thread armand dot potter at free dot fr
--- Comment #34 from armand dot potter at free dot fr 2010-08-01 17:21 --- Overall 3/ is not that good as in fact it will use directly system headers without any wrapper (from in-tree or installed gcc). I tried adding -nostdinc++ to PCHFLAGS and compilation runs OK (not that hard

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2010-07-21 Thread armand dot potter at free dot fr
--- Comment #31 from armand dot potter at free dot fr 2010-07-21 21:35 --- I made some more investigations (a bit late as I am using now --disable-libpchstdcxx like everyone else). IMHO three main options are possible : 1/ Use -nostdinc++ just as native compilers do. Like said in

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2010-01-10 Thread armand dot potter at free dot fr
--- Comment #21 from armand dot potter at free dot fr 2010-01-10 11:27 --- Build succeeds with the patch. Cannot test the just built compiler yet (have to install the whole new system) but I will post the patch on clfs mailing list for more testing (even if official instructions say to

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2009-12-19 Thread armand dot potter at free dot fr
--- Comment #18 from armand dot potter at free dot fr 2009-12-19 15:44 --- Configure is as follow: /tmp/gcc-4.4.2/configure --enable-shared --enable-clocale=gnu --enable-__cxa_atexit --libexecdir=/usr/lib --enable-threads=posix --enable-languages=c,c++ --build=i686-pc-linux-gnu --host

[Bug libstdc++/40974] cannot build gcc-4.4.1: fenv_t has not been declared

2009-12-15 Thread armand dot potter at free dot fr
--- Comment #13 from armand dot potter at free dot fr 2009-12-15 20:48 --- I'm using about the same configuration (cross-LFS build but with gcc 4.4.2) and got the same error. I did some investigations and the problem is that fenv.h file from build tree is first included (and de