http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46822
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-17 22:53:24 UTC --- I wonder if this was a bug in glibc. I have: apinski@apinskidesktop:~$ /lib/libc.so.6 GNU C Library stable release version 2.7, by Roland McGrath et al. Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.3.2. Compiled on a Linux >>2.6.32-5-amd64<< system on 2010-10-21. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. And it works for me.