Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2013 09:14:33 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: clang+libc++ using missing powl
Message-ID:  <20130905071433.GK82066@ithaqua.etoilebsd.net>
In-Reply-To: <010BAA30-EFD0-4B5C-AC94-908130533741@FreeBSD.org>
References:  <20130904223842.GB82066@ithaqua.etoilebsd.net> <010BAA30-EFD0-4B5C-AC94-908130533741@FreeBSD.org>

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

--Ucgz5Oc/kKURWzXs
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 05, 2013 at 09:05:45AM +0200, Dimitry Andric wrote:
> On Sep 5, 2013, at 00:38, Baptiste Daroussin <bapt@freebsd.org> wrote:
> > I'm running exp-run to build the whole ports tree with clang using libc=
++ by
> > default.
> >=20
> > As a result we have a lot of fallouts of ports complaining about:
> > undefined reference to `powl'
> >=20
> > It seems like libc++ is relying on a function we don't have yet in libm=
, am I
> > missing something?
>=20
>=20
> Do you have a concrete example of a port that gives this result?  We do
> have powl these days, but maybe some configure script is trying to be
> smart and does not pass -lm to the linker flags...
>=20
> -Dimitry
>=20

http://pb2.nyi.freebsd.org/bulk/nogcc-default/2013-09-04_18h36m06s/logs/err=
ors/domc-0.8.0_1.log
I tried adding -lm to the linker and it failed, when was powl added?

Here is another example:
http://pb2.nyi.freebsd.org/bulk/nogcc-default/2013-09-04_18h36m06s/logs/err=
ors/iverilog-0.9.6.log

regards,
Bapt

--Ucgz5Oc/kKURWzXs
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlIoL1kACgkQ8kTtMUmk6Ex14QCfR8vMV3OxhVyGkfcw1IPQ3KqV
Q5AAn1UPsKinL/fdEYu15F5wmVYeNP8V
=ypRc
-----END PGP SIGNATURE-----

--Ucgz5Oc/kKURWzXs--



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