public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/24162] New: internal compiler error, make_class_data
@ 2005-10-01 15:33 bflat1 at gmx dot net
  2005-10-01 17:40 ` [Bug java/24162] " mark at klomp dot org
  2005-10-01 18:03 ` bflat1 at gmx dot net
  0 siblings, 2 replies; 4+ messages in thread
From: bflat1 at gmx dot net @ 2005-10-01 15:33 UTC (permalink / raw)
  To: java-prs

I got the following error output when trying to compile a jar file from the 
limewire project (http://www.limewire.org/): 
 
 
 gcj -v -save-temps core.jar  
Using built-in specs. 
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../libgcj.spec 
rename spec lib to liborig 
Target: i486-linux-gnu 
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr 
--disable-werror --enable-checking=release i486-linux-gnu 
Thread model: posix 
gcc version 4.0.2 (Debian 4.0.1-9) 
 /usr/lib/gcc/i486-linux-gnu/4.0.2/jc1 core.jar -fhash-synchronization 
-fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions 
-fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase core.jar 
-mtune=i486 -auxbase core -g1 -version -o core.s 
GNU Java version 4.0.2 (Debian 4.0.1-9) (i486-linux-gnu) 
        compiled by GNU C version 4.0.2 (Debian 4.0.1-9). 
GGC heuristics: --param ggc-min-expand=90 --param ggc-min-heapsize=113113 
Class path starts here: 
    ./ 
    /usr/java/j2sdk1.4.1_03/jre/lib/rt.jar/ (zip) 
    /usr/share/java/libgcj-4.0.2.jar/ (system) (zip) 
java/lang/String.java:18: internal compiler error: in make_class_data, at 
java/class.c:1760

-- 
           Summary: internal compiler error, make_class_data
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bflat1 at gmx dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
GCC target triplet:  i486-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24162


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/24162] internal compiler error, make_class_data
  2005-10-01 15:33 [Bug java/24162] New: internal compiler error, make_class_data bflat1 at gmx dot net
@ 2005-10-01 17:40 ` mark at klomp dot org
  2005-10-01 18:03 ` bflat1 at gmx dot net
  1 sibling, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2005-10-01 17:40 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mark at gcc dot gnu dot org  2005-10-01 17:40 -------
Subject: Re:  New: internal compiler error, make_class_data

On Sat, 2005-10-01 at 15:33 +0000, bflat1 at gmx dot net wrote:
> Class path starts here: 
>     ./ 
>     /usr/java/j2sdk1.4.1_03/jre/lib/rt.jar/ (zip) 
>     /usr/share/java/libgcj-4.0.2.jar/ (system) (zip) 
> java/lang/String.java:18: internal compiler error: in make_class_data, at 
> java/class.c:1760

gcj shouldn't crash of course, but are you sure that rt.jar on your
Class path is correct? Kaffe comes with an rt.jar which contains kaffe's
bootstrap classes, some other runtimes also ship with something called
rt.jar. But gcj doesn't. Mixing bootstrap classes from different
compilers/runtimes doesn't work.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24162


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/24162] internal compiler error, make_class_data
  2005-10-01 15:33 [Bug java/24162] New: internal compiler error, make_class_data bflat1 at gmx dot net
  2005-10-01 17:40 ` [Bug java/24162] " mark at klomp dot org
@ 2005-10-01 18:03 ` bflat1 at gmx dot net
  1 sibling, 0 replies; 4+ messages in thread
From: bflat1 at gmx dot net @ 2005-10-01 18:03 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From bflat1 at gmx dot net  2005-10-01 18:02 -------
Thanks for the hint, removing rt.jar from the CLASSPATH variable fixed this 
problem which was then superseded by the following: 
 
 gcj -v -save-temps core.jar  
Using built-in specs. 
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.0.2/../../../libgcj.spec 
rename spec lib to liborig 
Target: i486-linux-gnu 
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm 
--enable-java-awt=gtk --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr 
--disable-werror --enable-checking=release i486-linux-gnu 
Thread model: posix 
gcc version 4.0.2 (Debian 4.0.1-9) 
 /usr/lib/gcc/i486-linux-gnu/4.0.2/jc1 core.jar -fhash-synchronization 
-fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions 
-fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase core.jar 
-mtune=i486 -auxbase core -g1 -version -o core.s 
GNU Java version 4.0.2 (Debian 4.0.1-9) (i486-linux-gnu) 
        compiled by GNU C version 4.0.2 (Debian 4.0.1-9). 
GGC heuristics: --param ggc-min-expand=90 --param ggc-min-heapsize=113113 
Class path starts here: 
    /usr/share/java/commons-logging.jar/ (zip) 
    ../../lib/jars/clink.jar/ (zip) 
    /usr/share/java/libgcj-4.0.2.jar/ (system) (zip) 
 
jc1: out of memory allocating 1342179073 bytes after a total of 492188 bytes 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet| i486-linux-gnu             |i486-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24162


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/24162] internal compiler error, make_class_data
       [not found] <bug-24162-11446@http.gcc.gnu.org/bugzilla/>
@ 2005-10-03 14:26 ` tromey at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-10-03 14:26 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from tromey at gcc dot gnu dot org  2005-10-03 14:26 -------
This is a duplicate.
I'm not sure what is going on with the patch in PR 23617...


*** This bug has been marked as a duplicate of 23617 ***


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24162


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-03 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-01 15:33 [Bug java/24162] New: internal compiler error, make_class_data bflat1 at gmx dot net
2005-10-01 17:40 ` [Bug java/24162] " mark at klomp dot org
2005-10-01 18:03 ` bflat1 at gmx dot net
     [not found] <bug-24162-11446@http.gcc.gnu.org/bugzilla/>
2005-10-03 14:26 ` 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).