Hi

I have gcc-2.3.3 installed in my Sun Classic machine running Solaris 2.1. The 
gcc works fine if the compiled program is located in NFS or local Unix file system,
but it fails if the file system is mounted to AFS with the NFS<->AFS translator

Here is the error message I got

  % gcc m.c
  gcc: Internal compiler error: program ld got fatal signal 10

With the -v option turned on, it displays:

  ld: Software Generation Utilities (SGU) SunOS/SVR4 (LK-1.0)
  gcc: Internal compiler error: program ld got fatal signal 10

The m.c is very simple C program. And if I copy the m.c to local filesystem, such
as /tmp, the gcc compiles the m.c without any problem. 

Our AFS server is version 3.2, running on  Sun Sparc2, OS 4.1.3. And also we
install the NFS->AFS translator so that Solaris 2.1 is NFS mounted to AFS 
server on the path /afs.

I tried the same translator server with NFS client and gcc on Sun OS 4.1.3 and
HP 9.0 and the corresponding gcc worked fine.

After more detail study we found the following sympton.  After gcc has created
the file a.out, it tried to set the file size attribute to 10k,  the NFS server
response OK to this operation but the actual file size attribute is still zero.
Then core dump.

Does anyone know how to fix the problem? 

Thanks in advance

Charles



Reply via email to