Opened 8 weeks ago

Closed 8 weeks ago

#70855 closed defect (duplicate)

gcc14 build error on macOS Sequoia 15.0

Reported by: shuxiao9058 (Aaron Ji) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
Port: gcc14

Description

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:89:25: error: 'long type-name' is invalid
   89 | typedef __uint64_t      rlim_t;
      |                         ^
./auto-host.h:2748:16: note: expanded from macro 'rlim_t'
 2748 | #define rlim_t long
      |                ^
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/gcc-14.2.0/gcc/genmodes.cc:21:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc14/libgcc14/work/gcc-14.2.0/gcc/system.h:553:20: error: functions that differ only in their return type cannot be overloaded
  553 | extern const char *strsignal (int);
      |              ~~~~~~^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_string.h:134:7: note: previous declaration is here
  134 | char    *strsignal(int __sig);
      | ~~~~~~~~~^

Attachments (1)

main.log (3.0 MB) - added by shuxiao9058 (Aaron Ji) 8 weeks ago.

Change History (7)

Changed 8 weeks ago by shuxiao9058 (Aaron Ji)

Attachment: main.log added

comment:1 Changed 8 weeks ago by cjones051073 (Chris Jones)

Summary: Error build on macOS Sequoia 15.0gcc14 build error on macOS Sequoia 15.0

I suspect your CLT is messed up. See https://trac.macports.org/ticket/70750 for details and follow the instructions there to address.

comment:2 Changed 8 weeks ago by cjones051073 (Chris Jones)

Cc: cjones051073 added

comment:3 Changed 8 weeks ago by shuxiao9058 (Aaron Ji)

Resolved, thanks a lot.

comment:4 Changed 8 weeks ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: newclosed

comment:5 Changed 8 weeks ago by kencu (Ken)

Resolution: fixed
Status: closedreopened

comment:6 Changed 8 weeks ago by kencu (Ken)

Resolution: duplicate
Status: reopenedclosed

We didn’t fix anything here, this is just a duplicate of #70750.

See #70716

Note: See TracTickets for help on using tickets.