Re: clang+libc++ using missing powl

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Thu, 5 Sep 2013 09:14:33 +0200
On Thu, Sep 05, 2013 at 09:05:45AM +0200, Dimitry Andric wrote:
> On Sep 5, 2013, at 00:38, Baptiste Daroussin <bapt_at_freebsd.org> wrote:
> > I'm running exp-run to build the whole ports tree with clang using libc++ by
> > default.
> > 
> > As a result we have a lot of fallouts of ports complaining about:
> > undefined reference to `powl'
> > 
> > It seems like libc++ is relying on a function we don't have yet in libm, am I
> > missing something?
> 
> 
> 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...
> 
> -Dimitry
> 

http://pb2.nyi.freebsd.org/bulk/nogcc-default/2013-09-04_18h36m06s/logs/errors/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/errors/iverilog-0.9.6.log

regards,
Bapt

Received on Thu Sep 05 2013 - 05:14:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC