From Bugzilla Helper:
User-Agent: Mozilla/4.5 [en] (X11; I; SunOS 5.5.1 sun4u)
When I generate an executable file with gcc on NFS volume, then executable
file is corrupted (segmentation fault at execution) .To solve this problem,
I have to generate executable
file on /tmp then move it to NFS volume. Is there a patch to solve such a
problem ? (gcc version 2.96 20000731 (Red Hat Linux 7.0))
Steps to Reproduce:
1.Link a program on NFS volume
If gcc creates the program just fine on local file system, then the bug is
either in the NFS client, or NFS server but not in gcc. gcc (well, it is
more probably as or ld, because if assembly was corrupted, it would most probably
not assemble) simply writes a file, it does not check what filesystem it is on.
You haven't mentioned which NFS server you're using.
Solaris and IBM server patches were released for this