[gcc5core 0005309]: Wrong definition of INFINITY macro

Mantis Bug Tracker noreply at opencsw.org
Tue Jan 16 13:17:26 CET 2018


The following issue has been ASSIGNED. 
====================================================================== 
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:17 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
======================================================================



More information about the bug-notifications mailing list