Some more details: Also happens with Kernel 2.6.32 from Debian Squeeze, i.e. it's not an issue of a recent kernel.
Attached a diff of normalized strace output of: - gcc-4.5 -o test test.c - gcc-4.6 -o test test.c One difference between the two runs seems to be that test.c is opened with O_LARGEFILE in gcc-4.6, but not gcc-4.5. ** Patch added: "diff between normalized strace output of gcc-4.5 (fails) and gcc-4.6 (works)" https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/784705/+attachment/2134162/+files/strace-4.5_4.6.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/784705 Title: i386 version of gcc-4.5 fails to compile C or Fortran files on CIFS mounts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs