[MacPorts] #57937: gcc9 @9-20181007_1: Compiler fails for trivial program indicating that _stdio.h is missing (also fails for gcc7 and gcc8).

MacPorts noreply at macports.org
Fri Feb 21 20:29:44 UTC 2020


#57937: gcc9 @9-20181007_1: Compiler fails for trivial program indicating that
_stdio.h is missing (also fails for gcc7 and gcc8).
---------------------------------------+--------------------
  Reporter:  aszostak-partner-eso-org  |      Owner:  (none)
      Type:  defect                    |     Status:  new
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.5.4
Resolution:                            |   Keywords:
      Port:  gcc7 gcc8 gcc9            |
---------------------------------------+--------------------

Comment (by jmon12):

 For the sake of documentation: building gcc from source uses the default
 sysroot (i.e. `/`) which solves my problem.

 However, I don't understand why it's removed from the default builds of
 gcc. It could have been left together with the Xcode-specific ones.

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


More information about the macports-tickets mailing list