Bug 82785 - libevdev's static library leaks symbols
Summary: libevdev's static library leaks symbols
Alias: None
Product: libevdev
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact:
Depends on:
Blocks: 82292
  Show dependency treegraph
Reported: 2014-08-18 22:13 UTC by Peter Hutterer
Modified: 2014-08-20 06:45 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Peter Hutterer 2014-08-18 22:13:39 UTC
libevdev 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:

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.