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

Reverting gcc -BSymbolic due to symbol collisions #156

Merged
merged 24 commits into from
Feb 12, 2023
Merged

Conversation

zalmane
Copy link
Contributor

@zalmane zalmane commented Feb 9, 2023

No description provided.

@zalmane
Copy link
Contributor Author

zalmane commented Feb 9, 2023

This PR adds a -BSymbolic flag to the linker. This is needed to avoid symbol collision in case we are importing hiredis from an embedded interpreter where an existing hiredis is also present. An example of this is RedisGears.
The collision causes a crash. This linker flag ensures that the bindings refer to the hiredis.so within the hiredis-py and avoids conflict with other hiredis libraries installed in other scopes.

@chayim chayim added the bug label Feb 12, 2023
@chayim chayim changed the title revert back to using BSymbolic for Redis Gears Reverting gcc -BSymbolic due to symbol collisions Feb 12, 2023
@chayim chayim merged commit a5574a9 into redis:master Feb 12, 2023
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.

4 participants