curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 2 Aug 2018 08:27:14 +0200

On Wed, Aug 01, 2018 at 07:56:47AM +0200, Ran Mozes wrote:
> Thanks for confirming the issue.
>
> Any ideas how to patch the make process in order to work around the issue?

It looks to me like libtool is doing this on its own now for some reason. This
is an ugly workaround, but it should work. Instead of the normal package
config & build steps, try this:

    ./buildconf
    sed -i -e 's/supports_anon_versioning=yes/supports_anon_versioning=no/' m4/libtool.m4
    autoreconf
    ./configure --disable-symbol-hiding --disable-versioned-symbols
    make

This forces libtool to not do the symbol versioning stuff that it's doing that
causes symbol hiding as a side effect. An alternative solution to the above is
likely to downgrade to a libtool version that didn't do this.

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