After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770515 - Export _IO_stdin_used symbol in NetworkManager.ver
Export _IO_stdin_used symbol in NetworkManager.ver
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-08-28 14:01 UTC by Michael Biebl
Modified: 2016-08-31 09:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Export _IO_stdin_used symbol in NetworkManager.ver (1.25 KB, patch)
2016-08-28 14:03 UTC, Michael Biebl
none Details | Review

Description Michael Biebl 2016-08-28 14:01:23 UTC
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835550

This symbol is required to decide which version of certain IO functions
to use on various architectures. So we can't strip away the symbol from
the NetworkManager binary as this will lead to segfaults on those
architectures.
    
Thanks James Cowgill and Aurelien Jarno for the bug report and detailed
analysis.

The Debian bug report has some more details.
Comment 1 Michael Biebl 2016-08-28 14:03:10 UTC
Created attachment 334311 [details] [review]
Export _IO_stdin_used symbol in NetworkManager.ver
Comment 3 Aurelien Jarno 2016-08-31 09:41:03 UTC
Thanks for merging the patch. It works fine, however I think the comment is slightly misleading. NetworkManager uses a version-script to control which symbols are exported, but do not use symbol versioning on the executable (something quite rare and quite corner case). Therefore I'll suggest to remove the end of the comment, starting at "It should be exported as an anonymous tag...".