[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] [PATCH] Further fix to visibility flag testing with Solar
From: |
Alan Coopersmith |
Subject: |
Re: [ft-devel] [PATCH] Further fix to visibility flag testing with Solaris Studio compilers |
Date: |
Sun, 6 May 2018 10:34:40 -0700 |
User-agent: |
Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 05/ 6/18 10:24 AM, Alexei Podtelezhnikov wrote:
>> AC_LINK_IFELSE does the compile and then tries to link the result...
>> Signed-off-by: Alan Coopersmith <address@hidden>
>
> Thank you, Alan. Wouldn't you want libtool to do it for you? There is
> also IBM's -qvisibility and HP's -Bhidden. Most others define do
> -fvisibility and define __GNUC__.
>
> I put up a proposal for LT_INIT(elf-hidden),
> http://lists.gnu.org/archive/html/libtool/2018-02/msg00011.html. But I
> do not have enough expertise to see it through. Somebody should have
> used there GSoC slot for this.
>
That would save every project having to reinvent this wheel, but I've
not got time to drive that forward right now, nor access to IBM & HP
machines to ensure it's correctly defined for them.
--
-Alan Coopersmith- address@hidden
Oracle Solaris Engineering - https://blogs.oracle.com/alanc