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
--disable-symbol-hiding not working anymore? #2830
Labels
Comments
@dfandrich also found out that libtool is to blame |
The offending commit that caused the regression (found by @dfandrich): 4b41424 |
bagder
added a commit
that referenced
this issue
Aug 2, 2018
This restores the ability to build a static lib with --disable-symbol-hiding and yet keep non-curl_ symbols. Reported-by: Ran Mozes Fixes #2830
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when configuring curl with "--disable-symbol-hiding" it used to expose the functions
"Curl_base64_encode" and "Curl_base64_decode"
nm ./lib/.libs/libcurl.so | grep encode
[2051] | 68028| 72|FUNC |GLOB |0 |12 |Curl_base64_encode
[2542] | 68100| 72|FUNC |GLOB |0 |12 |Curl_base64_decode
Somewhere along the way this behaviour changed and with the current version 7.61.0 they are no longer exposed and "nm" command shows that they are classified as "LOCL".
For more details please look at the discussion: https://curl.haxx.se/mail/lib-2018-07/0136.html
where Dan Fandrich shares more inside details.
The text was updated successfully, but these errors were encountered: