[gtkada] GtkaAda + GCC-4.0.0 build problem (hidden symbol `_Unwind_Resume')

Rod Kay rodkay at mullum.com.au
Thu Apr 28 04:21:30 CEST 2005


On Wed, 27 Apr 2005 11:25 am, Rod Kay wrote:

>     Has anyone succeeded in building GtkAda with GCC-4.0.0 ?
>
>     I had no problems during the build until trying to link an executable
> (testgtk, gate-in, etc), at which time I received this error ...
>
>                /usr/bin/ld: testgtk: hidden symbol `_Unwind_Resume'
> in /usr/local/lib/gcc/i686-pc-linux-gnu/4.0.0/libgcc_eh.a(unwind-dw2.o) is
> referenced by DSO

    GtkAda now builds and tests ok, although the 'solution' is a little 
dodgy ...

    I had to link to GCC3.3.2 libgcc_eh.a, as the GCC4.0.0 libgcc_eh.a (also 
latest GCC cvs)  seems to consider `_Unwind_Resume' a hidden symbol, and the 
link fails.

    I didn't hold much hope for the link to the GCC3.3.2 lib working, but as 
yet there seems to be no problem ...



More information about the gtkada mailing list