Bug 82785

Summary: libevdev's static library leaks symbols
Product: libevdev Reporter: Peter Hutterer <peter.hutterer>
Component: CoreAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 82292    

Description Peter Hutterer 2014-08-18 22:13:39 UTC
libevdev 1.2.99.901 leaks two symbols that can have a potential conflict with its users:

$ nm libevdev.a | grep log_
0000000000000000 T log_msg
0000000000000000 T log_priority

see Bug 82292 for an example of a conflict with libinput.

Controlling symbol visibility in a static library turns out to be rather tricky, so our best bet is making sure that the symbols don't leak in the first place, or are properly namespaced. see the thread below for the latter:
http://lists.freedesktop.org/archives/input-tools/2014-August/001061.html

This bug is mostly for the archives so we can point to something.
Comment 1 Peter Hutterer 2014-08-20 06:45:05 UTC
commit e4c315fc160355958c8db98c0b762e9d2d3bbdb9
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Aug 18 14:03:43 2014 +1000

    Rename symbols leaking from static library to avoid name clashes

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.