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 765714 - fails to build: undefined reference to symbol 'pthread_getname_np@@GLIBC_2.12' / error adding symbols: DSO missing from command line
fails to build: undefined reference to symbol 'pthread_getname_np@@GLIBC_2.12...
Status: RESOLVED DUPLICATE of bug 765712
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2016-04-28 10:01 UTC by Christoph Reiter (lazka)
Modified: 2016-05-02 01:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christoph Reiter (lazka) 2016-04-28 10:01:24 UTC
On Debian unstable:

/usr/bin/ld: thread.o: undefined reference to symbol 'pthread_getname_np@@GLIBC_2.12'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:1726: recipe for target 'thread' failed

bisected:

99bdfd1bcb921c987b29a0780fa7c50c3155341e is the first bad commit
commit 99bdfd1bcb921c987b29a0780fa7c50c3155341e
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Tue Apr 26 06:35:06 2016 -0400

    Stop using ptrctl for thread names
    
    We now prefer pthread_setname_np when available, and don't
    need the linux specific API anymore. Also change the test
    for this functionality to use pthread_getname_np.

:100644 100644 b2ef4455f6dd406eb7987390e2151deb018f8590 86ca32e4470d700074e3aca91e78dd25a1a2c869 M	configure.ac
:040000 040000 78264519f06f6833294cb6db7712191e628c666a 69efd470893ea2119b0c83f9adcace79a66066e1 M	glib
Comment 1 Matthias Clasen 2016-05-02 01:29:37 UTC

*** This bug has been marked as a duplicate of bug 765712 ***