Opened 2 weeks ago

Last modified 10 days ago

#67412 new defect

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

Reported by: dbl001 (dbl) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: gcc12

Description

gcc12 builds on MacOS Ventura, but fails on Catalina.

Attachments (2)

main.log (347.2 KB) - added by dbl001 (dbl) 2 weeks ago.
gcc12_install_build_from_source_fails.log.bz2 (20.3 KB) - added by kwolcott 10 days ago.

Download all attachments as: .zip

Change History (5)

Changed 2 weeks ago by dbl001 (dbl)

Attachment: main.log added

comment:1 Changed 2 weeks ago by kencu (Ken)

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc12/gcc12/work/gcc-12.3.0/libiberty/objalloc.c:198:42: error: unknown type name 'PTR'
:info:build objalloc_free_block (struct objalloc *o, PTR block)
:info:build                                          ^

comment:2 Changed 2 weeks ago by kencu (Ken)

Summary: Error building gcc12 on MacOS Catalinagcc12 @12.3.0_0+stdlib_flag on MacOS Catalina: libiberty/objalloc.c:198:42: error: unknown type name 'PTR'

Changed 10 days ago by kwolcott

comment:3 Changed 10 days ago by kwolcott

gcc12 build from source fails for me on Ventura 13.3.1(a); looks like the same PTR issue. I have a compressed log file.

Note: See TracTickets for help on using tickets.