From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15870 invoked by alias); 6 Feb 2006 20:36:12 -0000 Received: (qmail 15722 invoked by uid 48); 6 Feb 2006 20:36:09 -0000 Date: Mon, 06 Feb 2006 20:36:00 -0000 Subject: [Bug java/26138] New: Lots of warnings with gcj .jar -> .so X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "overholt at redhat dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00559.txt.bz2 List-Id: 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