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) #1

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from
Open

Conversation

rwooster
Copy link

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 linker warnings on macOS XCode 14: ld: warning: -undefined dynamic_lookup may not work with chained fixups 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.

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