-
Notifications
You must be signed in to change notification settings - Fork 4k
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
DSYM fails to generate with ObjC Crosstool #3372
Comments
cc @calpeyser do you have any suggestions around this one? It looks like the DSYM is generated during the build, but the |
Hm not sure what I can do here. As a start, @jerrymarino, can you dump your build log with |
We're working on a solution in the CROSSTOOL to add DYSM generation, hopefully it will go out next week. |
Cal, is this done? (See #3940) |
…is compiled as part of bazel's repository bootstrap. This should make crosstool's clang invocations faster. An added benefit of this is that wrapped_clang.cc supports the "DSYM_HINT" flags specified through the CROSSTOOL, so with this change, apple_binary gets support for the --apple_generate_dsym flag. The dSYM generation issue has been flagged multiple times: #4312 #3940 #3372 RELNOTES: apple_binary can now generate dSYM outputs with the --apple_generate_dsym=true flag. PiperOrigin-RevId: 184688215
This should be fixed at head, probably will take a while to get rolled out to a release binary. |
Description of the problem / feature request / question:
The DSYM fails to generate with the presence of a crosstool:
Build options:
Output:
If possible, provide a minimal example to reproduce the problem:
I've attached an example project and iOS app that reproduces this.
Environment info
Operating System:
10.12.2 (16C67)
Bazel version (output of
bazel info release
):release 0.5.2
Have you found anything relevant by searching the web?
#3228
Anything else, information or logs or outputs that would be helpful?
The
.bazelrc
in the attached sample project setsgenerate_dsym_file
through--apple_generate_dsym
. It looks like this issue happens in bothrules_apple
and native bazel iOS rulesHere is a test project including a basic iOS app:
bazel-crosstool-dsym-failure-submit.zip
The
README
has more info, but simply runbazel build ios-app
The text was updated successfully, but these errors were encountered: