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

[7.3.0] C++: Fix versioned shared libraries for macOS #23172

Closed

Conversation

keith
Copy link
Member

@keith keith commented Jul 31, 2024

The toolchain was passing -l:name. This mechanism doesn' t exist on macOS,
instead the full path to the shared library should be passed.

This is a cherry pick of f0ade80 and eb50e5b

The toolchain was passing -l:name. This mechanism doesn' t exist on macOS,
instead the full path to the shared library should be passed.

To add a proper test like in bazelbuild#20847,
this change must first be checked in, the Apple toolchain needs to be
updated and then the test can be added.

RELNOTES:none
PiperOrigin-RevId: 597366229
Change-Id: Ib7cf237cb6c58a69e781197408d3f703010909da
The commit f0ade80 was missing some required
changes.

The toolchain was passing -l:name. This mechanism doesn' t exist on macOS,
instead the full path to the shared library should be passed.

To add a proper test like in bazelbuild#20847,
this change must first be checked in, the Apple toolchain needs to be
updated and then the test can be added.

RELNOTES:none
PiperOrigin-RevId: 597810345
Change-Id: Ic88feaabdde05143ab145e997de1ef9487af83fd
@keith keith requested a review from a team as a code owner July 31, 2024 17:47
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Rules-CPP Issues for C++ rules labels Jul 31, 2024
@iancha1992 iancha1992 changed the title [7.3.0 C++: Fix versioned shared libraries for macOS [7.3.0] C++: Fix versioned shared libraries for macOS Jul 31, 2024
@iancha1992
Copy link
Member

iancha1992 commented Jul 31, 2024

Unless this is a critical/vulnerability fix, we won't merge this to release-7.3.0, and instead to release-7.4.0 once the branch is created. Thanks! @keith @meteorcloudy @Wyverald

@iancha1992 iancha1992 closed this Jul 31, 2024
@keith keith deleted the ks/cp-versioned-libraries branch July 31, 2024 18:12
@keith
Copy link
Member Author

keith commented Jul 31, 2024

@iancha1992 can we repurpose #23165 for 7.4 so we don't miss it?

@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Jul 31, 2024
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.

3 participants