Skip to content

Conversation

@nresare
Copy link
Contributor

@nresare nresare commented Nov 14, 2021

This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: #14273

This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: bazelbuild#14273
@google-cla google-cla bot added the cla: no label Nov 14, 2021
@keith
Copy link
Member

keith commented Nov 15, 2021

@nresare looks like you need to sign the CLA here

@nresare
Copy link
Contributor Author

nresare commented Nov 15, 2021

@googlebot I signed it!

Copy link
Member

@keith keith left a comment

Choose a reason for hiding this comment

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

I can't reproduce this, I assume because I installed Xcode which altered the system some way. But This not being here seems like an oversight anyways so it seems like a good fix

@nresare
Copy link
Contributor Author

nresare commented Nov 17, 2021

@google-cla I signed it!

@keith
Copy link
Member

keith commented Nov 21, 2021

@gregestren since you were triaging related issues maybe you can help get this merged? It should fix #14216

// @oquenchil

@EdSchouten
Copy link
Contributor

Maybe worth cherry-picking this onto the 4.2 branch and releasing a 4.2.2? Seems pretty serious if you ask me.

@gregestren gregestren added the team-Rules-CPP Issues for C++ rules label Nov 22, 2021
@gregestren
Copy link
Contributor

@keith happy to but since I'm not a domain expert here my main role is going to be routing.

I assigned to the Rules / CPP team and @comius team lead according to triage policy.

Also CC'ing @meteorcloudy and @Wyverald who are listed at #14013 re: qualifying for a 4.2 branch.

@bazel-io bazel-io closed this in ae0a6c9 Nov 23, 2021
nresare added a commit to nresare/bazel that referenced this pull request Nov 23, 2021
This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: bazelbuild#14273

Closes bazelbuild#14275.

PiperOrigin-RevId: 411840375
kalbasit added a commit to kalbasit/nixpkgs that referenced this pull request Nov 23, 2021
This was fixed by enabling the user_link_flags_feature for macosx cc_toolchain_config.

References:
- bazelbuild/bazel#14216
- bazelbuild/bazel#14275
meteorcloudy pushed a commit that referenced this pull request Nov 24, 2021
This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: #14273

Closes #14275.

PiperOrigin-RevId: 411840375
nresare added a commit to nresare/bazel that referenced this pull request Nov 24, 2021
This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: bazelbuild#14273

Closes bazelbuild#14275.

PiperOrigin-RevId: 411840375
meteorcloudy pushed a commit that referenced this pull request Nov 24, 2021
This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: #14273

Closes #14275.

PiperOrigin-RevId: 411840375
kalbasit added a commit to NixOS/nixpkgs that referenced this pull request Nov 24, 2021
This was fixed by enabling the user_link_flags_feature for macosx cc_toolchain_config.

References:
- bazelbuild/bazel#14216
- bazelbuild/bazel#14275
github-actions bot pushed a commit to NixOS/nixpkgs that referenced this pull request Nov 24, 2021
This was fixed by enabling the user_link_flags_feature for macosx cc_toolchain_config.

References:
- bazelbuild/bazel#14216
- bazelbuild/bazel#14275

(cherry picked from commit dc8d4f3)
github-actions bot pushed a commit to NixOS/nixpkgs that referenced this pull request Nov 24, 2021
This was fixed by enabling the user_link_flags_feature for macosx cc_toolchain_config.

References:
- bazelbuild/bazel#14216
- bazelbuild/bazel#14275

(cherry picked from commit dc8d4f3)
mkg20001 pushed a commit to mkg20001/nixpkgs that referenced this pull request Nov 29, 2021
)

This was fixed by enabling the user_link_flags_feature for macosx cc_toolchain_config.

References:
- bazelbuild/bazel#14216
- bazelbuild/bazel#14275
Bencodes pushed a commit to Bencodes/bazel that referenced this pull request Jan 10, 2022
This will cause the values passed in the link_libs parameters
to not get silently dropped on macOS 12 Monterey, and fix
the problem where the command line dev tools toolchain
will output C++ binaries fails to start with a segmentation
fault error.

Fixes: bazelbuild#14273

Closes bazelbuild#14275.

PiperOrigin-RevId: 411840375
tholenst pushed a commit to tink-crypto/tink that referenced this pull request Feb 3, 2022
bazel 4.2.1 has a problem on MacOS Monterey that was fixed in 4.2.2:
bazelbuild/bazel#14275

PiperOrigin-RevId: 425548083
yancl added a commit to yancl/bazel that referenced this pull request Nov 3, 2023
fix protoc crash on macos 12.x

see bazelbuild#14275
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.

C++ rules broken on macOS 12 Monterey and command line developer tools

5 participants