Subject: Re: -export-symbols-regex

Re: -export-symbols-regex

From: Gregor Jasny <jasny_at_vidsoft.de>
Date: Tue, 09 Jun 2009 10:42:17 +0200

Yang Tse wrote:
> The -export-symbols-regex libtool option was introduced in libtool in
> 1999, now ten years later it certainly still misbehaves on solaris
> systems using the solaris linker creating unusable shared libraries.

Do you have some pointers to e.g. bug reports?

> If this is the case with a platform widely available, I don't even
> dare to imagine what will happen on less common systems.
>
> My opinion is to remove now the -export-symbols-regex libtool option
> introduced in Makefile.am nearly one month ago and never released.
>
> And if someone wants to reduce the number of exported sysmbols provide
> a patch based on the 'visibility' attribute for GNUC and __global for
> Sun compilers, taking in account also Windows DLLs.

How about enabling it conditionally for gnu systems until a visibility
patch is available?

Gregor
Received on 2009-06-09