this was fixed by our patches on gcc 4.4; some hunks were merged, some were not, this one was not and shared libs lose their linkage to libpthread and libc, patch will follow
Created attachment 229201 [details, diff] fix the specs in the shared lib case
Added to cvs, will be released in the next patchset.
Released in 1.2.
Upstream merged something for 4.5.3 so I'm dropping the patch. Let me know if it doesn't work.