Not providing static libraries (libkse/libpthread)

Dan Nelson dnelson at allantgroup.com
Wed Mar 26 19:51:12 PST 2003


In the last episode (Mar 26), Daniel Eischen said:
> On Wed, 26 Mar 2003, Marcel Moolenaar wrote:
> > For example, the access sequences generated by compilers for
> > variables that have the __thread attribute do really suck for when
> > code is to be generated for dynamic linking. The access sequences
> > in the static case are superior. The performance gain is
> > significant if one can build a complete multi-threaded application.
> 
> Solaris and IRIX don't seem to provide static thread libraries.  Does
> anyone know if Linux does?

Debian provides static versions:
-rw-r--r--    1 root     root   81959 Feb 25 07:46 /lib/libpthread-0.10.so
-rw-r--r--    1 root     root   97286 Feb 25 07:47 /usr/lib/libpthread.a

As does Redhat 7.3:
-rwxr-xr-x    1 root     root       105945 Oct 10 09:51 /lib/libpthread-0.9.so*
-rw-r--r--    1 root     root       118146 Oct 10 09:51 /usr/lib/libpthread.a

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-arch mailing list