From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31485 invoked by alias); 27 Jul 2004 02:19:20 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 30340 invoked by uid 48); 27 Jul 2004 02:19:00 -0000 Date: Tue, 27 Jul 2004 02:19:00 -0000 From: "mwteng at hotmail dot com" To: java-prs@gcc.gnu.org Message-ID: <20040727021858.16776.mwteng@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/16776] New: dependencies problem when converting jar to shared library X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00114.txt.bz2 List-Id: Below problem is reopened from case 16685. Basicall, I'm trying to convert jh.jar to a shared library. As some reference need to refer to rt.jar, therefore, it is included into the classpath. Wonder whether went wrong and how could I make it compiled? Is there a way to turn of such checking. Reading specs from /opt/gcc-3.4.1/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/specs Reading specs from /opt/gcc-3.4.1/bin/../lib/gcc/i686-pc-linux- gnu/3.4.1/../../../libgcj.spec rename spec lib to liborig Configured with: ./configure --prefix=/opt Thread model: posix gcc version 3.4.1 /opt/gcc-3.4.1/bin/../libexec/gcc/i686-pc-linux-gnu/3.4.1/jc1 jh.jar -fhash- synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call- exceptions -fkeep-inline-functions -quiet -dumpbase jh.jar -mtune=pentiumpro - auxbase jh -g1 -version -fPIC -fclasspath=:.:jh.jar:rt.jar -o /tmp/ccBLFO63.s GNU Java version 3.4.1 (i686-pc-linux-gnu) compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31906 Class path starts here: ./ ./ jh.jar/ (zip) rt.jar/ (zip) /opt/gcc-3.4.1/bin/../lib/gcc/../../share/java/libgcj-3.4.1.jar/ (system) (zip) java/lang/Object.java:0: fatal error: the `java.lang.Object' that was found in `rt.jar' didn't have the special zero-length `gnu.gcj.gcj-compiled' attribute. This generally means that your classpath is incorrectly set. Use `info gcj "Input Options"' to see the info page describing how to set the classpath compilation terminated. Notes packages detail : jh.jar - Java help system jar rt.jar - Java runtime jar -- Summary: dependencies problem when converting jar to shared library Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mwteng at hotmail dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: Redhat Linux 9.0 GCC host triplet: Redhat Linux 9.0 GCC target triplet: Redhat Linux 9.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776