public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/31719] New: gcj crashes compiling simple .class file output by Rhino js->.class compiler
@ 2007-04-26 21:49 billt at tutsys dot com
2007-04-26 21:52 ` [Bug java/31719] " tromey at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: billt at tutsys dot com @ 2007-04-26 21:49 UTC (permalink / raw)
To: java-prs
I'm trying to compile a .class file generated from the following Javascript
program using Rhino 1_6R5 (Mozilla's Javascript compiler):
print("Hello, world");
When I do so from within Rhino's src/ directory (so that gcj can find the Rhino
java files to satisfy dependencies), I get a simple error:
jc1: internal compiler error: Segmentation fault
Please submit a full bug report,...
"uname -a" says:
Linux cpxa03b 2.4.25-rm02.mcp820 #17 Wed Sep 14 09:20:59 PDT 2005 ppc unknown
I can attach a .class file if that would be useful.
Bill Trost
btrost@motorola.com
--
Summary: gcj crashes compiling simple .class file output by Rhino
js->.class compiler
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: billt at tutsys dot com
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31719
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/31719] gcj crashes compiling simple .class file output by Rhino js->.class compiler
2007-04-26 21:49 [Bug java/31719] New: gcj crashes compiling simple .class file output by Rhino js->.class compiler billt at tutsys dot com
@ 2007-04-26 21:52 ` tromey at gcc dot gnu dot org
2007-04-26 22:20 ` btrost at motorola dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-26 21:52 UTC (permalink / raw)
To: java-prs
------- Comment #1 from tromey at gcc dot gnu dot org 2007-04-26 22:52 -------
Yes, please attach the .class file.
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31719
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/31719] gcj crashes compiling simple .class file output by Rhino js->.class compiler
2007-04-26 21:49 [Bug java/31719] New: gcj crashes compiling simple .class file output by Rhino js->.class compiler billt at tutsys dot com
2007-04-26 21:52 ` [Bug java/31719] " tromey at gcc dot gnu dot org
@ 2007-04-26 22:20 ` btrost at motorola dot com
2007-04-26 23:08 ` tromey at gcc dot gnu dot org
2007-04-27 16:45 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: btrost at motorola dot com @ 2007-04-26 22:20 UTC (permalink / raw)
To: java-prs
------- Comment #2 from btrost at motorola dot com 2007-04-26 23:20 -------
Subject: RE: gcj crashes compiling simple .class file output by Rhino
js->.class compiler
Uh....
GCC Bugzilla has suffered an internal error. Please save this page and send it
to dberlin@gcc.gnu.org with details of what you were doing at the time this
message appeared.
URL: http://gcc.gnu.org/bugzilla/attachment.cgi
undef error - Undefined subroutine Fh::slice at
data/template/template/en/default/global/hidden-fields.html.tmpl line 58
From: tromey at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Thursday, April 26, 2007 2:52 PM
Yes, please attach the .class file.
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31719
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/31719] gcj crashes compiling simple .class file output by Rhino js->.class compiler
2007-04-26 21:49 [Bug java/31719] New: gcj crashes compiling simple .class file output by Rhino js->.class compiler billt at tutsys dot com
2007-04-26 21:52 ` [Bug java/31719] " tromey at gcc dot gnu dot org
2007-04-26 22:20 ` btrost at motorola dot com
@ 2007-04-26 23:08 ` tromey at gcc dot gnu dot org
2007-04-27 16:45 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-26 23:08 UTC (permalink / raw)
To: java-prs
------- Comment #3 from tromey at gcc dot gnu dot org 2007-04-27 00:08 -------
Sorry about that. I forwarded it to our bugzilla maintainer.
Can you email me the class file instead?
Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31719
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug java/31719] gcj crashes compiling simple .class file output by Rhino js->.class compiler
2007-04-26 21:49 [Bug java/31719] New: gcj crashes compiling simple .class file output by Rhino js->.class compiler billt at tutsys dot com
` (2 preceding siblings ...)
2007-04-26 23:08 ` tromey at gcc dot gnu dot org
@ 2007-04-27 16:45 ` tromey at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-27 16:45 UTC (permalink / raw)
To: java-prs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
------- Comment #4 from tromey at gcc dot gnu dot org 2007-04-27 17:44 -------
Dan Berlin said if you log in first you should be able to attach things.
I downloaded rhino 1_6r5 from: http://www.mozilla.org/rhino/download.html
Then I tried the .class you sent me. I tried with gcj 4.1 (from the 4.1
branch), the FC6 gcj, and svn trunk. All worked. I did this:
gcj -c -I rhino1_6R5/js.jar lame.class
I did get an ICE when running from rhino1_6R5/src:
opsy. gcj -c ../../lame.class
./org/mozilla/javascript/Context.java:565: warning: The class
org.mozilla.javascript.ContextListener has been deprecated.
public static void addContextListener(ContextListener listener)
^
./org/mozilla/javascript/Context.java:594: warning: The class
org.mozilla.javascript.ContextListener has been deprecated.
public static void removeContextListener(ContextListener listener)
^
jc1: internal compiler error: Segmentation fault
... but it is really better to use the -I method from the first example,
especially since trunk can't readily compile class files whose dependencies
only exist as .java files.
ICEing here is still bad of course. We should emit a sensible error and
exit cleanly instead.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-27 17:45:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31719
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-27 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 21:49 [Bug java/31719] New: gcj crashes compiling simple .class file output by Rhino js->.class compiler billt at tutsys dot com
2007-04-26 21:52 ` [Bug java/31719] " tromey at gcc dot gnu dot org
2007-04-26 22:20 ` btrost at motorola dot com
2007-04-26 23:08 ` tromey at gcc dot gnu dot org
2007-04-27 16:45 ` tromey at gcc dot gnu dot org
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).