Unable to compile IcedTea with CACAO under Fedora 17

Andrew Hughes gnu.andrew at redhat.com
Mon Dec 17 15:24:43 PST 2012



----- Original Message -----
> 
> Thanks for all the help, Stefan. I continue to make progress. I have
> run the following:
> 
> 
> # cd /opt
> 
> # hg clone http://mips.complang.tuwien.ac.at/hg/cacao/
> # hg clone http://icedtea.classpath.org/hg/icedtea7
> # cd icedtea7
> # hg pull -r default https://bitbucket.org/Ringdingcoder/icedtea7
> # hg merge tip
> # hg ci -m merge
> # ./autogen.sh
> # ./configure --enable-cacao --disable-bootstrap
> --with-cacao-src-dir=/opt/cacao
> # make
> 
> 
> The compile begins, but soon fails with the following:
> 
> make[6]: Entering directory
> `/opt/icedtea7/openjdk/corba/make/tools/strip_properties'
> /opt/icedtea7/bootstrap/jdk1.6.0/bin/javac -J-XX:ThreadStackSize=768
> -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions
> -J-XX:-LogVMOutput -J-client -J-Xmx1536m -J-Xms1536m
> -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6
> -target 6 -d /opt/icedtea7/openjdk.build/corba/btclasses \
> -sourcepath ../../tools/src
> ../../tools/src/build/tools/stripproperties/StripProperties.java
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> 
> 
> 
> 
> I believe this machine should have enough memory:
> # free -m
> 
> 
> total used free shared buffers cached
> Mem: 4040 1699 2340 0 107 1183
> -/+ buffers/cache: 409 3630
> Swap: 5599 0 5599

Generally, this means -J-Xmx1536m needs a bigger value.  But given how
early and on what this occurs, I think the VM may not have been built correctly.

Can you fire up the built VM to do -version?
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list