curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: --disable-symbol-hiding not working anymore?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 31 Jul 2018 17:58:48 +0200

On Tue, Jul 31, 2018 at 03:50:20PM +0200, Ran Mozes wrote:
> As you can see the outcome is different which leads me to suspect something did
> change in curl over time but perhaps
> won’t show in the output when using the „V=1“ flag.

I took a look at this when Ran contacted me about it directly earlier, before I
suggested contacting the list, and this is what I said:

> I just tried it and I've found the same. "nm libcurl.so" shows that the symbol is
> internal, and, sure enough, the linker line says
>
> -Wl,-version-script -Wl,.libs/libcurl.ver
>
> which means that it's still hiding the symbols using this mechanism, even if
> it's not using the --disable-symbol-hiding mechanism. However, adding
> --disable-versioned-symbols to stop that mechanism doesn't actually stop that
> flag from being added.

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