From owner-freebsd-ports@FreeBSD.ORG Sun Sep 5 22:09:33 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5E5210656B7 for ; Sun, 5 Sep 2010 22:09:33 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id AE9698FC21 for ; Sun, 5 Sep 2010 22:09:32 +0000 (UTC) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o85JD5Mi005615 for ; Mon, 6 Sep 2010 05:13:05 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o85JCwpv006086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 6 Sep 2010 05:13:00 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id o85JCtQ4075543; Mon, 6 Sep 2010 05:12:55 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id o85JCrNw075516; Mon, 6 Sep 2010 05:12:53 +1000 (EST) (envelope-from peter) Date: Mon, 6 Sep 2010 05:12:53 +1000 From: Peter Jeremy To: jhell Message-ID: <20100905191253.GA91710@server.vk2pj.dyndns.org> References: <4C7D70CA.2070104@DataIX.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <4C7D70CA.2070104@DataIX.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: bf1783@gmail.com, "b. f." , 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: Sun, 05 Sep 2010 22:09:33 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Aug-31 17:14:50 -0400, jhell wrote: >On 08/31/2010 15:06, b. f. wrote: >> Would you elaborate, please? Where is a transcript showing the linking = failure? >> Would you mail it to me off-list? > >Simply -lgfortran by it self should not work. Since lib directories Actually, IMO, since libgfortran.so is a support library for gfortran (much like libgcc_s.so is), it is reasonable for a user to expect that '-lgfortran' _is_ sufficient and the current behaviour is a bug. ports/129518 says I'm not the only person who think that. >-L/usr/local/lib/gcc44 would have to be passed to LDFLAGS in order for >it to be found. And '-R/usr/local/lib/gcc44' as well. Note that a work-around has been added to bsd.gcc.mk so that ports with USE_GCC shouldbehave correctly and the problem is limited to using a non-base gcc outside the ports system. --=20 Peter Jeremy --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkyD67UACgkQ/opHv/APuIeOEwCdH8iRUZ1CHFeojhuIj64+peaq vP4An1JWBpWS/Fg2i7Dhojs+2ycNS0i5 =U9oK -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--