> /home/sh/archive/gcc-4.7-20111029/libgcc/unwind-dw2.c: In function > 'init_dwarf_reg_size_table': > /home/sh/archive/gcc-4.7-20111029/libgcc/unwind-dw2.c:1482:39: internal > compiler error: in arm_dbx_register_number, at config/arm/arm.c:23536
Your original post in this thread suggested that you wanted to switch the rtems port to use the AAPCS http://gcc.gnu.org/ml/gcc/2011-04/msg00100.html . If the above is what was intended this is not the right way of achieving it because you are missing an include of bpabi.h which sets ARM_DEFAULT_ABI to ARM_ABI_AAPCS and a raft of other pre-processor defines that you need to get the backend in the right form for using the AAPCS implementation. The other problem is that you aren't using the right unwind info which is why you are hitting this issue because it just uses the standard eh_frame implementation .Look at how this is done in libgcc/config.host. Therefore no - if this is intended to switch rtems to ABI_AAPCS completely I don't think this is the right way of doing this. cheers Ramana