# HG changeset patch # User Mike Kinghan # Date 1281000985 -3600 # Node ID 888ff8520588bb7882e4fcca68d69a3ded8dde7e # Parent 03e4121ce0f82cb05d2d74e50fa6ffd4e54e6845 Workaround for bug 2976 - [GCCE] Overlapping naked function bodies break exception-handling. We have no fix that will compile the problem file kernel/eka/common/arm/carray.cia, so instead we just configure the c++ implementation of CArray instead of the assembly coded one. diff -r 03e4121ce0f8 -r 888ff8520588 kernel/eka/include/cpudefs.h --- a/kernel/eka/include/cpudefs.h Thu Aug 05 08:30:36 2010 +0100 +++ b/kernel/eka/include/cpudefs.h Thu Aug 05 10:36:25 2010 +0100 @@ -247,7 +247,9 @@ #define __COBJECT_MACHINE_CODED__ #define __CACTIVESCHEDULER_MACHINE_CODED__ #define __CSERVER_MACHINE_CODED__ -// #define __ARRAY_MACHINE_CODED__ IMK working around bug #2976 +#ifndef __GCCE__ // IMK working around bug #2976 for GCCE + #define __ARRAY_MACHINE_CODED__ +#endif #define __HUFFMAN_MACHINE_CODED__ #if defined(__MARM_ARM4__) || defined(__MARM_ARMI__) || defined(__MARM_THUMB__) || defined(__MARM_ARMV4__) || defined(__MARM_ARMV5__) #define __DES16_MACHINE_CODED_HWORD__