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

Hide ruby native extension symbols on FreeBSD #10832

Closed
wants to merge 1 commit into from

Conversation

dankm
Copy link
Contributor

@dankm dankm commented Oct 27, 2022

They probably should be hidden on every ELF platform, but for now only do it on Darwin, Linux, and FreeBSD.

This prevents some load-time errors that have been seen in GitLab's gitaly server, and in a few other places.

@google-cla
Copy link

google-cla bot commented Oct 27, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@dankm
Copy link
Contributor Author

dankm commented Oct 27, 2022

Hm. That commit message needs editing. I wonder if all the build checks will restart if I just update it?

@acozzette
Copy link
Member

I would need to manually kick off the builds again, but I'm happy to do that if you want to edit the commit message.

They probably should be hidden on every ELF platform, but for
now only do it on Darwin, Linux, and FreeBSD.

This prevents some load-time errors that have been seen in
GitLab's gitaly server, and in a few other places.
@dankm
Copy link
Contributor Author

dankm commented Oct 27, 2022

Sure, now the commit message doesn't look like somebody who got distracted while writing it ;)

@dankm
Copy link
Contributor Author

dankm commented Nov 1, 2022

This relates to this FreeBSD review.

@dankm
Copy link
Contributor Author

dankm commented Nov 10, 2022

Anybody else who should be added to help review this?

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Nov 19, 2022
If more than one version of this gem is installed it causes segfaults.
The problem is reported also here:
https://gitlab.com/gitlab-org/gitlab/-/issues/345693

I created a merge request upstream for this patch:
protocolbuffers/protobuf#10832
protocolbuffers/protobuf#11029

PR:		266925
Approved by:	sunpoet (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D37140
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants