[Bug java/28979] GCJ errors out when compiling .class files produced by Scala 2.1.8

2006-09-12 Thread tromey at gcc dot gnu dot org


--- Comment #6 from tromey at gcc dot gnu dot org  2006-09-12 16:09 ---
This is fixed in svn head.  Part was fixed by the mangling change,
which we can't backport to 4.1.  The other part was fixed when
the PR 28892 fix went in today.

I didn't let it try to compute the 1000th number but the rest worked.


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


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



[Bug java/28979] GCJ errors out when compiling .class files produced by Scala 2.1.8

2006-09-08 Thread vnasardinov at gmail dot com


--- Comment #5 from vnasardinov at gmail dot com  2006-09-09 01:05 ---
PR 28892 reminded me that I had forgotten to mention one thing.  The
attached program (attachment 12208) runs fine under gij.

To be more precise, it does more or less the same thing it does under
Sun's JDK.  Under Sun:

 | $ time java \
 |   -classpath /usr/local/scala/share/scala/lib/scala-library.jar:hamming.jar
\
 |   hamming
 | The first 20 numbers:
 | 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 27, 30, 32, 36
 | 
 | The 100th number (counting from 0): 1600
 | 
 | The 1000th:
 | Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
 | 
 | real 0m9.922s
 | user 0m6.532s
 | sys  0m2.780s


Under gij:

 | $ gij \
 |  --classpath /usr/local/scala/share/scala/lib/scala-library.jar:hamming.jar
\
 |  hamming
 | The first 20 numbers:
 | 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 27, 30, 32, 36
 | 
 | The 100th number (counting from 0): 1600
 | 
 | The 1000th:
 | Killed

Under Sun, it causes an OOM when trying to compute the 1000th Hamming
number.  Under gij, it starts paging like there is no tomorrow, but
keeps on going and hoses up my machine pretty quickly.


-- 


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



[Bug java/28979] GCJ errors out when compiling .class files produced by Scala 2.1.8

2006-09-08 Thread tromey at gcc dot gnu dot org


--- Comment #4 from tromey at gcc dot gnu dot org  2006-09-08 19:34 ---
Also see PR 28892


-- 

tromey at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-09-08 19:34:58
   date||


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



[Bug java/28979] GCJ errors out when compiling .class files produced by Scala 2.1.8

2006-09-07 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-09-08 00:37 ---
I bet this was fixed in 4.2.0 with the ABI changing patch which changed the ABI
to also include the return type.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|libgcj  |java


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