[MacPorts] #64355: gcc10 @10.3.0_1: fixincludes math.h missing for Intel hardware on Mac OS X 10.7 Lion

MacPorts noreply at macports.org
Thu Jan 6 03:52:13 UTC 2022


#64355: gcc10 @10.3.0_1: fixincludes math.h missing for Intel hardware on Mac OS X
10.7 Lion
---------------------------+------------------------------
  Reporter:  johnrosshunt  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  lion i386 x86_64
      Port:  gcc10         |
---------------------------+------------------------------

Comment (by kencu):

 Rebuilding gmp on this machine from source fixed the ICE. So now all works
 well:

 {{{
 $ cat mathtest.c
 #include <math.h>
 #include <stdio.h>
 int main(int argc, char* argv[])
 {
     int i = 1000;
     double b = log2(i);
     printf("%f \n",b);

     double d = log2(2.3456789f);
     printf("%f \n",d);
     return 0;
 }

 $ /opt/local/bin/gcc-mp-10 mathtest.c

 $ ./a.out
 9.965784
 1.230005
 }}}

 No problem with any missing header files noted.

-- 
Ticket URL: <https://trac.macports.org/ticket/64355#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list