[gtkada] Compilation bug...

Frode Tennebø frode at tennebo.com
Fri Mar 14 23:51:38 CET 2003


If I compile GtkAda with debug information enabled (-g), I get this for one file:

gcc -c -I../ -O2 -gnatn -gnatws -g -fPIC -I- ../gtk-arguments.adb
+===========================GNAT BUG DETECTED==============================+
| 3.2 20020903 (3.2-7) (i386-redhat-linux-gnu) GCC error:                  |
| Internal compiler error in add_abstract_origin_attribute, at             |
|    dwarf2out.c:9547                                                      |
| Error detected at ../gtk-arguments.adb:150:1                             |
| Please submit a bug report, see http://gcc.gnu.org/bugs.html.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report

../gtk-arguments.adb
../gtk-arguments.ads
../gtk.ads
../glib.ads
../gdk.ads
../glib-object.ads
../gtkada.ads
../gtkada-types.ads
../glib-values.ads
../gdk-event.ads
../glib-generic_properties.ads
../gdk-rectangle.ads
../gdk-types.ads
../gtk-object.ads
../glib-properties.ads
../gtk-widget.ads
../glib-glist.ads
../glib-gslist.ads
../pango.ads
../pango-context.ads
../pango-font.ads
../pango-enums.ads
../pango-layout.ads
../pango-attributes.ads
../gdk-color.ads
../gdk-visual.ads
../gdk-bitmap.ads
../gdk-window.ads
../gdk-cursor.ads
../gdk-pixbuf.ads
../glib-error.ads
../gdk-drawable.ads
../gdk-gc.ads
../gdk-font.ads
../gdk-region.ads
../gdk-pixmap.ads
../gdk-rgb.ads
../gtk-accel_group.ads
../gtk-adjustment.ads
../gtk-enums.ads
../gtk-style.ads
../glib-generic_properties.adb
../glib-glist.adb
../glib-gslist.adb
../glib-values.adb


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:321
gnatmake: "../gtk-arguments.adb" compilation error
make[1]: *** [lib-obj/make_gtk.o] Error 4
make[1]: Leaving directory `/home/ft/ada/GtkAda/cvs/GtkAda/src'
make: *** [all] Error 2

I can disable compiling with debug information for this file, compile the rest with and everything works as expected.

GtkAda or GCC bug?

 -Frode

-- 
^ Frode Tennebø | email: frode at tennebo.com | Frode at IRC ^
|  with Standard.Disclaimer; use Standard.Disclaimer;  |




More information about the gtkada mailing list