* Adam Piątyszek [2006-05-28 16:00]: > I think the problem might be related to this part of the LAPACK's > SRC/Makefile: > > slamch.o: slamch.f > $(FORTRAN) $(NOOPT) -c $< > dlamch.o: dlamch.f > $(FORTRAN) $(NOOPT) -c $< > > .f.o: > $(FORTRAN) $(OPTS) -c $< > > In the previous ebuild, NOOPT is not set for g77 compiler (no flags at > all), whereas OPTS is set to the default CFLAGS. In my opinion this > exception in compilation flags might be important.
It seems that I guessed the source of the problem right. Here is what I found in the LAPACK FAQ: "NOTE: Be careful. Many PC compilers often perform optimization by default at compile time! Thus, for routines such as LAPACK/SRC/slamch.f and LAPACK/SRC/dlamch.f, you will need to explicitly set a compile flag to turn OFF optimization." Donnie. Could you update your autotool patch with a proper flag settings for these two source files? Thanks! /ediap
signature.asc
Description: OpenPGP digital signature
