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

Baruch Siach baruch at tkos.co.il
Mon Sep 26 06:44:59 UTC 2011

Hi Peter,

On Sun, Sep 25, 2011 at 11:50:39PM +0200, Peter Korsgaard wrote:
> >>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
>  Baruch> Add the C++ Portable Components libraries.
>  Baruch> The Data/ODBC components is disabled because its dependency
>  Baruch> (unixODBC) is not in Buildroot.
>  Baruch> The Data/MySQL component is build tested only. It probably requires an
>  Baruch> additional RPATH to actually run, because libmysqlclient resides in a
>  Baruch> non-standard location under /usr/lib/mysql.
> Thanks, a few comments:


> With those changes it builds until it gets to the FPU stuff, which
> breaks on (atleast) ARM:
> .. -c src/FPEnvironment.cpp -o /home/peko/source/buildroot/output/build/poco-1.4.2/Foundation/obj/Linux/arm/release_shared/FPEnvironment.o
> In file included from src/FPEnvironment_C99.cpp:37,
>                  from src/FPEnvironment.cpp:48:
> include/Poco/FPEnvironment_C99.h:56: error: 'FE_DOWNWARD' was not declared in this scope
> include/Poco/FPEnvironment_C99.h:57: error: 'FE_UPWARD' was not declared in this scope
> The FE_* macros afaik only supposed to be defined if the arch can
> efficiently handle it, which isn't the case for ARM.

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

> 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?

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


                                                     ~. .~   Tk Open Systems
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

More information about the buildroot mailing list