-
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
pdb_file not added to cc_shared_library output group #21602
Comments
Would you be interested in submitting a PR? You could add test coverage here: Line 405 in bb3414c
|
fmeum, I would love to be able to contribute. Sadly my employer will not sign the google agreement, so I cannot contribute to this repo. |
This matches `cc_binary`'s behavior at https://github.com/bazelbuild/bazel/blob/d738910e83427d394526cbdfc8ac665027dd9196/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl#L828-L832 Fixes bazelbuild#21602 Closes bazelbuild#21900. PiperOrigin-RevId: 626309605 Change-Id: I58683eaa2eedd590746e51df8c97833527c409f4
This matches `cc_binary`'s behavior at https://github.com/bazelbuild/bazel/blob/d738910e83427d394526cbdfc8ac665027dd9196/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl#L828-L832 Fixes bazelbuild#21602 Closes bazelbuild#21900. PiperOrigin-RevId: 626309605 Change-Id: I58683eaa2eedd590746e51df8c97833527c409f4
A fix for this issue has been included in Bazel 7.2.0 RC1. Please test out the release candidate and report any issues as soon as possible. |
Description of the bug:
When generate_pdb_file feature is enabled, the pdb_file is built. However, it is not added to the output group of cc_shared_library. The cc_binary rule seems to be ok.
The code in cc_binary that is missing from cc_shared library is:
bazel/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl
Lines 828 to 832 in d738910
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Trivial issue, but I can provide a git repo to reproduce this if it helps
Which operating system are you running Bazel on?
Windows
What is the output of
bazel info release
?release 7.0.2
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 HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
The code in cc_binary that is missing from cc_shared library is:
bazel/src/main/starlark/builtins_bzl/common/cc/cc_binary.bzl
Lines 828 to 832 in d738910
The text was updated successfully, but these errors were encountered: