Opened 19 months ago

Last modified 19 months ago

#66062 closed defect

libgcc12: build failure: error: use of undeclared identifier 'PTR' — at Version 1

Reported by: i0ntempest Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: libgcc12, gcc12,

Description (last modified by i0ntempest)

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 fewer 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     

Change History (2)

Changed 19 months ago by i0ntempest

Attachment: main.log added

comment:1 Changed 19 months ago by i0ntempest

Description: modified (diff)
Note: See TracTickets for help on using tickets.