------- Comment #1 from paolo dot carlini at oracle dot com 2009-08-05 22:26 ------- You should try to figure out the reason of those errors: whether, for some reason, _GLIBCXX_HAVE_FENV_H is undefined, thus <fenv.h> is not included in tr1/cfenv. Or, the configure test for the facilities in <fenv.h> (generated from acinclude.m4) wrongly defines _GLIBCXX_USE_C99_FENV_TR1. All in all, the issue is very mysterious to me, on x86_64-linux, in any case, <fenv.h> should be perfectly fine. I suspect you are doing something wrong in the setup for cross-compilation. I must also say, not being an expert of cross-compilation, I have no idea what are you trying to do, why you actually need a cross-compiler, if you are targeting your same machine...
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974