[bootimage] creation goes on forever
The 0.1.7 release is compiling for the last 4 hours!
My env. is RHL9, JDK 1.4.0_01, x86 (Intel 852) M'board,
256Mb DDR RAM, 1.8GHz Celeron, 400 MHz Sys Bus
and nasm 0.98.38
and there are *no* servers (httpd, mysql etc.) running on the machine.
There don't seem to be any errors!
The build is currently at the following stage:
prepare:
[copy] Copying 33 files to
/home/build/0.1.7/all/build/x86/grub-0.93-i386-pc/boot/grub
asm-native:
[asm] Compiling 1 source files to
/home/build/0.1.7/all/build/x86/native/output
java-image:
[bootjar] Building jar:
/home/build/0.1.7/all/build/x86/bootimage/jnode-boot.jar
[bootjar] Building boot-jar took 9744ms
[bootimage] Building for CPU: name:GenuineIntel family:0 model:0 step:0
features:FPU,PSE raw:00000001 756E6547 6C65746E 49656E69 00000000
00000000 00000000 00000009
[bootimage] Emitted 212385 objects, took 168135ms in 33 loops
[bootimage] Emitted 0 objects, took 325ms in 2 loops
[bootimage] Emitted 5288 objects, took 15405ms in 19 loops
[bootimage] Emitted 0 objects, took 1768ms in 2 loops
[bootimage] Emitted 105293 objects, took 733693ms in 10 loops
[bootimage] Emitted 0 objects, took 5786ms in 2 loops
The 'ps' entry shows thus:
java -Xmx512M -Xms128M -jar ./core/lib/ant-launcher.jar -lib
/usr/local/java/1.4.0_01/lib -lib ./core/lib -f ./all/build.xml
The process stats from 'top' are thus:
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
14671 build 10 0 251M 78M 264 S 0.0 68.2 2:45 0 java
There don't seem to be any errors displayed.
--
Next, I downloaded the sources from the CVS and tried compiling.
Again the compilation seems to go on forever at precisely the above location.
--
Patrik mentioned,
this must be wrong.
Compiling JNode (current CVS version) takes
* 2 min 15 sec on a 2.8 GHz Pentium IV with 1 GB RAM running Win XP
* 22 min on a dual-400MHz Pentium II with SuSE 8.1
So either is a configuration problem or a problem with 0.1.7
--
Ewout said,
On my P4 1GHz, a full build takes about 3 minutes. What might be an
issue is low memory, the build is very memory intensive, so swapping
could be the problem, however 4 hours is just way too much.
Have you tried the CVS version?
Ewout
---------
I have tried out the above mentioned suggestions, however nothing seems to work.
Anybody faced this issue before ?
I will greatly appreciate any inputs towards a resolution.
thanks
Saifi.
- Login to post comments
how do you call Ant ?
Hi,
I have just updated from CVS and do a build with targets 'clean'+'cdrom-lite' under eclipse 3.1 and it compile as usually: in about 3 minutes 37 seconds on my AthlonXP 2800+.
Which method are you using to call ant (eclipse, command line, ...) ?
Which target ?
Fabien