[MacPorts] #69632: gcc10-bootstrap does not work on 14.4.1: error: missing ')' after "__has_attribute"

MacPorts noreply at macports.org
Thu Jul 4 14:53:59 UTC 2024


#69632: gcc10-bootstrap does not work on 14.4.1: error: missing ')' after
"__has_attribute"
------------------------------+----------------------
  Reporter:  barracuda156     |      Owner:  catap
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.1
Resolution:                   |   Keywords:  sonoma
      Port:  gcc10-bootstrap  |
------------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:12 ryandesign]:
 > > Well, trying a newer gcc is not a solution here, since this is the
 only bootstrap gcc version we got.
 >
 > Sure it is. You are experiencing a bug that was fixed in a later version
 of gcc than the one you are using. The solution is to use the newer
 version of gcc. We have a gcc11 port. If that's not satisfactory and you
 need it to be a "bootstrap" version, then create a gcc11-bootstrap (or
 newer) port.

 There was a reason to choose gcc10 specifically, since it is the last GCC
 which does not require C++11 to build. There is no meaningful case to
 justify any other bootstrap gcc, we should rather backport the fix to
 gcc10-bootstrap (or wait until Iain updates his branch was then pull in
 his patches).

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


More information about the macports-tickets mailing list