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

Re: [patches] [PATCH]: Don't install libpthread_pic.{a, map} to fix mklibs.



On Fri, 28 Mar 2008, Maxim Kuvyrkov wrote:

> Hello,
> 
> This patch removes installation of libpthread_pic.a and libpthread_pic.map, so
> that mklibs won't try to reduce libpthread.so.
> 
> The issue is that libpthread.so cannot be reduced reliably on m68k.
> 
> 
> OK for trunk, 2.5, 2.6 and 2.7 branches?

OK.  (The mklibs problem is specific to linuxthreads without TLS and the 
peculiarity of how it's linked in glibc, but the inability to use a 
partial libpthread and have it work correctly applies generally to NPTL 
and is why static linking with libpthread is a bad idea, so not installing 
libpthread_pic.a seems sensible.)

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx