[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

re: Build still fails ( Bug#558999: FTBFS [hppa] - recompile with -ffunction-sections )

The bug is not fixed even with latest changes in packaging. It looks
like compiler flag set from debian/rules file is not getting used by
the build system.

mmm, looks like it is to me

"/usr/bin/gcc-4.4  -g -Wall -fPIC -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast  -Werror-implicit-function-declaration -Wfatal-errors -Isrc/jni -Itmp/include -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gtksourceview-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtkspell-2.0 -I/usr/include/unique-1.0 -I/usr/include/enchant -g -O2 -g -Wall -O2 -ffunction-sections -o tmp/objects/org/gnome/gtk/GtkWidget.o -c generated/bindings/org/gnome/gtk/GtkWidget.c"

The build still fails with same error on hppa.
actually the error has changed

old>/usr/bin/ld: tmp/objects/org/gnome/gtk/GtkWidget.o(.text+0xd70): cannot reach 000002d7_gtk_widget_translate_coordinates+0, recompile with -ffunction-sections
new>/usr/bin/ld: tmp/objects/org/gnome/gtk/GtkWidget.o(.text.Java_org_gnome_gtk_GtkWidget_gtk_1widget_1modify_1fg+0x14): cannot reach 0000042a_gtk_widget_modify_fg+0, recompile with -ffunction-sections

Which would seem to indicate that even with function sections used the sections are still too big.

However Java_org_gnome_gtk_GtkWidget_gtk_1widget_1modify_1fg looks like a pretty simple function to me* so I can't see how it would generate a huge section. Any HPPA experts got any idea what else the problem could be?

*checked on amd64 since I don't have access to a hppa system but I doubt the generator does anything different on different architectures.

Reply to: