[Buildroot] [PATCH v2 1/1] package/boost: Disable fenv support with uClibc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Feb 13 15:46:20 UTC 2016


Dear Bernd Kuhls,

On Sat,  6 Feb 2016 12:51:20 +0100, Bernd Kuhls wrote:
> The boost build system does not recognize the fact that fenv.h is an
> optional module in uClibc and tries to use it even if UCLIBC_HAS_FENV
> is disabled. This patch disables fenv support completely when compiling
> with a uClibc-based toolchain.
> 
> Fixes
> http://autobuild.buildroot.net/results/160/160e1b98b204148ecf128144826554b6c523931b/
> and many others
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
> v2: updated patch to define BOOST_NO_FENV_H for the linux platform config
>     instead of patching the boost source directly

As I said, I'm still not entirely happy with this solution, but nobody
was able to find a better solution, and we need to fix this problem.

So: 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