Date: Mon, 30 Aug 2010 19:41:37 -0400 From: jhell <jhell@DataIX.net> To: maho@FreeBSD.org Cc: FreeBSD Ports <ports@freebsd.org> Subject: math/blas linking to gfortran with LDADD?= -lgfortran Message-ID: <4C7C41B1.6010409@DataIX.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010608060302060706000704 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 $ Regards, - -- jhell,v -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMfEGwAAoJEJBXh4mJ2FR+cDUH/RfAGgADnpT862Ef2NrWYmvC l49FDRSDjPpyWEAOX2tpQ4Is7/88N0siumeVqKSLYesxb9tRL2sAAcmHvAo0UR7I JyufU49SIqvnsgMWV5Lkfb+l2Kb/7+C1BhQLA6PuotsyehGPgeH+1SynT/MtR+1I kIlVtWVz0f5BwQ4Tny8aeqPLEmCcnkCJlZtXWjYfvlhULE/qhjlK67Q0T71oaGfN Feyso8uDDsviwXEkwULRRIMmLTCNt5ZuJOsQe0VZiZR9Xfgc0MxVVcC4USvWHCiS ODME2TZiTS7Gau5aAw/NT5PuugkrBOzvmS62X5xaMLpSaEAcrlpi6zyTIC3dIbo= =Fabs -----END PGP SIGNATURE----- --------------010608060302060706000704 Content-Type: text/x-patch; name="blas.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="blas.diff" --- Makefile.orig 2010-08-30 19:27:57.024501012 -0400 +++ Makefile 2010-08-30 19:29:09.372193126 -0400 @@ -28,7 +28,7 @@ PLIST_FILES= lib/libblas.a lib/libblas.so lib/libblas.so.${SHLIB_MAJOR} LDFLAGS+= ${FFLAGS} -LDADD ?= -lgfortran -lm +LDADD ?= -lm MAKE_ENV+= LDADD="${LDADD}" LDFLAGS="${LDFLAGS}" \ SHLIB_MAJOR="${SHLIB_MAJOR}" .for _u in AR NM RANLIB --------------010608060302060706000704 Content-Type: application/octet-stream; name="blas.diff.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="blas.diff.sig" iQEcBAABAgAGBQJMfEGwAAoJEJBXh4mJ2FR+7UsIAIO62UVOV8fZXkSJYxSrBCIrwujugCCe J7M18KJ+KHC/1K0xYThAP08STU1hAmgMxDT/1StA6B76C8wiYkT2Z1VNBNgRQEYybMiHtJ12 2Q1KI2L6X+iYjeJKhcz/SC9+AWcR0kZHAVPJ+a3Ickj9H4e6gZsfcTea01ZtH5R7FK2151QT KZaKghfQFy44TGd7VSk/RpKdE/AL5GbltQ1768n37yZ5x6ttWf5tD8iigRRgcXUKLboirA0h qOtxVKrIRjjivrkgiB/M6onBopxo/v4dcf0tvtRTCsn8u7x18/odj7DoJGL8WSWT35W9nvfc rWS6e0e+Ch81jZw/X97pDG8= --------------010608060302060706000704--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7C41B1.6010409>