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

Fixes for macOS #177

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Fixes for macOS #177

merged 1 commit into from
Jan 17, 2023

Conversation

siddharthab
Copy link
Contributor

With newer versions of macOS, LLVM and Bazel, a few things have changed and need to be accounted.

With newer versions of macOS, LLVM and Bazel, a few things have changed
and need to be accounted.

- Chained fixups is a new feature that generates a warning when dynamic
  lookup is used for undefined symbols. Bazel's default local toolchain
  has now removed the dynamic lookups. See
  bazelbuild/bazel#16413. However, the issue
  is a little more complex, so we keep it for now and document the
  ongoing resolution threads.
- Bazel 6.0.0 onwards have started using @loader_path; we need to update
  the wrapper script to handle these options accordingly.
- Some basic test fixes for macOS M1 when an LLVM distribution is
  available, e.g. for LLVM version 15.0.0.
@siddharthab siddharthab merged commit 1dc9b1b into master Jan 17, 2023
@siddharthab siddharthab deleted the macOS branch January 17, 2023 06:56
rwooster pushed a commit to rwooster/bazel-toolchain that referenced this pull request May 18, 2023
With newer versions of macOS, LLVM and Bazel, a few things have changed
and need to be accounted.

- Chained fixups is a new feature that generates a warning when dynamic
  lookup is used for undefined symbols. Bazel's default local toolchain
  has now removed the dynamic lookups (see
  bazelbuild/bazel#16413). However, the issue
  is a little more complex, so we keep it for now and document the
  ongoing resolution threads between Apple and the community.
- Bazel 6.0.0 onwards have started using @loader_path; we need to update
  the wrapper script to handle these options accordingly.
- Some basic test fixes for macOS M1 when an LLVM distribution is
  available, e.g. for LLVM version 15.0.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant