Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-14: Fix build under Xcode 15, re-enabling sanitizers on macOS 14 #20625

Merged
merged 1 commit into from
Sep 28, 2023

Commits on Sep 28, 2023

  1. clang-14: Fix build under Xcode 15, re-enabling sanitizers on macOS 14

    This also reverts the following as they relate to clang-14:
    
    370d81a llvm-14: Allow build on darwin23 but disable sanitizers
    0c2af47 llvm-{10-14}: Restrict to darwin < 23
    
    Note that the actual incompatibility was not strictly between clang-14
    and Darwin 23 (macOS 14) as these previous commits suggest. The
    incompatibility existed between clang-14 and the macOS 14 SDK, which is
    part of Xcode 15. The incompatibility equally affected clang-14 on macOS
    13 (Darwin 22) using Xcode 15.
    
    This also makes the compiler-rt build for various runtimes targeting iOS
    and iOS Simulator work correctly by removing the macOS SDK -syslibroot
    when linking, allowing the platform-specific SDK provided by the Clang
    build to be effective.
    
    Fixes: https://trac.macports.org/ticket/68257
    markmentovai committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    6c6c64f View commit details
    Browse the repository at this point in the history