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

Fix MacOS runtime / symbol definition errors #615

Merged
merged 5 commits into from
Sep 14, 2024

Conversation

JamesPiechota
Copy link
Collaborator

@JamesPiechota JamesPiechota commented Sep 14, 2024

On MacOS the symbols in each of the statically linked librandomx.a libraries conflicted at runtime causing error or segfaults. The fix is to build the libraries with the -fvisibility=hidden flag. This prevents the symbols from being exported beyond the .so that the libraries are linked into.

@JamesPiechota JamesPiechota marked this pull request as ready for review September 14, 2024 20:17
@JamesPiechota JamesPiechota changed the title Jp/debug dataset 20240914 Fix MacOS runtime / symbol definition errors Sep 14, 2024
@JamesPiechota JamesPiechota merged commit 594ee0a into jp/randomx-dataset3-20240906 Sep 14, 2024
2 checks passed
@JamesPiechota JamesPiechota deleted the jp/debug-dataset-20240914 branch September 14, 2024 20:19
JamesPiechota added a commit that referenced this pull request Sep 14, 2024
On MacOS the symbols in each of the statically linked librandomx.a libraries conflicted at runtime causing error or segfaults. The fix is to build the libraries with the -fvisibility=hidden flag. This prevents the symbols from being exported beyond the .so that the libraries are linked into.
JamesPiechota added a commit that referenced this pull request Sep 14, 2024
On MacOS the symbols in each of the statically linked librandomx.a libraries conflicted at runtime causing error or segfaults. The fix is to build the libraries with the -fvisibility=hidden flag. This prevents the symbols from being exported beyond the .so that the libraries are linked into.
JamesPiechota added a commit that referenced this pull request Sep 14, 2024
On MacOS the symbols in each of the statically linked librandomx.a libraries conflicted at runtime causing error or segfaults. The fix is to build the libraries with the -fvisibility=hidden flag. This prevents the symbols from being exported beyond the .so that the libraries are linked into.
JamesPiechota added a commit that referenced this pull request Sep 20, 2024
On MacOS the symbols in each of the statically linked librandomx.a libraries conflicted at runtime causing error or segfaults. The fix is to build the libraries with the -fvisibility=hidden flag. This prevents the symbols from being exported beyond the .so that the libraries are linked into.
JamesPiechota added a commit that referenced this pull request Sep 20, 2024
On MacOS the symbols in each of the statically linked librandomx.a libraries conflicted at runtime causing error or segfaults. The fix is to build the libraries with the -fvisibility=hidden flag. This prevents the symbols from being exported beyond the .so that the libraries are linked into.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant