[Bug java/26138] New: Lots of warnings with gcj .jar -> .so

overholt at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 6 20:36:00 GMT 2006


When natively-compiling the Eclipse jars, I get lots of warnings similar to
this:

org/eclipse/swt/internal/SWTEventObject.java:0: warning:
'_otable_syms_org_eclipse_swt_internal_SWTEventObject' defined but not used
org/eclipse/swt/internal/SWTEventObject.java:0: warning:
'_itable_syms_org_eclipse_swt_internal_SWTEventObject' defined but not used

I am compiling this jar like this:

/usr/bin/gcj -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4
-fasynchronous-unwind-tables -fPIC -findirect-dispatch -fjni
/var/tmp/eclipse-3.1.2-1jpp_4fc-buildroot/usr/lib/gcj/eclipse/org.eclipse.swt.gtk.linux.x86_3.1.1.jar.1.jar
-o
/var/tmp/eclipse-3.1.2-1jpp_4fc-buildroot/usr/lib/gcj/eclipse/org.eclipse.swt.gtk.linux.x86_3.1.1.jar.1.jar.o

$ gcj --version
gcj (GCC) 4.1.0 20060131 (Red Hat 4.1.0-0.20)

i386


-- 
           Summary: Lots of warnings with gcj .jar -> .so
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: overholt at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26138



More information about the Gcc-bugs mailing list