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 |