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

Declare support for gcc_quoting_for_param_files feature in Unix cc_toolchain #21699

Conversation

brentleyjones
Copy link
Contributor

@brentleyjones brentleyjones commented Mar 14, 2024

This was missed with a9e5a32. Without this change, gcc_quoting_for_param_files does nothing, because FeatureConfiguration.isEnabled() will always return false. Without gcc_quoting_for_param_files, linking can fail for files with spaces in them.

…toolchain

This was missed with a9e5a32. Without this change, `gcc_quoting_for_param_files` does nothing. Without `gcc_quoting_for_param_files`, linking can fail for files with spaces in them.

Signed-off-by: Brentley Jones <github@brentleyjones.com>
@github-actions github-actions bot added team-Rules-CPP Issues for C++ rules awaiting-review PR is awaiting review from an assigned reviewer labels Mar 14, 2024
@brentleyjones
Copy link
Contributor Author

@bazelbuild/triage in case @googlewalt isn't the right person to review this (it was his original change though), can you assign another reviewer?

@brentleyjones
Copy link
Contributor Author

@bazel-io flag

@bazel-io bazel-io added the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Mar 15, 2024
@keertk
Copy link
Member

keertk commented Mar 15, 2024

This is for 7.2.0, correct?

@brentleyjones
Copy link
Contributor Author

Yes, it's not urgent, but ideally can go into 7.x.

@keertk
Copy link
Member

keertk commented Mar 15, 2024

@bazel-io fork 7.2.0

@bazel-io bazel-io removed the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Mar 15, 2024
@iancha1992 iancha1992 added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Mar 15, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Mar 19, 2024
@brentleyjones brentleyjones deleted the bj/declare-support-for-gcc_quoting_for_param_files-feature-in-unix-cc_toolchain branch March 19, 2024 17:50
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Mar 25, 2024
…toolchain

This was missed with a9e5a32. Without this change, `gcc_quoting_for_param_files` does nothing, because `FeatureConfiguration.isEnabled()` will always return false. Without `gcc_quoting_for_param_files`, linking can fail for files with spaces in them.

Closes bazelbuild#21699.

PiperOrigin-RevId: 617092387
Change-Id: Ifcd4378d2120e2e75e2e72a4b0059b41ba5ce833
Wyverald pushed a commit that referenced this pull request Apr 2, 2024
…Unix cc_toolchain (#21798)

This was missed with a9e5a32. Without
this change, `gcc_quoting_for_param_files` does nothing, because
`FeatureConfiguration.isEnabled()` will always return false. Without
`gcc_quoting_for_param_files`, linking can fail for files with spaces in
them.

Closes #21699.

PiperOrigin-RevId: 617092387
Change-Id: Ifcd4378d2120e2e75e2e72a4b0059b41ba5ce833

Commit
bd2da6e

Co-authored-by: Brentley Jones <github@brentleyjones.com>
Co-authored-by: Ian (Hee) Cha <heec@google.com>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.2.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.2.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants