GNOME Bugzilla – Bug 765714
fails to build: undefined reference to symbol 'pthread_getname_np@@GLIBC_2.12' / error adding symbols: DSO missing from command line
Last modified: 2016-05-02 01:29:37 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
*** This bug has been marked as a duplicate of bug 765712 ***