Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#66083 closed defect (duplicate)

gcc12: Does not install on MacOS 13

Reported by: haberg-1 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: gcc12

Description

When trying to install gcc12 on MacOS 13, there are errors, see log.

Unclear if related, but there is no /usr/lib/libstdc++.6.dylib on this platform, so programs compiled with past gcc11 crash.

Attachments (1)

main.log.zip (6.2 MB) - added by haberg-1 17 months ago.
port install gcc12 lof file

Change History (6)

comment:1 Changed 17 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

You haven't attached a log, but presumably a duplicate of #65573, please reopen if not. Make sure you have installed version 14.1 (currently release candidate) of the Command Line Tools for Xcode.

comment:2 Changed 17 months ago by jmroot (Joshua Root)

Summary: Does not install on MacOS 13gcc12: Does not install on MacOS 13

comment:3 Changed 17 months ago by haberg-1

No, that issue is due to Xcode 14: https://stackoverflow.com/questions/73714336/xcode-update-to-version-2395-ld-compile-problem-occurs-computedatomcount-m

It does not install at all on MacOS 13, that is, 'port install gcc12' produces an error. The log file was too big, and the upload was aborted; I'll see if I can provide a snippet.

Also, here SDK13 is not installed by 'xcode-select --install', only MacOSX12.3.sdk, using Xcode 14.1 (14B47b).

Last edited 17 months ago by haberg-1 (previous) (diff)

Changed 17 months ago by haberg-1

Attachment: main.log.zip added

port install gcc12 lof file

comment:4 in reply to:  3 Changed 17 months ago by jmroot (Joshua Root)

Replying to haberg-1:

Also, here SDK13 is not installed by 'xcode-select --install', only MacOSX12.3.sdk, using Xcode 14.1 (14B47b).

Yes, that's why you need to install the 14.1 release candidate of the CLTs. https://developer.apple.com/download/all/?q=command%20line%20tools

comment:5 Changed 17 months ago by haberg-1

The gcc12 install worked using MacOSX13.0.sdk. But also the other issue, about AtomCount, which I reported to Apple, does not appear when compiling my project. So perhaps they fixed it in latest Xcode and Command Line Tools, though I did not get a reply.

Note: See TracTickets for help on using tickets.