Opened 22 months ago
Last modified 22 months ago
#67576 new defect
Error Building libgcc11 on MacOS Catalina: error: unknown type name 'PTR'
Reported by: | dbl001 (dbl) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | libgcc11 |
Description
: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
Attachments (1)
Change History (3)
Changed 22 months ago by dbl001 (dbl)
Attachment: | main.log.gz added |
---|
comment:1 Changed 22 months ago by Gandoon (Erik Hedlund)
comment:2 Changed 22 months ago by Gandoon (Erik Hedlund)
A potential fix might be what fixed #67412 for me. If you have gdb active, try disabling it and then try building.
Note: See
TracTickets for help on using
tickets.
I have a feeling that this might be related to #67412 as libgcc12 and gcc12 also fails to build on Catalina.