-
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
ASan link order error with Bazel 6.1.0 and non-Xcode toolchain #17686
Comments
@keith @kshyanashree This is breaking Bazel support in our open-source tool with 6.1.0. It would be great if we could get a bugfix release. |
@bazel-io flag |
Looks like 0f9912b is a regression, we probably should do a patch release. /cc @keith @brentleyjones @buildbreaker2021 |
@meteorcloudy lets just revert out of 6.x (personally I didn't care if it was in there at all), and then try to do some fix at HEAD |
Sounds fine, but 6.1.1 can definitely go out much faster than 6.2, so let's revert that change in a patch release (as if we never cherry picked it). |
Also note I'm trusting the report here since I don't know off hand why this would cause this issue |
I also don't know why this flag would break us and definitely don't understand it well enough to even risk a guess. Our example is very simple and works as expected on Linux (clang) and Windows (MSVC and clang-cl) as well as macOS with Bazel 6, so I leaned towards "blaming" the change that added the toolchain flag. @keith Happy to look into the root cause of this together at some point. |
@fmeum Can you confirm reverting that change in 6.1 fixes the regression? |
@meteorcloudy Yes, I can confirm that it does. |
after looking into this a bit with fabian i think it's on the consumer side, but we can revert for 6.x still and let folks fix in 7.x instead |
@bazel-io fork 6.1.1 |
Reverted in 6.1.1 - #17696 |
@bazel-io fork 6.2.0 |
Description of the bug:
Since 0f9912b, which is included in Bazel 6.1.0 but not 6.0.0, ASan builds that don't use the Xcode toolchain fail at runtime with:
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Which operating system are you running Bazel on?
macOS
What is the output of
bazel info release
?6.1.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: