[MacPorts] #67576: Error Building libgcc11 on MacOS Catalina: error: unknown type name 'PTR'

MacPorts noreply at macports.org
Mon Jun 5 17:22:29 UTC 2023


#67576: Error Building libgcc11 on MacOS Catalina: error: unknown type name 'PTR'
--------------------+----------------------
 Reporter:  dbl001  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.8.1
 Keywords:          |       Port:  libgcc11
--------------------+----------------------
 {{{
 :info:build struct cgraph_edge;
 :info:build ^~~~~~
 :info:build class
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/gcc-11.4.0/gcc
 /lto-compress.c:28:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/gcc-11.4.0/gcc/cgraph.h:1883:3:
 error: unknown type name 'PTR'
 :info:build   PTR GTY ((skip (""))) aux;
 :info:build   ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc11/libgcc11/work/gcc-11.4.0/gcc/cgraph.h:1782:30:
 error: cannot initialize object parameter of type 'symtab_node' with an
 expression of type 'cgraph_node'
 :info:build     for (unsigned int i = 0; caller->iterate_reference (i,
 ref); i++)
 :in
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67576>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list