A NOTE has been added to this issue. ====================================================================== https://www.opencsw.org/mantis/view.php?id=5309 ====================================================================== Reported By: vbwagner Assigned To: dam ====================================================================== Project: gcc5core Issue ID: 5309 Category: Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 2018-01-16 13:07 CET Last Modified: 2018-01-16 13:18 CET ====================================================================== Summary: Wrong definition of INFINITY macro Description: After upgrading of gcc5core from 5.2.0 to 5.5.0 I've encountered problem that any program which includes math.h and uses INFINITY macro doesn't compile.
It fails with message error: __builtin_infinity undefined. It seems that /usr/include/iso/math_c99.h contains defintion of macros INFINITY, NAN and HUGE_VAL, which are incompatible with gcc, but for some reason gcc5core package doesn't fix them in its own /usr/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed tree, although there is patched copy of math.h ====================================================================== ---------------------------------------------------------------------- (0011266) dam (administrator) - 2018-01-16 13:18 https://www.opencsw.org/mantis/view.php?id=5309#c11266 ---------------------------------------------------------------------- Indeed, this is very strange that the private header file does not get converted.