Re: Compiler Problems?

From: Maho NAKATA <chat95_at_mac.com>
Date: Mon, 01 Oct 2007 11:00:36 +0900 (JST)
Hi Thomas and Steve,

Thanks for your clarification. I rewrote this port completely and
update to 3.1.1. Now at least dlamch/slamch are build with -O0.
Hope now it works well. I haven't tried yet with g77 and may not work with it.

% cd /usr/ports/math/lapack
% rm -rf work ; make > & log &
% grep slamch.f log
gfortran42 -O0 -c slamch.f -o slamch.o
gfortran42 -O0 -fpic -c slamch.f -o slamch.o
gfortran42 -O0 -pg -c slamch.f -o slamch.o

From: "Thomas D. Dean" <tomdean_at_speakeasy.org>
Subject: Re: Compiler Problems?
Date: Sat, 15 Sep 2007 21:56:39 -0700 (PDT)

> Aha!  The problem may be due to optimization.
> 
> http://www.netlib.org/lapack/faq.html#1.25
> 
>  1.25) Problems compiling dlamch.f?
> 
> The routine dlamch.f (and its dependent subroutines dlamc1, dlamc2,
> dlamc3, dlamc4, dlamc5) MUST be compiled without optimization. 

-- Nakata Maho (maho_at_FreeBSD.org)
Received on Mon Oct 01 2007 - 00:24:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC