-
Notifications
You must be signed in to change notification settings - Fork 709
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
Make GFp_armcap_P
/ring_core_*_OPENSSL_armcap_P
a hidden symbol
#1808
Milestone
Comments
Related Rust issues/enhancement requests: |
PR #1823 attempts to address this. |
Fixed (I speculate) in 0.17.6 by PR #1823. It would be great to get confirmation that this is indeed fixed. |
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 29, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 29, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 29, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
May 30, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
Jul 5, 2024
We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
bwoebi
added a commit
to DataDog/libdatadog
that referenced
this issue
Jul 9, 2024
* Bump rustls version to 0.23 We were running into symbol issues with older rustls versions, see briansmith/ring#1808. Note that the new rustls version requires nasm to be installed on windows, so we install it in CI. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Require at least aws-lc-rs 1.8 Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Use ring instead of aws-lc-sys due to aws/aws-lc-rs#453 Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Use ring for windows only, as aws-lc-sys has link issues on windows. But aws-lc-sys is actually preferable. Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> --------- Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When one tries to create a
--crate-type=staticlib
or similar,GFp_armcap_P
will be exported from the staticlib. If that static library is then linked into Rust program that depends on ring, the user will get "duplicate symbol" errors for this symbol. The hypothesis is that this is due to the symbol not having visibility=hidden.This symbol is special because it is
prefixed_export!
which means it gets a#[export_name = "..."]
annotation. Other symbols aren't so affected on ARM because they are defined in C and are given visibility=hidden.On non-ARM/Aarch64/x86/x86-64 targets,
bn_mul_mont
is affected in the same way for the same reason. That should be rectified as well. Basically we need to removeprefixed_export!
and all its uses.The text was updated successfully, but these errors were encountered: