This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/16776] New: dependencies problem when converting jar to shared library
- From: "mwteng at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 02:19:00 -0000
- Subject: [Bug java/16776] New: dependencies problem when converting jar to shared library
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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