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

Add -no_uuid for hermetic macOS toolchain setup #14190

Conversation

keith
Copy link
Member

@keith keith commented Oct 28, 2021

The content based uuid embedded by ld64 contains the basename of the
file being built. In the case of multiarch builds this filename is
randomly generated. This doesn't hit in all cases based on the order of
the arguments to clang, but since this shouldn't have a downside for
this use case, it's safer to exclude this for the future.

More conversation #14168

Filed with apple as FB9727658

The content based uuid embedded by ld64 contains the basename of the
file being built. In the case of multiarch builds this filename is
randomly generated. This doesn't hit in all cases based on the order of
the arguments to clang, but since this shouldn't have a downside for
this use case, it's safer to exclude this for the future.

More conversation bazelbuild#14168

Filed with apple as FB9727658
@google-cla google-cla bot added the cla: yes label Oct 28, 2021
@oquenchil oquenchil self-assigned this Nov 2, 2021
@oquenchil oquenchil self-requested a review November 2, 2021 14:34
@oquenchil oquenchil added the team-Rules-CPP Issues for C++ rules label Nov 2, 2021
Copy link
Contributor

@oquenchil oquenchil left a comment

Choose a reason for hiding this comment

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

LGTM

@bazel-io bazel-io closed this in 917e15e Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-Rules-CPP Issues for C++ rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants