From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: peterengcomau001@adam.com.au
Cc: yocto@yoctoproject.org
Subject: Re: libm implementation issue
Date: Wed, 31 Dec 2014 09:41:33 +0000 [thread overview]
Message-ID: <1420018893.25779.12.camel@linuxfoundation.org> (raw)
In-Reply-To: <a271ef72b7b9e3175419d6d8ffbb59e5bf6d0065@webmail.adam.com.au>
On Tue, 2014-12-30 at 20:09 +1030, peterengcomau001@adam.com.au wrote:
>
> I have some software that uses specific mathematical functions. When I
> attempt to compile them with the Yocto cross-compile tools, the
> functions are not recognised. E.g. 'pow' in <math>
> According to website https://wiki.yoctoproject.org/wiki/Minimal_Image,
> not all eglibc features are installed as standard, and that I should
> alter my local.conf file. I have added the following:
>
> DISTRO_FEATURES_LIBC += " libc-libm "
> DISTRO_FEATURES_append = " ${DISTRO_FEATURES_LIBC} "
By default the libc we build is fully featured. The only time we cut
down the libc by default is when you use DISTRO = "poky-tiny". Are you
using poky-tiny?
If you're not, the most likely issue you didn't see pow and friends
would be a missing linkage against libm (-lm on the commandline for
gcc/ld).
Cheers,
Richard
next prev parent reply other threads:[~2014-12-31 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-30 9:39 libm implementation issue peterengcomau001
2014-12-30 19:48 ` Benjamin Esquivel
2014-12-31 9:01 ` peterengcomau001
2014-12-31 9:41 ` Richard Purdie [this message]
2015-01-09 21:02 ` peterengcomau001
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420018893.25779.12.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=peterengcomau001@adam.com.au \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.