clang+libc++ using missing powl

Baptiste Daroussin bapt at freebsd.org
Thu Sep 5 07:14:39 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130905/60f580f6/attachment.sig>


More information about the freebsd-current mailing list