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

Revert change to use resolved shared lib links #2907

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

glukasiknuro
Copy link
Contributor

@glukasiknuro glukasiknuro commented Jul 1, 2021

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Reverts changes in
https://github.com/bazelbuild/rules_go/pull/2445/files#diff-1fae1aeb9bbd89e02d89a880ef0d1122bd51b265bc281978f01c14fc27f41f47R191

Instead of using resolved shared library name, depend on symlinks that use mangled name.
More details in #2906

Which issues(s) does this PR fix?

Fixes #2906

Other notes for review

Would be great to add some test case for it, but it seems it reproduces using --remote_download_minimal for now. Possibly the issue does not show up without this option, because code is able to escape sandbox and see actual library, but don't have good way for reproducing it atm.

@linzhp linzhp merged commit ba46686 into bazel-contrib:master Apr 28, 2022
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.

Building Cgo code depending on shared libraries fails for --remote_download_minimal
4 participants