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

Link libXrdServer to libatomic on riscv64 #1505

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

ellert
Copy link
Contributor

@ellert ellert commented Sep 5, 2021

Link libXrdServer to libatomic on riscv64 to avoid undefined references:

/usr/bin/ld: libXrdServer.so.3.0.0: undefined reference to `__atomic_fetch_or_1'
/usr/bin/ld: libXrdServer.so.3.0.0: undefined reference to `__atomic_fetch_sub_1'
/usr/bin/ld: libXrdServer.so.3.0.0: undefined reference to `__atomic_fetch_and_1'
/usr/bin/ld: libXrdServer.so.3.0.0: undefined reference to `__atomic_fetch_add_1'
collect2: error: ld returned 1 exit status

@ellert ellert changed the title Expand the atomics test to test for char (8 bit) versions in addition to long long (64 bit) versions WIP: Expand the atomics test to test for char (8 bit) versions in addition to long long (64 bit) versions Sep 5, 2021
@ellert
Copy link
Contributor Author

ellert commented Sep 5, 2021

This didn't help - marking work in progress.

@ellert ellert changed the title WIP: Expand the atomics test to test for char (8 bit) versions in addition to long long (64 bit) versions Link libXrdServer to libatomic on riscv64 Sep 5, 2021
@ellert
Copy link
Contributor Author

ellert commented Sep 5, 2021

This solution works! Remove work in progress marker.

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.

None yet

2 participants