[Buildroot] [PATCHv2] package: add the poco C++ libraries collection

Peter Korsgaard jacmet at uclibc.org
Mon Sep 26 20:32:29 UTC 2011


>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:

 >> The FE_* macros afaik only supposed to be defined if the arch can
 >> efficiently handle it, which isn't the case for ARM.

 Baruch> It builds here for ARM (BR2_ARM_TYPE="ARM926T") using the CodeSourcery 
 Baruch> toolchain (with a little toolchain support fix I'll send shortly).

Indeed. The codesourcery toolchain presumably uses glibc. The problem is
with uClibc - But I don't want to add a package which doesn't work with
the internal toolchain.

 >> fenv.h the
 >> supporting functions are only enabled on uClibc if UCLIBC_HAS_FENV is
 >> enabled in the .config, which it isn't for our uClibc defconfigs.
 >> 
 >> I'm not exactly sure how to fix this. Any ideas?

 Baruch> Is there a way to depend on UCLIBC_HAS_FENV?
 Baruch> Is depending on glibc an option?

I would rather see a patch which uses the dummy fenv implementation on
uClibc without UCLIBC_HAS_FENV.

You can detect that using something like

#include <fetures.h>
#if defined(__UCLIBC__) && !defined (__UCLIBC_HAS_FENV__)
..

But I haven't looked at the poco build system to see how easy that would
be.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list