Gentoo Archives: gentoo-science

From: "Adam Piątyszek" <ediap@×××××××××××××.PL>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Testing with GCC 4
Date: Sun, 28 May 2006 14:12:36
Message-Id: 4479AFA3.8080708@et.put.poznan.pl
In Reply to: Re: [gentoo-science] Testing with GCC 4 by "Adam Piątyszek"
1 * Adam Piątyszek [2006-05-28 16:00]:
2 > I think the problem might be related to this part of the LAPACK's
3 > SRC/Makefile:
4 >
5 > slamch.o: slamch.f
6 > $(FORTRAN) $(NOOPT) -c $<
7 > dlamch.o: dlamch.f
8 > $(FORTRAN) $(NOOPT) -c $<
9 >
10 > .f.o:
11 > $(FORTRAN) $(OPTS) -c $<
12 >
13 > In the previous ebuild, NOOPT is not set for g77 compiler (no flags at
14 > all), whereas OPTS is set to the default CFLAGS. In my opinion this
15 > exception in compilation flags might be important.
16
17 It seems that I guessed the source of the problem right. Here is what I
18 found in the LAPACK FAQ:
19
20 "NOTE: Be careful. Many PC compilers often perform optimization by default
21 at compile time! Thus, for routines such as LAPACK/SRC/slamch.f and
22 LAPACK/SRC/dlamch.f, you will need to explicitly set a compile flag to
23 turn OFF optimization."
24
25 Donnie. Could you update your autotool patch with a proper flag settings
26 for these two source files? Thanks!
27
28 /ediap

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] Testing with GCC 4 Donnie Berkholz <spyderous@g.o>