#66083 closed defect (duplicate)
gcc12: Does not install on MacOS 13
Reported by: | haberg-1 (Hans Åberg) | 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)
Change History (6)
comment:1 Changed 2 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Summary: | Does not install on MacOS 13 → gcc12: Does not install on MacOS 13 |
---|
comment:3 follow-up: 4 Changed 2 years ago by haberg-1 (Hans Åberg)
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).
Changed 2 years ago by haberg-1 (Hans Åberg)
Attachment: | main.log.zip added |
---|
port install gcc12 lof file
comment:4 Changed 2 years 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 2 years ago by haberg-1 (Hans Åberg)
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.
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.