http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49052
--- Comment #3 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-05-19 09:01:30 UTC --- Not a GCC bug. As an aside, CIFS mounts work quite well IF the server supports the "CIFS Unix extensions"; Samba supports those, but IIRC the Windows CIFS server doesn't. Without the Unix extensions, the mounts behave very POSIX-unlike in some situations which makes many applications break, apparently including GCC. HTH, HAND.