Compiler Problems?
Maho NAKATA
chat95 at mac.com
Sun Sep 30 19:24:56 PDT 2007
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)
More information about the freebsd-current
mailing list