[Bug fortran/42848] compiler crashes and asks for this bug report

2010-01-25 Thread frank dot braun at rz dot uni-regensburg dot de


--- Comment #5 from frank dot braun at rz dot uni-regensburg dot de  
2010-01-25 08:36 ---
've got it. Modifying the .mod file by hand makes the compiler crash. Deleting
it lets it work correctly.

The compiler shouldn't crash anyway. But with a new version this problem should
be solved too, isn't it?


-- 


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



[Bug fortran/42848] compiler crashes and asks for this bug report

2010-01-24 Thread frank dot braun at rz dot uni-regensburg dot de


--- Comment #3 from frank dot braun at rz dot uni-regensburg dot de  
2010-01-25 07:57 ---
Today I am not able to reproduce the error. The compiler is working. Where
exactly does the file m.mod reside? In the user directory or in a compiler
directory?
Frank Braun

(In reply to comment #2)
> Tobias,
> 
> If we ask a bug submitter for more information, or to confirm our suspicions,
> we put the bug report in WAITING.
> 
> Note to submitter: bug reports with status WAITING will be closed if not
> replied to within 3 months.
> 
> Kind regards.
> 


-- 


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



[Bug fortran/42848] New: compiler crashes and asks for this bug report

2010-01-22 Thread frank dot braun at rz dot uni-regensburg dot de
Compiling a file with -c option (no exec)with gfortran lets the compiler output
an internal error message.

The file:

! Demoprogramm:
! Aufrufen einer C-Routine von Fortran aus

! Die C-Routine wird innerhalb eines Modules deklariert
   module cproc
  interface  ! definierte Schnittstelle
 subroutine pythagoras (a, b, res)
 !DEC$ ATTRIBUTES C :: pythagoras
 !DEC$ ATTRIBUTES REFERENCE :: res
 real :: a, b, res
 end subroutine
  end interface
end module


program fmain
use cproc
implicit none
real :: x, y, z

write(*,*) ' Berechnung der Hypotenusenlaenge eines rechtwickligen
Dreie
cks'
write(*,*) ' Geben Sie die beiden Seitenlaengen ein, die den rechten
Win
kel'
write(*,*) ' einschliessen:'

read(*,*) x, y

call pythagoras(x,y,z)
write(*,*) ' Die Laenge der Hypotenuse betraegt: ', z
end program fmain

The error message (translated by hand to english):

administra...@pc6 /c/vectra/fortran
$ gfortran -c fmain.f90
Unrecoverable error: Can't delete module file 'cproc.mod': Permission denied
gfortran.exe: Onternal error: Aborted (program f951)
Please send a complete error report in english
...
administra...@pc6 /c/vectra/fortran
$ gfortran -v
Target: mingw32
Configured with: ../gcc-4.4.0/configure --enable-languages=c,ada,c++,fortran,ja
va,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj
--enab
le-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug
--ena
ble-version-specific-runtime-libs --prefix=/mingw
--with-gmp=/mingw/src/gmp/root
 --with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread-Modell: win32
gcc-Version 4.4.0 (GCC)

administra...@pc6 /c/vectra/fortran

The error message (original as it appeared on the screen):

administra...@pc6 /c/vectra/fortran
$ gfortran -c fmain.f90
Schwerwiegender Fehler: Can't delete module file 'cproc.mod': Permission denied
gfortran.exe: Interner Fehler: Aborted (Programm f951)
Bitte senden Sie einen vollständigen Fehlerbericht
auf Englisch ein; Fehler in der deutschen Übersetzung
sind an translation-team...@lists.sourceforge.net zu melden.
Gehen Sie gemäß den Hinweisen in <http://gcc.gnu.org/bugs.html>
vor.

administra...@pc6 /c/vectra/fortran
$ gfortran -v
Es werden eingebaute Spezifikationen verwendet.
Ziel: mingw32
Konfiguriert mit: ../gcc-4.4.0/configure
--enable-languages=c,ada,c++,fortran,ja
va,objc,obj-c++ --disable-sjlj-exceptions --enable-shared --enable-libgcj
--enab
le-libgomp --with-dwarf2 --disable-win32-registry --enable-libstdcxx-debug
--ena
ble-version-specific-runtime-libs --prefix=/mingw
--with-gmp=/mingw/src/gmp/root
 --with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread-Modell: win32
gcc-Version 4.4.0 (GCC)

administra...@pc6 /c/vectra/fortran


-- 
   Summary: compiler crashes and asks for this bug report
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: frank dot braun at rz dot uni-regensburg dot de
 GCC build triplet: MSYS full with gcc g++ and gfortran
  GCC host triplet: Dell Intel Windows Mingwin MSYS
GCC target triplet: Dell Intel Windows Mingwin MSYS


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



[Bug fortran/25178] New: installation of gfortran failed after deveral trys

2005-11-30 Thread frank dot braun at rz dot uni-regensburg dot de
I tried to install gfortran following the instructions on the 
webpages 

http://gcc.gnu.org/fortran/
http://gcc.gnu.org/wiki/GFortranBinaries
http://gcc.gnu.org/wiki/GFortranBinariesWindows

I did the installation two times once on a Windows XP, where MinGWin 
has been installed since more than a year. This installation worked 
properly and was able to compile samoe sample fortran programs.

But the real target computer had a Windows 98 system and yet no gcc 
installation at all. And several attempts to get a working 
installation failed. The above mentioned webpages including the there 
linked pages did not provide any hint to solve the problem.

First I installed the downloaded file gfortran-windows.exe without 
any changes.

In a second attempt I tried to install a complete MinGWin environment 
first using MinGW-4.1.0.exe. After a reboot I repeated the gfortran 
installation twice into the proposed directory C:\Programme\gfortran 
and into the MingWin directory

Each of the decribed installation trys resulted in a working compiler 
which is invocable with

gfortran -v

But the attempt to compile programs results in the error message

C:\>gfortran x.f
GFORTRAN.EXE: _spawnv: No such file or directory

I have no explanation and I didn't find help on the gfortran 
webpages.

Using the djgpp-Windows software too and seeing that in the djgpp 
mirrors there is a file gfor401b/d.zip I tried a second and different 
installation of gfortran. This installation results on both systems 
(Windows XP and Windows 98) in the error message when linking the 
program:

C:\djgpp>gfortran x.f
c:/djgpp/bin/../lib/gcc/djgpp/4.01/libgfortran.a(write.o):: undefined 
reference to `_finite'
c:/djgpp/bin/../lib/gcc/djgpp/4.01/libgfortran.a(normalize.o):: 
undefined reference to `_nextafterf'
c:/djgpp/bin/../lib/gcc/djgpp/4.01/libgfortran.a(normalize.o):: 
undefined reference to `_nextafter'
collect2: ld returned 1 exit status

The version is correctly indicated too:

C:\djgpp>gfortran -v
Using built-in specs.
Target: djgpp
Configured with: /gnu/gcc-4.01/configure djgpp --
prefix=/dev/env/DJDIR --disable-nls --disable-werror --disable-
checking --enable-languages=c,ada,c++,f95,objc
Thread model: single
gcc version 4.0.1

I would be grateful if anybody could help me solving the problem.


-- 
   Summary: installation of gfortran failed after deveral trys
   Product: gcc
   Version: 4.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: frank dot braun at rz dot uni-regensburg dot de
 GCC build triplet: gcc 4.2.0 20051126
  GCC host triplet: pentium Windows 98 and Windows XP
GCC target triplet: i686-pc-mingwin32 / gfortran


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