-
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
After upgrading to bazel 7.0.0 gcc fails with: --push-state: unknown option #20834
Comments
@bazel-io fork 7.0.1 |
@fmeum Are you looking into a fix? This seems to be the only blocker for 7.0.1 |
@meteorcloudy Yes, the speculative fix is #20833. Unfortunately the reporter is unable to test this and it's also very challenging to cover in integration tests. |
Bazel forces use of `lld` and `ld.gold` if found, but performed feature detection on the default linker instead. Fixes bazelbuild#20834 Closes bazelbuild#20833. PiperOrigin-RevId: 598565598 Change-Id: I4890f278c5cc33d4e6a6ebb10d796fb1c22f9ba6
A fix for this issue has been included in Bazel 7.0.1 RC2. Please test out the release candidate and report any issues as soon as possible. Thanks! |
Verified that 7.0.1 fixes this issue. |
@bazel-io fork 7.1.0 |
Bazel forces use of `lld` and `ld.gold` if found, but performed feature detection on the default linker instead. Fixes bazelbuild#20834 Closes bazelbuild#20833. PiperOrigin-RevId: 598565598 Change-Id: I4890f278c5cc33d4e6a6ebb10d796fb1c22f9ba6
…20990) Bazel forces use of `lld` and `ld.gold` if found, but performed feature detection on the default linker instead. Fixes #20834 Closes #20833. Commit 2bfe045 PiperOrigin-RevId: 598565598 Change-Id: I4890f278c5cc33d4e6a6ebb10d796fb1c22f9ba6 --------- Co-authored-by: Fabian Meumertzheim <[email protected]>
Description of the bug:
After upgrading to bazel 7.0.0 the builds in our internal CIs that have an old gcc compiler are failing with:
seems that the check for is_push_state_supported in 2482322 is not working well
Which category does this issue belong to?
C++/Objective-C Rules
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
MacOS and Linux
What is the output of
bazel info release
?release 7.0.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
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
2482322
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: