[Buildroot] [PATCH] package/uclibc: enable long double math for xtensa

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 25 16:58:11 UTC 2014


Dear Max Filippov,

On Sat, 25 Oct 2014 14:57:33 +0400, Max Filippov wrote:
> It fixes the following build failure for packages that expect long
> double support in libm:
> 
>   Linking C executable winpr-hash
>   ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl'
>   ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl'
>   ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill'
>   ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l'
>   ../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl'
> 
> Fixes:
>   http://autobuild.buildroot.net/results/323/3236ddfe8eaf89f05f84db60eb42583cca397464/
> 
> Mainline status: patch submitted.
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
>  ...n.arch-enable-long-double-math-for-xtensa.patch | 26 ++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 package/uclibc/7bf35c8b7d4a1f97174eb49f47f33946b282114c/0003-Config.in.arch-enable-long-double-math-for-xtensa.patch

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list