From owner-freebsd-current@FreeBSD.ORG Mon Oct 1 02:24:56 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91FC116A418 for ; Mon, 1 Oct 2007 02:24:56 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by mx1.freebsd.org (Postfix) with ESMTP id 48C3213C48A for ; Mon, 1 Oct 2007 02:24:56 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so2177370nzf for ; Sun, 30 Sep 2007 19:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; bh=0XDpbGXW/JPmu6dOaXVO+VYd/DCbKxKkI+ZIKxjOnVU=; b=nEUx/ow/yw4yvtAkrX4nNXIvNxmeTCVRFrp3s/qwwR+xzmwhcoCw0SJt748k0VROzEa8lcziTL5MauGaEaEzsREKj/Yzqnq04l2+jEicMrlyggzbdFb82JvpDoCYLcrmNOo638b8le2TkA6FOOsuEMnz2hvqEpm7mwRZViSbylA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; b=l62zzs9LTC3MZJpRk+eakJhGK1uWjgC03JBrh3EBAJs00nCf7ZnrtBrSJj9g82s9B66aSlKwwh0Guj2+h6LGLxCcu7DYkuKUzH0UdyBkq3cN+ZkmuDZ/suALHUKv+NA20vtK9GiDTLiKqTEHX6gKOldPM4yT743SraKUDm2P8Qw= Received: by 10.114.53.1 with SMTP id b1mr1318509waa.1191204045095; Sun, 30 Sep 2007 19:00:45 -0700 (PDT) Received: from localhost ( [134.160.214.85]) by mx.google.com with ESMTPS id g6sm10780249rvb.2007.09.30.19.00.39 (version=SSLv3 cipher=OTHER); Sun, 30 Sep 2007 19:00:41 -0700 (PDT) Date: Mon, 01 Oct 2007 11:00:36 +0900 (JST) Message-Id: <20071001.110036.102571438.chat95@mac.com> To: tomdean@speakeasy.org From: Maho NAKATA In-Reply-To: <200709160456.l8G4udLl023614@dv6000.tddhome> References: <200709160102.l8G12bAl001481@dv6000.tddhome> <20070916020726.GB6447@troutmask.apl.washington.edu> <200709160456.l8G4udLl023614@dv6000.tddhome> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: Maho NAKATA Cc: freebsd-current@freebsd.org, sgk@troutmask.apl.washington.edu Subject: Re: Compiler Problems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2007 02:24:56 -0000 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" 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@FreeBSD.org)