2 Replies Latest reply on Sep 16, 2010 11:23 AM by delstner

    compiling on  sshfs  filesystem

    delstner
      Problems with option -keep on userspace filesystems

      Compiling on a gluster filesystem or any other user space filesystem gives the following error.

      >openf95 -keep -c file.f90

      >Error: Can't create intermediate compiler file (file.B): no such device

      The file.B is there after the call and has nonempty size.

      Without the option -keep all works fine (a correct file.o is produced).

      The same problem happens with option -Ofast.

      Is there any solution to the problem.

       

      delstner 

        • compiling on  sshfs  filesystem
          santosh.zanjurne

          Hello delstner,
          Do you see the similar issue with other compilers also? e.g. gcc -save-temps a.c

          Can you please send the output of following commands?

          opencc a.c -show -keep
          opencc a.c -show

          Regards,
          Santosh

            • compiling on  sshfs  filesystem
              delstner

              Hello Santosh, 

              The output of the tests is in the Attachment. 

               

              The filesystems on /work3 and /work2 are glusterfs, where I used 

              fuse-2.7.4glfs11. 

              If I do the test on a local or NFS mounted filesystem all is ok. 

              Similar errors happen, if I mount a sshfs-filesystem with this version of fuse.  

              A new test on an actual Ubuntu with a different fuse version

              gave no errors with sshfs.



              Regards, 

              delstner

              opencc -show -keep t.c /work3/del/o64/open64-gcc-4.2.0/bin/gcc -D__OPEN64__="4.2.4" -D__OPENCC__=4 -D__OPENCC_MINOR__=2 -D__OPENCC_PATCHLEVEL__=4 -O2 -D__OPTIMIZE__ -xc -isystem /work3/del/o64/include/4.2.4 -isystem /work3/del/o64/include -E -msse2 t.c -o t.i /work3/del/o64/lib/gcc-lib/x86_64-open64-linux/4.2.4/cc142 -O2 -fcxx-openmp -msse2 -dx -quiet -fpreprocessed -fbuiltin -dumpbase t.c t.i -spinfile t.spin t.c:7: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. GNU front-end error. opencc -show t.c /work3/del/o64/open64-gcc-4.2.0/bin/gcc -D__OPEN64__="4.2.4" -D__OPENCC__=4 -D__OPENCC_MINOR__=2 -D__OPENCC_PATCHLEVEL__=4 -O2 -D__OPTIMIZE__ -xc -isystem /work3/del/o64/include/4.2.4 -isystem /work3/del/o64/include -E -msse2 t.c -o /tmp/cci#.v1po1X /work3/del/o64/lib/gcc-lib/x86_64-open64-linux/4.2.4/cc142 -O2 -fcxx-openmp -msse2 -dx -quiet -fpreprocessed -fbuiltin -dumpbase t.c /tmp/cci#.v1po1X -spinfile /tmp/ccspin#.D7FTzJ /work3/del/o64/lib/gcc-lib/x86_64-open64-linux/4.2.4/wgen42 -fS,/tmp/ccspin#.D7FTzJ -fB,/tmp/ccB#.QyxLgv /work3/del/o64/lib/gcc-lib/x86_64-open64-linux/4.2.4/inline -LIST:source=off:notes=off -PHASE:w:c -O2 -show -TARG:abi=n64 -LANG:cxx_openmp=on -fB,/tmp/ccB#.QyxLgv -fI,/tmp/ccI#.D8bx4g t.c /work3/del/o64/lib/gcc-lib/x86_64-open64-linux/4.2.4/be -LIST:source=off:notes=off -PHASE:w:c -G8 -O2 -show -TARG:abi=n64 -LANG:cxx_openmp=on -LANG:=ansi_c -TARG:processor=wolfdale -TARG:sse2=on -TARG:mmx=on -TARG:sse=on -TARG:sse3=on -TARG:3dnow=off -TARG:sse4a=off -TARG:ssse3=on -TARG:sse41=off -TARG:sse42=off -TARG:aes=off -TARG:pclmul=off -TARG:avx=off -TARG:xop=off -TARG:fma4=off -fB,/tmp/ccI#.D8bx4g -s -fs,/tmp/ccspin#.D7FTzJ.s t.c Compiling t.c (/tmp/ccI#.D8bx4g) -- Back End Compiling vprintf(0) Compiling getchar(1) Compiling fgetc_unlocked(2) Compiling getc_unlocked(3) Compiling getchar_unlocked(4) Compiling putchar(5) Compiling fputc_unlocked(6) Compiling putc_unlocked(7) Compiling putchar_unlocked(8) Compiling feof_unlocked(9) Compiling ferror_unlocked(10) Compiling main(11) /work3/del/o64/open64-gcc-4.2.0/bin/gcc /tmp/ccspin#.D7FTzJ.s -c -o /tmp/cco.JCrbCc /work3/del/o64/open64-gcc-4.2.0/bin/gcc -L/work3/del/o64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -Wl,-rpath,/work3/del/o64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -Wl,-rpath-link,/work3/del/o64//lib/gcc-lib/x86_64-open64-linux/4.2.4 /tmp/cco.JCrbCc -lopen64rt