http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47375
--- Comment #2 from Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 2011-01-20 13:16:46 UTC --- I quickly tried to link a C program statically that uses getpwuid_r. It has the same problem. I guess it is unavoidable.