curl / Mailing Lists / curl-library / Single Mail

curl-library

--disable-symbol-hiding not working anymore?

From: Ran Mozes <ran.mozes_at_oracle.com>
Date: Tue, 31 Jul 2018 13:42:21 +0200

Hi,

I used to compile curl with the flag "--disable-symbol-hiding“ in the past and
in the created „libcurl.so“ the Curl_base64_decode()/Curl_base64_encode() functions were
seen as „GLOB". (Last time I saw it, it was with version 7.45.0).

-bash-3.2$ nm -gC libcurl.so | grep Curl_base64
[2175] | 65360| 624|FUNC |GLOB |0 |12 |Curl_base64_decode
[2024] | 66456| 72|FUNC |GLOB |0 |12 |Curl_base64_encode

Somewhere along the way this behavior has changed and in the latest version these functions
will show in the „.so“ file as „LOCL“ (hidden).

I have tried removing CURL_CHECK_OPTION_SYMBOL_HIDING and CURL_CHECK_COMPILER_SYMBOL_HIDING from
configure.ac but it didn’t work around the issue.

Our app uses these functions and I’d like to avoid reimplementing them. I’d appreciate a work around for the issue.
I am following the advise of Dan Fandrich (had some email exchange) to report to this alias.

Thanks for your time and help in advance!
Ran

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-07-31