public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/10304: ICE when compiling OpenNMS (jcf-write.c:1041)
@ 2003-04-03 10:26 seth
0 siblings, 0 replies; 2+ messages in thread
From: seth @ 2003-04-03 10:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 10304
>Category: java
>Synopsis: ICE when compiling OpenNMS (jcf-write.c:1041)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Apr 03 10:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: seth@oculan.com
>Release: gcj-3.2.1
>Organization:
>Environment:
GNU/Linux i386 Redhat 7.2 base, gcc 3.2.1
[root@seth-home root]# gcc --version
gcc (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@seth-home root]# gcj --version
gcj (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>Description:
I get an ICE when compiling the java code from the OpenNMS project.
Here's the Ant output:
[javac] /root/opennms-unstable/src/services/org/opennms/netmgt/rtc/DataUpdater.java: In class `org.opennms.netmgt.rtc.DataUpdater':
[javac] /root/opennms-unstable/src/services/org/opennms/netmgt/rtc/DataUpdater.java: In method `org.opennms.netmgt.rtc.DataUpdater.handleNodeGainedService(long,java.lang.String,java.lang.String)':
[javac] /root/opennms-unstable/src/services/org/opennms/netmgt/rtc/DataUpdater.java:70: Internal compiler error in emit_store, at java/jcf-write.c:1041
[javac] Please submit a full bug report,
[javac] with preprocessed source if appropriate.
[javac] See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
The source code is downloadable from www.opennms.org and the relevent files can be browsed from the CVS tree at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/opennms/opennms/src/services/org/opennms/netmgt/rtc/
This code compiles without error when using JDK 1.3.1, 1.4.0, and jikes.
>How-To-Repeat:
Attempt to compile OpenNMS (www.opennms.org) project with GCJ. Change build.compiler property in build.properties file from "modern" to "gcj" and then run "./build.sh compile".
You may encounter additional issues with other files but I have been able to work around the other problems. Here are some proposed workarounds:
- src/services/org/opennms/netmgt/capsd/Scheduler.java: Remove NodeInfo(int, Date, long) constructor and change calls to it to use alternate (int,Timestamp,long) constructor
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: java/10304: ICE when compiling OpenNMS (jcf-write.c:1041)
@ 2003-05-03 2:42 tromey
0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2003-05-03 2:42 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, java-prs, nobody, seth, tromey
Synopsis: ICE when compiling OpenNMS (jcf-write.c:1041)
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Sat May 3 02:42:25 2003
Responsible-Changed-Why:
I'm handling this
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Sat May 3 02:42:25 2003
State-Changed-Why:
Could you try the upcoming gcj 3.3 prerelease?
Or gcj from the 3.3 cvs branch?
Many bugs have been fixed in 3.3; I'd like to rule that
out first.
Unfortunately I don't have time to download OpenNMS and
try it right now. If you can't try 3.3, that's fine;
we'll keep the PR open until someone can look at it.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10304
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-03 2:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-03 10:26 java/10304: ICE when compiling OpenNMS (jcf-write.c:1041) seth
2003-05-03 2:42 tromey
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).