public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/16776] New: dependencies problem when converting jar to shared library
@ 2004-07-27 2:19 mwteng at hotmail dot com
2004-07-27 2:26 ` [Bug java/16776] " pinskia at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: mwteng at hotmail dot com @ 2004-07-27 2:19 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/16776] dependencies problem when converting jar to shared library
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
@ 2004-07-27 2:26 ` pinskia at gcc dot gnu dot org
2004-07-27 2:36 ` mwteng at hotmail dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:26 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 02:26 -------
As said before you cannot compile with the Sun's runtime in the CLASSPATH as GCJ depends on some
parts of the java.lang.Object and such.
Just file a bug without including rt.jar in the CLASSPATH.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug java/16776] dependencies problem when converting jar to shared library
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
2004-07-27 2:26 ` [Bug java/16776] " pinskia at gcc dot gnu dot org
@ 2004-07-27 2:36 ` mwteng at hotmail dot com
2004-07-27 2:38 ` [Bug SWING/16776] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mwteng at hotmail dot com @ 2004-07-27 2:36 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mwteng at hotmail dot com 2004-07-27 02:36 -------
(In reply to comment #1)
> As said before you cannot compile with the Sun's runtime in the CLASSPATH as
GCJ depends on some
> parts of the java.lang.Object and such.
> Just file a bug without including rt.jar in the CLASSPATH.
Following is compiling detail without including rt.jar in the CLASSPATH
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 -o /tmp/ccG3fbAS.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)
/opt/gcc-3.4.1/bin/../lib/gcc/../../share/java/libgcj-3.4.1.jar/ (system)
(zip)
com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class
javax.swing.text.html.HTMLEditorKit
com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class
javax.swing.text.html.HTMLEditorKit$HTMLFactory
com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class
javax.swing.text.html.HTMLDocument
com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class
javax.swing.text.html.HTMLDocument$HTMLReader
com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class
javax.swing.text.html.HTMLDocument$HTMLReader$SpecialAction
com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class
javax.swing.text.html.HTMLDocument$HTMLReader$SpecialAction
com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class
javax.swing.text.html.HTMLDocument$HTMLReader
com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class
javax.swing.text.html.HTMLDocument
com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class
javax.swing.text.html.HTMLEditorKit$HTMLFactory
com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class
javax.swing.text.html.HTMLEditorKit
com/sun/java/help/impl/CustomKit.java: In class
`com.sun.java.help.impl.CustomKit':
com/sun/java/help/impl/CustomKit.java: In constructor `()':
com/sun/java/help/impl/CustomKit.java:48: error: cannot find file for class
javax.swing.text.html.HTMLEditorKit
com/sun/java/help/impl/Custom
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] dependencies problem when converting jar to shared library
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
2004-07-27 2:26 ` [Bug java/16776] " pinskia at gcc dot gnu dot org
2004-07-27 2:36 ` mwteng at hotmail dot com
@ 2004-07-27 2:38 ` pinskia at gcc dot gnu dot org
2004-07-27 2:40 ` [Bug SWING/16776] JH will not build to a shared libary without some SWING classes pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:38 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 02:38 -------
Now that is a different issue, reopening for that, note that most of SWING is done on the mainline (and
not in any 3.4.x) so this is might be resolved there.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Component|java |SWING
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (2 preceding siblings ...)
2004-07-27 2:38 ` [Bug SWING/16776] " pinskia at gcc dot gnu dot org
@ 2004-07-27 2:40 ` pinskia at gcc dot gnu dot org
2004-07-27 2:40 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:40 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|dependencies problem when |JH will not build to a
|converting jar to shared |shared libary without some
|library |SWING classes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (3 preceding siblings ...)
2004-07-27 2:40 ` [Bug SWING/16776] JH will not build to a shared libary without some SWING classes pinskia at gcc dot gnu dot org
@ 2004-07-27 2:40 ` pinskia at gcc dot gnu dot org
2004-07-27 2:43 ` [Bug SWING/16776] dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:40 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |graydon at redhat dot com
|dot org |
Status|UNCONFIRMED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] dependencies problem when converting jar to shared library
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (4 preceding siblings ...)
2004-07-27 2:40 ` pinskia at gcc dot gnu dot org
@ 2004-07-27 2:43 ` mwteng at hotmail dot com
2004-07-27 2:44 ` [Bug SWING/16776] JH will not build to a shared libary without some SWING classes pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mwteng at hotmail dot com @ 2004-07-27 2:43 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mwteng at hotmail dot com 2004-07-27 02:43 -------
(In reply to comment #3)
> Now that is a different issue, reopening for that, note that most of SWING
is done on the mainline (and
> not in any 3.4.x) so this is might be resolved there.
Could I know what is mainline and where could I get it?
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|JH will not build to a |dependencies problem when
|shared libary without some |converting jar to shared
|SWING classes |library
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (6 preceding siblings ...)
2004-07-27 2:44 ` [Bug SWING/16776] JH will not build to a shared libary without some SWING classes pinskia at gcc dot gnu dot org
@ 2004-07-27 2:44 ` pinskia at gcc dot gnu dot org
2004-07-27 2:48 ` mwteng at hotmail dot com
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:44 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 02:44 -------
But it looks like it is not implemented yet on the mainline either.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2004-07-27 02:44:07
date| |
Summary|dependencies problem when |JH will not build to a
|converting jar to shared |shared libary without some
|library |SWING classes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (5 preceding siblings ...)
2004-07-27 2:43 ` [Bug SWING/16776] dependencies problem when converting jar to shared library mwteng at hotmail dot com
@ 2004-07-27 2:44 ` pinskia at gcc dot gnu dot org
2004-07-27 2:44 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:44 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 02:44 -------
The mainline is the top of the tree of the CVS version of GCC (gcj).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (7 preceding siblings ...)
2004-07-27 2:44 ` pinskia at gcc dot gnu dot org
@ 2004-07-27 2:48 ` mwteng at hotmail dot com
2004-07-27 2:53 ` pinskia at gcc dot gnu dot org
2005-08-21 16:08 ` [Bug swing/16776] " fitzsim at redhat dot com
10 siblings, 0 replies; 12+ messages in thread
From: mwteng at hotmail dot com @ 2004-07-27 2:48 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mwteng at hotmail dot com 2004-07-27 02:48 -------
(In reply to comment #6)
> The mainline is the top of the tree of the CVS version of GCC (gcj).
Ok. Is there a work around for the problem? Any suggestion?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug SWING/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (8 preceding siblings ...)
2004-07-27 2:48 ` mwteng at hotmail dot com
@ 2004-07-27 2:53 ` pinskia at gcc dot gnu dot org
2005-08-21 16:08 ` [Bug swing/16776] " fitzsim at redhat dot com
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-27 2:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 02:53 -------
No workaround at this point. Basically if you want to work on these SWING classes as long as you have
the nessary paper work, you welcomed to but it sounds like these classes are very low on the list.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug swing/16776] JH will not build to a shared libary without some SWING classes
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
` (9 preceding siblings ...)
2004-07-27 2:53 ` pinskia at gcc dot gnu dot org
@ 2005-08-21 16:08 ` fitzsim at redhat dot com
10 siblings, 0 replies; 12+ messages in thread
From: fitzsim at redhat dot com @ 2005-08-21 16:08 UTC (permalink / raw)
To: java-prs
------- Additional Comments From fitzsim at redhat dot com 2005-08-21 16:08 -------
This bug boils down to: "we don't have a complete implementation of
javax.swing.text.html yet." I'm going to create a new bug for that and close
this one as a duplicate.
*** This bug has been marked as a duplicate of 23505 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-08-21 16:08 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-27 2:19 [Bug java/16776] New: dependencies problem when converting jar to shared library mwteng at hotmail dot com
2004-07-27 2:26 ` [Bug java/16776] " pinskia at gcc dot gnu dot org
2004-07-27 2:36 ` mwteng at hotmail dot com
2004-07-27 2:38 ` [Bug SWING/16776] " pinskia at gcc dot gnu dot org
2004-07-27 2:40 ` [Bug SWING/16776] JH will not build to a shared libary without some SWING classes pinskia at gcc dot gnu dot org
2004-07-27 2:40 ` pinskia at gcc dot gnu dot org
2004-07-27 2:43 ` [Bug SWING/16776] dependencies problem when converting jar to shared library mwteng at hotmail dot com
2004-07-27 2:44 ` [Bug SWING/16776] JH will not build to a shared libary without some SWING classes pinskia at gcc dot gnu dot org
2004-07-27 2:44 ` pinskia at gcc dot gnu dot org
2004-07-27 2:48 ` mwteng at hotmail dot com
2004-07-27 2:53 ` pinskia at gcc dot gnu dot org
2005-08-21 16:08 ` [Bug swing/16776] " fitzsim at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).