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

2010-01-24 Thread Torsten Werner
reassign 558999 gcc-4.4
thanks

I am reassigning the bug to the gcc-4.4 package because the compiler
suggest using -ffunction-sections when that argument is specified on
the command line:

On Mon, Jan 18, 2010 at 2:41 AM, peter green plugw...@p10link.net wrote:
 /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 02d7_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 042a_gtk_widget_modify_fg+0, recompile with
 -ffunction-sections


Torsten



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


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

2010-01-24 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 558999 gcc-4.4
Bug #558999 [java-gnome] FTBFS [hppa] - recompile with -ffunction-sections
Bug reassigned from package 'java-gnome' to 'gcc-4.4'.
Bug No longer marked as found in versions 4.0.14-2 and 4.0.13-3.
 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


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

2010-01-17 Thread peter green

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 02d7_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 042a_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.





___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#558999: Build still fails

2010-01-10 Thread Onkar Shinde
reopen 558999
thanks

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. The build still fails with same error on hppa.



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers