Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2005 15:39:56 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jon Drews <jon.drews@gmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Port build appends -lm repeatedly
Message-ID:  <20050412223956.GA71486@xor.obsecurity.org>
In-Reply-To: <8cb27cbf05041210306fdf64ad@mail.gmail.com>
References:  <8cb27cbf05041210306fdf64ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050412223956.GA71486>