#48004: Internal compiler error (gcc-5.1.0) when using math.h on Yosemite --------------------+------------------- Reporter: ram@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: gcc5 --------------------+------------------- I've been trackinng down a build error with some software and it seems that `gcc5 @5.1.0_1` is throwing an internal error on Yosemite on anything using the `math.h` header, for example: {{{ cgc-mercer-vm1:~ ram$ cat test.c #include <stdio.h> #include <math.h> int main(void) { double x, y, result; x = 2; y = 8; result = pow(x, y); printf("%g^%g = %g\n", x, y, result); return(0); } cgc-mercer-vm1:~ ram$ gcc-mp-5 -o test test.c In file included from test.c:2:0: /opt/local/lib/gcc5/gcc/x86_64-apple-darwin14/5.1.0/include-fixed/math.h: In function '__inline_isnormalf': /opt/local/lib/gcc5/gcc/x86_64-apple-darwin14/5.1.0/include- fixed/math.h:273:5: internal compiler error: Illegal instruction: 4 return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= __FLT_MIN__; ^ /opt/local/lib/gcc5/gcc/x86_64-apple-darwin14/5.1.0/include- fixed/math.h:273:5: internal compiler error: Abort trap: 6 gcc-mp-5: internal compiler error: Abort trap: 6 (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <https://trac.macports.org/newticket> for instructions. cgc-mercer-vm1:~ ram$ }}} The same code builds fine on Mavericks with the same version of this the `gcc5` port -- Ticket URL: <https://trac.macports.org/ticket/48004> MacPorts <https://www.macports.org/> Ports system for OS X