fenv.h contains union __fpscr { double __d; struct { __uint32_t __junk; fenv_t __reg; } __bits; }; which is not correct for little endian. It needs to be adjusted for endianness.
*** This bug has been marked as a duplicate of bug 207526 ***