[PATCH libICE] Enable visibility annotations

Emil Velikov emil.l.velikov at gmail.com
Tue Apr 26 11:14:39 UTC 2016


On 26 April 2016 at 07:54, Yury Gribov <y.gribov at samsung.com> wrote:
> On 04/20/2016 10:03 AM, Yury Gribov wrote:
>>
>> On 04/19/2016 06:35 PM, Yury Gribov wrote:
>>>
>>> On 04/18/2016 06:21 PM, Adam Jackson wrote:
>>>>
>>>> On Mon, 2016-04-18 at 09:23 +0300, Yury Gribov wrote:
>>>>
>>>>> Does below look like a sane approach?
>>>>> 1) get all deps via
>>>>>     $ apt-cache rdepends libice6 libice-dev
>>>>> 2) unpack each of the above .debs and scan for ELFs
>>>>> 3) for each ELF see if one of now hidden symbols is UND
>>>>
>>>>
>>>> That sounds good to me.
>>>
>>>
>>> I've cooked a simple script (attached, reviews welcome) and applied it
>>> to Ubuntu 14. It showed that there are additional uses for
>>> _IceTransNoListen (mentioned by Alan in separate email) but nothing else.
>>>
>>>>> Note that this does not handle transitive dependencies e.g. if some
>>>>> weird library links static version of libICE and the re-exports it's
>>>>> symbols as part of new lib's public interface.
>>>>
>>>>
>>>> It'd be possible to scan for this too I suspect.  Look for packages
>>>> that BuildRequire libice6-static, scan the resulting binaries for
>>>> exports. I suspect there are zero such packages.
>>>
>>>
>>> I have postponed this activity for now (especially given that this
>>> behavior would be a serious packaging abuse).
>>
>>
>> Here's an updated patch with added _IceTransNoListen.  Does this look
>> better now?
>
>
> Ping.
>
Pong. Sending patches as attachments is not the most productive way to
get things reviewed ;-)

But seriously, you want to update the configure.ac to handle more than
just GCC. Feel free to copy some/most of the logic from xserver's
configure.ac

Emil


More information about the xorg-devel mailing list