Subject: pthread stubs as weak symbols
To: None <>
From: Joerg Sonnenberger <>
List: tech-userlevel
Date: 07/16/2007 16:50:08
Hi all,
currently we use a bunch of macro tricks to allow packages including
pthread.h to link against libc only, when they need just a number of
pthread functions to allow thread-safeness.

This is bogus as it doesn't work with most packages that try to find the
stubs. It also has the obvious problem of not working with #undef as
noted in pthread.h itself. Can we just always create weak symbols for
them? I would also like to pull such changes to netbsd-4.