Page MenuHomeFreeBSD

rubygem-google-protobuf: Use hidden symbols

Authored by on Oct 26 2022, 9:17 PM.
Referenced Files
Unknown Object (File)
Sun, Jul 14, 5:42 AM
Unknown Object (File)
Jun 17 2024, 5:47 PM
Unknown Object (File)
Jun 12 2024, 3:07 PM
Unknown Object (File)
May 6 2024, 5:49 AM
Unknown Object (File)
May 3 2024, 7:21 AM
Unknown Object (File)
May 3 2024, 7:21 AM
Unknown Object (File)
May 3 2024, 5:48 AM
Unknown Object (File)
May 3 2024, 1:49 AM



The Linux and Darwin builds hide the symbols in the native shared
object. This prevents some symbol collisions if this gem is loaded
alongside certain others (that should probably also hide their symbols).

This fixes numerous issues with gitaly and protobuf 3.20 and newer.

Diff Detail

R11 FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

Thanks a lot, I tested it and can confirm that fixes the problem. @sunpoet could you please commit this, as you are the maintainer of these ports.
Thanks a lot.

This revision is now accepted and ready to land.Oct 28 2022, 2:32 PM

Thanks for taking a look. I don't think the change to the 3.19 port is strictly necessary, but as I said in a private email to @mfechner, I do believe that hiding symbols is good practice for ruby gems.

The change to 3.2x *is* necessary, though.