[Buildroot] [PATCH v2 1/1] package/boost: Disable fenv support with uClibc
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 7 18:25:09 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
Thanks for this new version. However I still don't understand why the
boost tests that check for the availability of the different FE_*
defines don't work properly.
See libs/config/test/boost_no_fenv_h.ipp.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list