The failure can be repeated by doing following test at console terminal: echo '#include <limits>' > test.c ; g++ -c test.c I suspect that GNU compiler tools or libraries (gmp, mpfr) are build for higher march than Sandybridge.