[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#221738: marked as done ([PR java/10304] gcj-3.3: ICE during babel build)



Your message dated 21 Jan 2004 12:19:47 -0500
with message-id <1074705587.1851.14.camel@doorstop>
and subject line Bug#221738: gcj-3.3: ICE during babel build
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Nov 2003 21:00:23 +0000
>From hazelsct@doorstop.home.net Wed Nov 19 15:00:21 2003
Return-path: <hazelsct@doorstop.home.net>
Received: from h001057000cf9.ne.client2.attbi.com (doorstop.home.net) [65.96.185.57] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AMZQy-0005pf-00; Wed, 19 Nov 2003 15:00:21 -0600
Received: from hazelsct by doorstop.home.net with local (Exim 3.35 #1 (Debian))
	id 1AMZPU-0003RI-00
	for <submit@bugs.debian.org>; Wed, 19 Nov 2003 15:58:48 -0500
Subject: gcj-3.3: ICE during babel build
From: Adam C Powell IV <hazelsct@debian.org>
To: Debian Bugs <submit@bugs.debian.org>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 19 Nov 2003 15:58:47 -0500
Message-Id: <1069275528.13055.76.camel@doorstop>
Mime-Version: 1.0
Sender: Adam C Powell IV <hazelsct@doorstop.home.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.9 required=4.0
	tests=BAYES_60,HAS_PACKAGE,PATCH_UNIFIED_DIFF
	autolearn=ham version=2.53-bugs.debian.org_2003_11_15
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 (1.174.2.15-2003-03-30-exp)

Package: gcj-3.3
Version: 3.3.2-4
Severity: normal

Greetings,

gcj-3.3 ICEs during at attempted build of babel 0.8.8.  The compile
command is quite ugly:

javac -g -d . -classpath
../lib/java-getopt-1.0.7.jar:../lib/xerces-2.4.0.jar:../lib/jcert-1.0.1.jar:../lib/jnet-1.0.1.jar:../lib/external/jsse-1.0.1.jar:../lib/xml-apis.jar ./gov/llnl/babel/backend/c/ArrayMethods.java (and 161 other .java files)

It is followed by a boatload of warnings, and then:

./gov/llnl/babel/backend/fortran/AbbrevHeader.java: In class
`gov.llnl.babel.backend.fortran.AbbrevHeader':
./gov/llnl/babel/backend/fortran/AbbrevHeader.java: In method
`gov.llnl.babel.backend.fortran.AbbrevHeader.generateExtendable(gov.llnl.babel.symbols.Extendable,gov.llnl.babel.backend.mangler.NameMangler,gov.llnl.babel.backend.mangler.NameMangler)':
./gov/llnl/babel/backend/fortran/AbbrevHeader.java:239: internal
compiler error: in emit_store, at java/jcf-write.c:1048
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Is there an equivalent to "gcc -E" for Java, to preprocess the source? 
If not, you can get the (unbuildable) Debian package source at:

  http://lyre.mit.edu/~powell/babel/babel_0.8.8.orig.tar.gz
  http://lyre.mit.edu/~powell/babel/babel_0.8.8-1.diff.gz
  http://lyre.mit.edu/~powell/babel/babel_0.8.8-1.dsc

then just dpkg-buildpackage -r fakeroot, and you'll see the ICE.  Or
give me instructions for making "preprocessed source" and I'll do so.

Interestingly, babel 0.8.6-3 compiles just fine.  (Kaffe fails to run
it; if compiled with gcj-0.3.2, then kaffe is perfectly happy with it. 
But that's bug 197090 against kaffe.)  The difference between the
AbbrevHeader.java files in those two versions is:

--- babel-0.8.6/compiler/gov/llnl/babel/backend/fortran/AbbrevHeader.java	
2003-07-23 12:30:08.000000000 -0400
+++ babel-0.8.8/compiler/gov/llnl/babel/backend/fortran/AbbrevHeader.java	
2003-10-28 18:25:43.000000000 -0500
@@ -2,9 +2,9 @@
 // File:        AbbrevHeader.java
 // Package:     gov.llnl.babel.backend.fortran
 // Copyright:   (c) 2002 The Regents of the University of California
-// Release:     $Name: release-0-8-6 $
-// Revision:    @(#) $Revision: 1.12 $
-// Date:        $Date: 2003/04/02 22:11:25 $
+// Release:     $Name: release-0-8-8 $
+// Revision:    @(#) $Revision: 1.13 $
+// Date:        $Date: 2003/09/03 15:08:42 $
 // Description: Write #include file to mangle names when necessary
 // 
 //
@@ -78,6 +78,9 @@
     "get2",
     "get3",
     "get4",
+    "get5",
+    "get6",
+    "get7",
     "isColumnOrder",
     "isRowOrder",
     "lower",
@@ -86,6 +89,9 @@
     "set2",
     "set3",
     "set4",
+    "set5",
+    "set6",
+    "set7",
     "slice",
     "smartCopy",
     "stride",
@@ -230,13 +236,16 @@
     }
 
     if ("f90".equals(BabelConfiguration.getInstance().getTargetLanguage())) {
+      final int maxArray = BabelConfiguration.getInstance().getMaximumArray();
       if (!ext.isInterface()) {
         generateType(symName, non, fort, "_impl");
         generateType(symName, non, fort, "_private");
         generateType(symName, non, fort, "_wrap");
       }
       generateType(symName, non, fort, "");
-      generateType(symName, non, fort, "_a");
+      for(int d = 1; d <= maxArray ; ++d) {
+        generateType(symName, non, fort, "_" + Integer.toString(d) + "d");
+      }
       generateType(symName, non, fort, "_array");
       generateType(symName, non, fort, "_t");
       generateType(symName, non, fort, "_type");

Of course the version difference is irrelevant; the next two hunks add
to an array of strings.  But the last hunk is in the generateExtendable
method, with its first change on line 239 (mentioned in the ICE). 
Perhaps that change could provide a clue as to why the old version
compiles and the new one causes an ICE...

Thanks,
-- 
-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg

---------------------------------------
Received: (at 221738-done) by bugs.debian.org; 21 Jan 2004 17:23:11 +0000
>From hazelsct@doorstop.home.net Wed Jan 21 09:23:11 2004
Return-path: <hazelsct@doorstop.home.net>
Received: from h001057000cf9.ne.client2.attbi.com (doorstop.home.net) [65.96.185.57] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AjM4N-0002FN-00; Wed, 21 Jan 2004 09:23:11 -0800
Received: from hazelsct by doorstop.home.net with local (Exim 3.35 #1 (Debian))
	id 1AjM16-0000Vw-00; Wed, 21 Jan 2004 12:19:48 -0500
Subject: Re: Bug#221738: gcj-3.3: ICE during babel build
From: Adam C Powell IV <hazelsct@debian.org>
To: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Cc: 221738-done@bugs.debian.org
In-Reply-To: <1069277097.13055.100.camel@doorstop>
References: <1069275528.13055.76.camel@doorstop> 
	<87r804hxjx.fsf@student.uni-tuebingen.de> 
	<1069277097.13055.100.camel@doorstop>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.5 
Date: 21 Jan 2004 12:19:47 -0500
Message-Id: <1074705587.1851.14.camel@doorstop>
Mime-Version: 1.0
Sender: Adam C Powell IV <hazelsct@doorstop.home.net>
Delivered-To: 221738-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_01_20 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_01_20
X-Spam-Level: 

Hello,

On Wed, 2003-11-19 at 16:24, Adam C Powell IV wrote:
    On Wed, 2003-11-19 at 16:13, Falk Hueffner wrote:
    > Adam C Powell IV <hazelsct@debian.org> writes:
    > 
    > > gcj-3.3 ICEs during at attempted build of babel 0.8.8.  The compile
    > > command is quite ugly:

The newest gcj no longer ICEs here.  Thanks!
-- 
-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg



Reply to: