https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67789
--- Comment #4 from Michael Meissner <meissner at gcc dot gnu.org> --- Here is the function that shows the error when compiled with -fPIC: void set_fpu_rounding_mode (int mode) { int rnd_mode; switch (mode) { case 2: rnd_mode = FE_TONEAREST; break; case 4: rnd_mode = FE_UPWARD; break; case 1: rnd_mode = FE_DOWNWARD; break; case 3: rnd_mode = FE_TOWARDZERO; break; default: return; } fesetround (rnd_mode); }