Opened 5 weeks ago

Last modified 5 weeks ago

#73820 assigned enhancement

clang-11: Support building on Darwin 24 (macOS 15 Sequoia)

Reported by: rrr9rrr Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.12.4
Keywords: sequoia Cc:
Port: clang-11

Description

Successfully built clang-11 11.1.0 on Darwin 24.4.0 (macOS 15 Sequoia).

Build Details:

  • Version: 11.1.0_9
  • Variants: +analyzer+emulated_tls
  • Architecture: x86_64
  • Platform: darwin_24
  • Host: x86_64-apple-darwin24.4.0

Fixes Applied:

  1. XDR sanitizer issue - patched sanitizer_platform_limits_posix.cpp to disable XDR checks on macOS (HAVE_RPC_XDR_H && !SANITIZER_MAC)
  2. XRay CFI assembly issue - commented out CFI macros in xray_trampoline_x86_64.S that caused "invalid CFI advance_loc expression" errors with macOS 15 SDK assembler

Archive Location: https://drive.google.com/file/d/1GAvlzRv2N2Vth8o_GFfC2qCs8KZ79Rhn/view?usp=sharing

Checksums:

RMD160: 9fa380d295eea0ef84722ea5587ec6d0f2d915c8

SHA256: 93fcc53555425795e7010a6e0039f203a872b8f84dddb1b742fa519ccea7891d

Request: Please upload to packages.macports.org for Darwin 24 x86_64 users. This will enable binary-only installation on macOS 15 Sequoia without requiring source compilation.

Attachments (1)

WORKING_CLANG_11_MACPORTS_INSTALL_COMMAND.sh (1.7 KB) - added by rrr9rrr 5 weeks ago.
This file would allow to exactly reproduce the build if ran.

Download all attachments as: .zip

Change History (3)

Changed 5 weeks ago by rrr9rrr

This file would allow to exactly reproduce the build if ran.

comment:1 Changed 5 weeks ago by jmroot (Joshua Root)

Keywords: sequoia added; clang clang 11 Sequoia removed
Owner: set to jeremyhu
Status: newassigned

comment:2 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)

Summary: clang-11: Provide binary archive for Darwin 24 (macOS 15 Sequoia)clang-11: Support building on Darwin 24 (macOS 15 Sequoia)

We don't manually upload files to packages.macports.org; they appear there automatically after our build system does a successful build.

Currently, the clang-11 port indicates that it is only compatible with Darwin versions less than 23; that's why we don't attempt builds for newer OS versions or have binaries available for them. The commit message doesn't say why this restriction was added but presumably it was because the port was found not to build on newer systems.

If your proposed changes allow the port to build on newer systems, that's great! Ideally, proposals should be submitted as a pull request.

Note: See TracTickets for help on using tickets.