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

Problem building on Darwin post-c9894d1dc38577c4ce50eefe0a944ea8d46d7fc5 #892

Closed
zrlk opened this issue Feb 3, 2021 · 1 comment
Closed
Labels

Comments

@zrlk
Copy link

zrlk commented Feb 3, 2021

Describe the bug

I can't build Abseil at or beyond commit c9894d1 on Darwin:

ERROR: /private/var/tmp/_bazel_me/4047a92cde5c126a2747538e6c63dc38/external/com_google_absl/absl/synchronization/BUILD.bazel:68:11: Linking external/com_google_absl/absl/synchronization/libsynchronization.so failed: (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-fastbuild/bin/external/com_google_absl/absl/synchronization/libsynchronization.so-2.params

Use --sandbox_debug to see verbose messages from the sandbox cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-fastbuild/bin/external/com_google_absl/absl/synchronization/libsynchronization.so-2.params

Use --sandbox_debug to see verbose messages from the sandbox
ld: illegal thread local variable reference to regular symbol __ZN4absl13base_internal19thread_identity_ptrE for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What operating system and version are you using

Darwin my.hostname 19.6.0 Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 x86_64

What compiler and version are you using?

Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

What build system are you using?

bazel 4.0.0

@derekmauro
Copy link
Member

Please see bazelbuild/bazel#4341 for the Bazel bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants