tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/gcc12 on mac



* On 2024-06-26 at 00:39 BST, Jason Bacon wrote:

This is showing the OS version, not the SDK version.

Well, kinda.  This is where it gets confusing ;)

I believe __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ is 140000 for any SDK 15.x, so this doesn't distinguish between, say, 15.2 and 15.3. 15.3 is the first to cause problems with gcc12 according to what I've read.

I assume they'll fix this once 15.x is available. If we do happen to add something similar to what I suggested at some point in the future then I'm honestly not too fussed about it not correctly supporting alpha releases of the OS/SDK, unless someone can come up with a way to accurately identify the real SDK target version.

Currently, wip/gcc12 builds fine on macOS 14.5 + SDK 15.3, NetBSD 10, and Alma 8.

FWIW it builds fine for me on:

  $ bmake install
  [...]
  => Creating binary package /Users/pbulk/build/wip/gcc12/work/.packages/gcc12-12.3.0nb2.tgz

  $ bmake -v OSX_SDK_PATH
  /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk

  $ clang -v
  Apple clang version 13.1.6 (clang-1316.0.21.2.5)

Cheers,

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index