Re: GIO will link with -pthread soon

On 11/11/2009 08:10 PM, Ryan Lortie wrote:

> libdbus links against libpthread.


$ ldd /usr/lib/ =>  (0x00007fff8ebff000) => /lib/ (0x0000003501000000)
	/lib64/ (0x00000034ffa00000)


$ nm /usr/lib64/ | grep 'U pthread'
                 U pthread_cond_broadcast@@GLIBC_2.3.2
                 U pthread_cond_destroy@@GLIBC_2.3.2
                 U pthread_cond_init@@GLIBC_2.3.2
                 U pthread_cond_signal@@GLIBC_2.3.2
                 U pthread_cond_timedwait@@GLIBC_2.3.2
                 U pthread_cond_wait@@GLIBC_2.3.2
                 U pthread_mutex_destroy@@GLIBC_2.2.5
                 U pthread_mutex_init@@GLIBC_2.2.5
                 U pthread_mutex_lock@@GLIBC_2.2.5
                 U pthread_mutex_unlock@@GLIBC_2.2.5
                 U pthread_self@@GLIBC_2.2.5

It looks like the pthread subset libdbus uses is provided by
/lib64/  I guess that's what you meant about things turning
out ok on Linux with glibc?  So can we avoid linking with libpthread
entirely on Linux (in both libdbus and libgio)?

(I don't particularly object to linking with libpthread in gio, but I'm


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]