This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: works with gfortran-4.3 but segfaults with gfortran-4.4


On 08/02/2010 09:31 PM, Kamaraju S Kusumanchi wrote:
Steve Kargl wrote:

On Mon, Aug 02, 2010 at 09:42:53PM -0400, Kamaraju S Kusumanchi wrote:
I am not sure if it is a Debian bug or gfortran's bug. Consider the
following code attached (5 files)

If I use the gfortran-4.3 the code compiles and executes fine
$gfortran-4.3 -g la_erinfo.f90 la_auxmod.f90 f77_lapack_double.f90
f95_lapack_double.f90 la_dgesvd.f90 la_dgesdd.f90
dummy.f90 /usr/lib/liblapack.so.3gf

$./a.out
  calling la_gesvd
  calling la_gesdd

But If I use the gfortran-4.4 compiler, the code gives a segmentation
fault

$gfortran-4.4 -g la_erinfo.f90 la_auxmod.f90 f77_lapack_double.f90
f95_lapack_double.f90 la_dgesvd.f90 la_dgesdd.f90
dummy.f90 /usr/lib/liblapack.so.3gf

Add -Wall -fbounds-check and fix any problems.



Sure! But it does not solve the problem in this case. It just gives warnings about non conforming tab character.

Can someone please tell me if I am doing anything wrong or if this is a
bug in gfortran-4.4?

What compiler was used to compile /liblapack.so.3gf?



It is the standard lapack library package shipped in Debian testing package liblapack3gf 3.2.1-8. Is there a command to find the version of the compiler used to generate it?

thanks
raju


I see the segfault here too. Testing


Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]