Bug 19473 - rhug build problem, regression?
Summary: rhug build problem, regression?
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: memory-hog
Depends on:
Blocks:
 
Reported: 2005-01-16 22:35 UTC by Timo Lindfors
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Lindfors 2005-01-16 22:35:40 UTC
I tried to build rhug from cvs 2005-01-16 with gcc from cvs 2005-01-16 but
apparently
gcj enters some sort of an endless loop that eats all memory:

gcj --encoding=UTF-8 -fassume-compiled
--classpath=/home/lindi/src-2005-01-16/rhug/gnu.crypto/jce/javax-crypto.jar:.:.
-g -O2 -c gnu/crypto/cipher/Rijndael.java -MT gnu/crypto/cipher/Rijndael.lo -MD
-MP -MF gnu/crypto/cipher/.deps/Rijndael.TPlo  -fPIC  -o
gnu/crypto/cipher/Rijndael.o
gcj: Internal error: Killed (program jc1)

The box has 1G of ram and 1G of swap. Also, the problematic file builds fine
with  gcc from 2005-01-14:

$ LD_LIBRARY_PATH=/home/lindi/installdir-2005-01-14/gcc/lib
PATH=/home/lindi/installdir-2005-01-14/gcc/bin:$PATH gcj --encoding=UTF-8
-fassume-compiled
--classpath=/home/lindi/src-2005-01-16/rhug/gnu.crypto/jce/javax-crypto.jar:.:.
-g -O2 -c gnu/crypto/cipher/Rijndael.java -MT gnu/crypto/cipher/Rijndael.lo -MD
-MP -MF gnu/crypto/cipher/.deps/Rijndael.TPlo  -fPIC  -o
gnu/crypto/cipher/Rijndael.o
$ ls -l gnu/crypto/cipher/Rijndael.o
-rw-rw-r--  1 lindi lindi 401176 Jan 16 23:40 gnu/crypto/cipher/Rijndael.o
Comment 1 Tom Tromey 2005-01-25 21:26:49 UTC
I rebuilt this part of rhug with the 20050124 gcj
with no problems.  Could you try a newer gcj?
Also, what platform are you on?
Comment 2 Timo Lindfors 2005-01-25 22:02:42 UTC
Sure. Seems it also fails with 2005-01-21 gcj&rhug. I'll try with
2005-01-25 next and report the results here.

The platform is just a normal x86 (intel pentium 4) running fedora
with kernel "2.6.10-1.741_FC3".
Comment 3 Timo Lindfors 2005-01-26 12:16:11 UTC
Works fine with 2005-01-25 here too. Seems somebody already fixed this.