-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Abseil bazel build fails on Apple M1 (ARM64) #954
Comments
Still happening with Bazel 4.1 for me. |
I can confirm this. |
Unfortunately I don't have the hardware to test this at the moment. Those of you who are experiencing the issue, can you try building with Another thing you could try is to tweak the conditional here and here to include this platform. Thread-local storage has been a major pain on Apple platforms in general. Thanks to those who have reported this. |
For me this works with N = 0 and fails otherwise. |
* Fixes build with glibc 2.34 (abseil#952) * Fixes "illegal thread local variable" on some Apple platforms (abseil#954, abseil#965) PiperOrigin-RevId: 371693908
This fix for this issue as been backported to the latest LTS release: https://github.com/abseil/abseil-cpp/releases/tag/20210324.2. |
Describe the bug
I'm on a Mac mini M1 (ARM64), and when I bazel build Abseil I get an error:
Steps to reproduce the bug
Important You'll need a Mac with an M1 chip.
What version of Abseil are you using?
HEAD: a9831f1
What operating system and version are you using
On a Mac Mini M1
What compiler and version are you using?
What build system are you using?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: