From owner-freebsd-ports@FreeBSD.ORG Tue Apr 12 22:39:57 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB10E16A4CE for ; Tue, 12 Apr 2005 22:39:57 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FD3543D46 for ; Tue, 12 Apr 2005 22:39:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8773151268; Tue, 12 Apr 2005 15:39:56 -0700 (PDT) Date: Tue, 12 Apr 2005 15:39:56 -0700 From: Kris Kennaway To: Jon Drews Message-ID: <20050412223956.GA71486@xor.obsecurity.org> References: <8cb27cbf05041210306fdf64ad@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <8cb27cbf05041210306fdf64ad@mail.gmail.com> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Ports Subject: Re: Port build appends -lm repeatedly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 22:39:57 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 12, 2005 at 11:30:50AM -0600, Jon Drews wrote: > Port GSL-1.6 > 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Jan 31 > gcc version 3.4.2 [FreeBSD] 20040728 >=20 > Hi: >=20 > I am testing math/gsl before sending it in. I captured the output of > the make to look for any problems or aberrations. I did find this one > minor glitch. The final line of the make contains repeated math > library calls: > cc -O2 -pipe -march=3Dpentiumpro -o .libs/gsl-histogram gsl-histogram.o > .libs/libgsl.so -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm > -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm > -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm -lm cblas/.libs/libg > slcblas.so -lm -lm -Wl,--rpath -Wl,/usr/local/lib >=20 > 1) are the repeated -lm a problem No. > 2) how can I fix it ?=20 You'd need to go digging in the gsl build infrastructure to first find out why it's happening; this should tell you how to fix it. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCXE48Wry0BWjoQKURAhA1AJ4lbq9xWIBEJGB5x7/zxn9m42dlZQCg0igs Vt7oGZkJN9VKUlNFCI9Gf9k= =UoO5 -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--