https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017
--- Comment #11 from cqwrteur <unlvsur at live dot com> --- (In reply to Jonathan Wakely from comment #8) > I can only fix the case where the target <fenv.h> (in the build tree) is > found first and then its #include_next finds the host <fenv.h> (installed on > the host). > > But that seems to be the case that's breaking the canadian cross build. yeah. looks like this issue is very similar to stdint.h. I just removed fenv.h in libstdc++'s build and it works.