Skip to content

Conversation

tyler-yankee
Copy link
Collaborator

@tyler-yankee tyler-yankee commented Jul 15, 2025

Drake upstream has switched to using prefer_pic_for_opt_binaries, which supplants --force_pic (and avoids the platform-specific logic of when to use it). Downstream users must also apply it to their own builds.

Closes #20336.


This change is Reviewable

Drake upstream has switched to using prefer_pic_for_opt_binaries, which
supplants --force_pic (and avoids the platform-specific logic of when to
use it). Downstream users must also apply it to their own builds.
Copy link
Collaborator Author

@tyler-yankee tyler-yankee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@jwnimmer-tri for review, please.

Reviewable status: 1 unresolved discussion, LGTM missing from assignee jwnimmer-tri, platform LGTM missing (waiting on @jwnimmer-tri)


a discussion (no related file):
Let's land the Drake change before landing this one.

Copy link
Contributor

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 2 unresolved discussions, LGTM missing from assignee jwnimmer-tri, platform LGTM missing


a discussion (no related file):
Working

Let's wait for bazelbuild/rules_cc#456 to land upstream and be released, before we land this DEE change.

(Note that Drake's MODULE.bazel injection of the patch fix doesn't inherit downstream; it's a Drake-first-party-only change.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants