[Bug fortran/42527] Fortran FORMAT descriptor "X" generates nulls instead of blanks for ACCESS='stream" files

urbanjost at comcast dot net gcc-bugzilla@gcc.gnu.org
Wed Dec 30 17:51:00 GMT 2009



------- Comment #6 from urbanjost at comcast dot net  2009-12-30 17:51 -------
Subject: Re:  Fortran FORMAT descriptor "X" generates nulls instead of blanks
for ACCESS='stream" files

I could not initially get the Mingw or straight CygWin install to work; but 
I was also having problems with
X11 Windows and the file(1) command and there was a new xinit release; after 
I upgraded CygWin (and reinstalled
the "Base" group in CygWin) the
new gfortran install began working and with version 4.5.0 20091119 
(experimental) [trunk revision 152402]
everything looks fixed compared to my original bug report (output attached).
Thanks; sorry I didn't get a newer version tested sooner but I had tried 
several times; after my last Cygwin install the
problem with the new version went away "automagically"; I am running 4.5.0 
from the same directory that was failing
previously (/usr/local/gfortran).

(And, my X11 Windows are coming up again)

Thanks again!


     1     1.00     2.00     3.00     4.00     5.00     6.00     7.00 
8.00     9.00    10.00    11.00    12.00    13.00    14.00    15.00    16.00 
17.00    18.00    19.00    20.00    21.00    22.00    23.00
     1     1.00     2.00     3.00     4.00     5.00     6.00     7.00 
8.00     9.00    10.00    11.00    12.00    13.00    14.00    15.00    16.00 
17.00    18.00    19.00    20.00    21.00    22.00    23.00
==============================================
cat: missouri.i: No such file or directory
==============================================
CYGWIN_NT-6.0 urbanjs-PC 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin
==============================================
Driving: gfortran -v missouri.f -o missouri -lgfortran
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/i686-pc-cygwin/4.5.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: 
../trunk/configure --prefix=/usr/local/gfortran
--enable-languages=c,c++,fortran 
 --disable-bootstrap --enable-threads=posix --enable-sjlj-exceptions
--enable-version-specific-runtime-libs 
 --enable-nls --disable-libmudflap --disable-shared --disable-win32-registry 
 --with-system-zlib --enable-checking=release --enable-werror
--without-included-gettext 
 --without-x --enable-libgomp
Thread model: posix
gcc version 4.5.0 20091119 (experimental) [trunk revision 152402] (GCC)
COLLECT_GCC_OPTIONS='-v' '-o' 'missouri.exe' '-mtune=generic'
 /usr/local/gfortran/libexec/gcc/i686-pc-cygwin/4.5.0/f951.exe 
missouri.f -ffixed-form -quiet -dumpbase missouri.f -mtune=generic -auxbase 
missouri -version -fintrinsic-modules-path 
/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/finclude -o 
/cygdrive/c/Users/urbanjs/AppData/Local/Temp/ccSSpJov.s
GNU Fortran (GCC) version 4.5.0 20091119 (experimental) [trunk revision 
152402] (i686-pc-cygwin)
 compiled by GNU C version 4.3.4 20090804 (release) 1, GMP version 4.3.1, 
MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran (GCC) version 4.5.0 20091119 (experimental) [trunk revision 
152402] (i686-pc-cygwin)
 compiled by GNU C version 4.3.4 20090804 (release) 1, GMP version 4.3.1, 
MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-v' '-o' 'missouri.exe' '-mtune=generic'
 as -o /cygdrive/c/Users/urbanjs/AppData/Local/Temp/ccGVQpz0.o 
/cygdrive/c/Users/urbanjs/AppData/Local/Temp/ccSSpJov.s
COMPILER_PATH=/usr/local/gfortran/libexec/gcc/i686-pc-cygwin/4.5.0/:/usr/local/gfortran/libexec/gcc/i686-pc-cygwin/4.5.0/:/usr/local/gfortran/libexec/gcc/i686-pc-cygwin/:/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/:/usr/local/gfortran/lib/gcc/i686-pc-cygwin/
LIBRARY_PATH=/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/:/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'missouri.exe' '-mtune=generic'
 /usr/local/gfortran/libexec/gcc/i686-pc-cygwin/4.5.0/collect2.exe -Bdynamic 
 --dll-search-prefix=cyg -tsaware -o missouri.exe /lib/crt0.o 
/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/crtbegin.o
-L/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0 
 -L/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/../../.. 
/cygdrive/c/Users/urbanjs/AppData/Local/Temp/ccGVQpz0.o -lgfortran -lgcc
-lcygwin 
 -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc 
/usr/local/gfortran/lib/gcc/i686-pc-cygwin/4.5.0/crtend.o
==============================================
END
----- Original Message ----- 
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: <urbanjost@comcast.net>
Sent: Tuesday, December 29, 2009 7:46 PM
Subject: [Bug fortran/42527] Fortran FORMAT descriptor "X" generates nulls 
instead of blanks for ACCESS='stream" files


>
>
> ------- Comment #5 from burnus at gcc dot gnu dot org  2009-12-30 
> 00:46 -------
> (In reply to comment #4)
>> No, I didn't build this compiler version; this is what I got when I
>> reinstalled CygWin from scratch on 11/29/2009. I tried to install the 
>> latest
>> version before
>> sending this, but all I get is a pop-up window saying
>>      gfortran.exe has stopped working
>
> You could try MinGW instead, cf. http://gcc.gnu.org/wiki/GFortranBinaries
>
> Or maybe Jerry has an idea about what goes wrong.
>
> Cf. also PR 42548 for a related but seemingly unfixed issue based on your
> posting to comp.lang.fortran.
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42527
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42527



More information about the Gcc-bugs mailing list