[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
Fri Jun 9 06:30:27 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 kencu):

 Replying to [comment:11 Gandoon]:
 > Replying to [comment:9 kencu]:
 > > It is apparently not a general issue, because it appears that
 gcc12/libgcc12 builds on every  supported OS system and version when built
 by the buildbot <http://packages.macports.com/gcc12/>
 > >
 > > Presumably some port you have installed is killing the build.
 >
 > Not to be rude, but that is exactly why the ticket exists. We are
 several people here who have issues on several OS versions. The previous
 version built just fine, so something has changed somewhere. We are hoping
 for a solution, e.g. a port to disable to make the build work.
 >
 > I just now tried to disable gdb and the build worked… There, that's a
 potential solution.


 Hey, that's OK, there's no need to thank me.

 Just glad I could finally get you down the right path, rather than have
 you keep spinning your wheels thinking gcc12 was broken on Catalina when
 it apparently never was.

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


More information about the macports-tickets mailing list