From owner-freebsd-ports@FreeBSD.ORG Tue Aug 31 00:24:18 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 700951065696; Tue, 31 Aug 2010 00:24:18 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 00D758FC12; Tue, 31 Aug 2010 00:24:17 +0000 (UTC) Received: by gxk24 with SMTP id 24so2576843gxk.13 for ; Mon, 30 Aug 2010 17:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=AIBn7YiJLdGksuDh9gV76yJhRk15S7tLz6a9jbiWeck=; b=Y/SM0g4cwL9N3F1/4b+Ij1VnxuPCqRbmU4VIRU14M+0lwWbzjdjtxaJf2MxBsvQ1Pw ju0jTyHFz8NoKCZU7hfRKRKdalkbi7bVexK+BvAXHJ5OOTalluTUEzrYJe40lerawywO mQscNncfGW+2QPPCXxfKgE7+GpeuA1cJvRFR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=sfOy1lLmGNdCO9B4Cvke7/CMuxKC6EZ9n+QugTYg2EETmPokv785ecse2Q9Y7MBgn3 ouB0QcA4kKvtNwmQSQ13RLADUxC7j0gz+qJRGYuFbvmmUqbN5fy/zdGW9RQAp0VE3jss 0h3VGH0qviKWEasFFopLCRzU0jT+Pd4AyC5Wo= Received: by 10.229.240.145 with SMTP id la17mr3709704qcb.75.1283214256756; Mon, 30 Aug 2010 17:24:16 -0700 (PDT) Received: from centel.dataix.local ([99.181.137.20]) by mx.google.com with ESMTPS id r38sm9017653qcs.38.2010.08.30.17.24.15 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 17:24:15 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C7C4BAD.7030306@DataIX.net> Date: Mon, 30 Aug 2010 20:24:13 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100806 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: maho@FreeBSD.org References: <4C7C41B1.6010409@DataIX.net> In-Reply-To: <4C7C41B1.6010409@DataIX.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: Re: math/blas linking to gfortran with LDADD?= -lgfortran X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 00:24:18 -0000 On 08/30/2010 19:41, jhell wrote: > > The subject listed port fails to link during an upgrade from the > previous version. Looking into this further libblas.so.2 without being > linked to gfortran is correct as in the already installed previous > version installed inspected with ldd(1) shows the same linking as the > new version without the -lgfortran linker flags. > > Attached is the patch that solves the linking problem. I do not see any > dependents listed for this port for any of the gcc* ports that can be > installed so therefore I have removed the -lgfortran from LDADD. > > $FreeBSD: ports/math/blas/Makefile,v 1.47 2010/08/30 07:26:27 bf Exp $ It also appears that recent changes in math/lapack make blind assumptions that the user wants to compile these with ???PROFILING??? why? .if !(defined(NOPROFILE) || defined(NO_PROFILE) || defined(WITHOUT_PROFILE)) Would this not be better with if (defined(WITH_PROFILE)) ?? But then again this port also breaks so I guess I do not have to worry about blind assumptions here. -- jhell,v