-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
MacOS crosstool configures /usr/bin/strip with invalid flags #4028
Comments
jmillikin-stripe
added a commit
to jmillikin-stripe/bazel
that referenced
this issue
Nov 6, 2017
damienmg
added
category: rules > C++
P2
We'll consider working on this in future. (Assignee optional)
type: bug
labels
Nov 8, 2017
Hi John, internal reviewer asked for tests, could you add some to src/test/shell/bazel/apple/bazel_objc_test.sh please? |
jmillikin-stripe
added a commit
to jmillikin-stripe/bazel
that referenced
this issue
Nov 13, 2017
Test added, to I'm some trouble running the test (with changes or at HEAD) because Bazel gets into an infinite loop and consumes all my disk. I'll keep trying. |
jmillikin-stripe
added a commit
to jmillikin-stripe/bazel
that referenced
this issue
Nov 13, 2017
jmillikin-stripe
added a commit
to jmillikin-stripe/bazel
that referenced
this issue
Nov 14, 2017
jmillikin-stripe
added a commit
to jmillikin-stripe/bazel
that referenced
this issue
Nov 15, 2017
Fixes bazelbuild#4028 Also fixes bazelbuild#4085 by removing incorrect output redirection from the Darwin integration tests used to verify `strip` works.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This report is against Bazel release 0.7.0.
tools/osx/crosstool/CROSSTOOL.tpl
configures/usr/bin/strip
with multiple-R
flags. In the GNU toolchain this flag removes a named section, but Clang (installed by Apple's dev tools) has a different definition of the-R
flag.This causes builds of stripped binaries to fail on MacOS:
Here's the workspace content to reproduce:
The text was updated successfully, but these errors were encountered: