Eric Botcazou wrote:
Thank you for confirming it wasn't just me or my configuration. This
looks like a serious issue to me.
It's partly your configuration, this presumably doesn't happen on platforms
that use DWARF-2 exception handling, i.e. most native platforms (I just
re-tested SPARC/Solaris), probably why nobody had noticed until recently.
I assume so but honestly don't know. We just follow the
CPU-elf configurations with very small changes to make
them predefine __rtems__ and handle the libraries and
do the right thing for tasking. So if those embedded
configurations are using DWARF-2 EH, then CPU-rtems
is also.
Does RTEMS support DWARF-2 EH? If so, change the following lines to True
ZCX_By_Default : constant Boolean := False;
GCC_ZCX_Support : constant Boolean := False;
in system-rtems.ads.
Doing this fixed the long build time issue but it opened issue.
It looks like the RTEMS configuration is missing something
that this requires. The first application I tried to link is missing:
+ __gnat_eh_personality
+ __gnat_begin_handler
+ __gnat_end_handler
Where do those come from and how do I turn them on?
I am running ACATS on 4.2.2 with my modifications and so far so good.
I would like to see how the svn trunk compares.
Thanks.
--joel