[Buildroot] [PATCH 1/2] package/uclibc: libm: Add missing C99 float/ld wrappers (backport)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 29 11:56:08 UTC 2015


Dear Bernd Kuhls,

On Sun, 29 Mar 2015 01:29:07 +0100, Bernd Kuhls wrote:
> This commit adds a patch to uclibc with a backport from upstream
> to provide a proper fix for mesa3d which depends on fminf.
> Also remove the mesa3d patch which provided a crappy workaround.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
>  .../0002-Fix-runtime-error-with-uClibc.patch       |   58 --
>  .../0069-Add-missing-C99-float-ld-wrappers.patch   |  870 ++++++++++++++++++++
>  2 files changed, 870 insertions(+), 58 deletions(-)
>  delete mode 100644 package/mesa3d/0002-Fix-runtime-error-with-uClibc.patch
>  create mode 100644 package/uclibc/0.9.33.2/0069-Add-missing-C99-float-ld-wrappers.patch

I think we might need to keep the crappy workaround, or an improved
version of it. The problem with doing a uClibc patch is that it will
only work with internal uClibc toolchains: all uClibc toolchains will
continue to be broken.

So we might want to do both:

 1/ Fix uClibc properly, so that in the future (3-6 months from now),
 we can get rid of the mesa3d specific fix, after most of the external
 uClibc toolchains have been updated.

 2/ Keep a mesa3d workaround for a little while.

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



More information about the buildroot mailing list