# HG changeset patch # User jlarmour # Date 1234581314 0 # Node ID 5f91384cf2056cec19d03a28b7e78b9912afdf2a # Parent a501465abec6f5df068dd8e43468afe34e9cf23e * tests/cxxsupp.cxx (cyg_start): Only test 'new' with ARM tools after 3.2.x since up to that point the compiler generates references from the libsupc++ new implementation to .gcc_except_table, which is discarded. This is specific to ARM for now as that's all it has been reported against, but it's possible it may apply to other targets. diff --git a/packages/infra/current/ChangeLog b/packages/infra/current/ChangeLog --- a/packages/infra/current/ChangeLog +++ b/packages/infra/current/ChangeLog @@ -1,3 +1,12 @@ +2009-02-14 Jonathan Larmour + + * tests/cxxsupp.cxx (cyg_start): Only test 'new' with ARM tools after + 3.2.x since up to that point the compiler generates references from + the libsupc++ new implementation to .gcc_except_table, which is + discarded. This is specific to ARM for now as that's all it has + been reported against, but it's possible it may apply to other + targets. + 2009-02-04 Bart Veer * include/cyg_type.h: add new static initialization priorities. @@ -1069,7 +1078,7 @@ 1998-08-20 Nick Garnett #include #include +#include #include #include @@ -147,7 +149,7 @@ cyg_start( void ) pure->impure_fun1(); pure->inline_fun1(); -#if CYGINT_ISO_MALLOC +#if CYGINT_ISO_MALLOC && (!defined(CYGPKG_HAL_ARM) || (__GNUC_VERSION__ >= 30300)) Derived *derived2 = new Derived(2); Pure *pure2 = derived2;