[MacPorts] #66062: libgcc12: build failure: error: use of undeclared identifier 'PTR'

MacPorts noreply at macports.org
Mon Oct 24 21:53:17 UTC 2022


#66062: libgcc12: build failure: error: use of undeclared identifier 'PTR'
------------------------+------------------------------
 Reporter:  i0ntempest  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.0
 Keywords:              |       Port:  libgcc12, gcc12,
------------------------+------------------------------
 This is on macOS 13 with Xcode/CLT 14.1 RC. I think there's a conflict
 with another port somewhere, because on another one of my macs with a lot
 few ports installed, libgcc12 was able to be built.
 {{{
 :info:build /usr/bin/clang -arch x86_64 -c -DHAVE_CONFIG_H -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/libiberty/../include
 -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
 -pedantic  -D_GNU_SOURCE
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/libiberty/lrealpath.c
 -o lrealpath.o
 :info:build checking for vfork...
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/libiberty/objalloc.c:95:18:
 error: use of undeclared identifier 'PTR'
 :info:build   ret->chunks = (PTR) malloc (CHUNK_SIZE);
 :info:build
 }}}

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


More information about the macports-tickets mailing list