Skip to content

Conversation

@bazel-io
Copy link
Member

These workarounds were added (in 76b3c24, #14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373).

It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with dyld: missing LC_UUID load command, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe.

CC @keith

Closes #27014.

PiperOrigin-RevId: 811436317
Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb

Commit 433e0e7

These workarounds were added (in 76b3c24, bazelbuild#14168) to enable hermetic macOS toolchain setup, but are no longer necessary as far as I can tell (see also: bazelbuild/apple_support@44c43c715a, bazelbuild/apple_support#373).

It should be noted that macOS Tahoe seems to have enforced that LC_UUID must be present in executables. Executables without it are rejected by dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel from working. It is therefore necessary to drop these workarounds here and in Apple support (done in bazelbuild/apple_support@44c43c715a) in order for Bazel to function on macOS Tahoe.

CC @keith

Closes bazelbuild#27014.

PiperOrigin-RevId: 811436317
Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb
@bazel-io bazel-io requested a review from a team as a code owner September 25, 2025 18:43
@bazel-io bazel-io added team-Rules-CPP Issues for C++ rules team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website awaiting-review PR is awaiting review from an assigned reviewer labels Sep 25, 2025
@bazel-io bazel-io requested a review from keith September 25, 2025 18:43
@bazel-io bazel-io added team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website awaiting-review PR is awaiting review from an assigned reviewer labels Sep 25, 2025
@meteorcloudy meteorcloudy added this pull request to the merge queue Sep 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 29, 2025
@meteorcloudy meteorcloudy added this pull request to the merge queue Sep 29, 2025
Merged via the queue into bazelbuild:release-7.7.0 with commit f348926 Sep 29, 2025
51 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Sep 29, 2025
iancha1992 pushed a commit to iancha1992/bazel that referenced this pull request Oct 6, 2025
…azelbuild#27088)

These workarounds were added (in 76b3c24, bazelbuild#14168) to
enable hermetic macOS toolchain setup, but are no longer necessary as
far as I can tell (see also: bazelbuild/apple_support@44c43c715a,
bazelbuild/apple_support#373).

It should be noted that macOS Tahoe seems to have enforced that LC_UUID
must be present in executables. Executables without it are rejected by
dyld with `dyld: missing LC_UUID load command`, effectively stops Bazel
from working. It is therefore necessary to drop these workarounds here
and in Apple support (done in bazelbuild/apple_support@44c43c715a) in
order for Bazel to function on macOS Tahoe.

CC @keith

Closes bazelbuild#27014.

PiperOrigin-RevId: 811436317
Change-Id: I9d819fdbc2b76ad4ee5abb1fc0c4eb1ee1b442fb

Commit
bazelbuild@433e0e7

Co-authored-by: Ruoyu Zhong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website team-Rules-CPP Issues for C++ rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants