[MacPorts] #67412: gcc12 @12.3.0_0+stdlib_flag on MacOS Catalina: libiberty/objalloc.c:198:42: error: unknown type name 'PTR'

MacPorts noreply at macports.org
Thu Jun 8 11:11:49 UTC 2023


#67412: gcc12 @12.3.0_0+stdlib_flag on MacOS Catalina: libiberty/objalloc.c:198:42:
error: unknown type name 'PTR'
---------------------+--------------------
  Reporter:  dbl001  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:
      Port:  gcc12   |
---------------------+--------------------

Comment (by Gandoon):

 Replying to [comment:4 jmroot]:
 > Do you have binutils installed?

 As far as I know it is not possible to install lib/gcc12 with binutils
 active. The build system will complain and die with an error.

 Nevertheless, neither libgcc12 nor gcc12 @12.3.0_0 builds on 10.15 and it
 has been that way for weeks now. The most irritating bit is that around
 the same time an upgrade somewhere broke also opencv4 and it also fails to
 build cleanly past around 78% according to the build progress meter.
 Opencv4 seems to depend on this port for the build, but the old
 libgcc12/gcc12 @12.2.0_2 does not seem to do the trick. If these two
 issues are even related is to me still a mystery.

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


More information about the macports-tickets mailing list