Unable to compile IcedTea with CACAO under Fedora 17

Greg Johnson gregjo at yahoo.com
Mon Dec 17 17:10:17 PST 2012





>
>> 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
>>
>> Hmm, no idea. Works for me...
>
>But if you can, you should try adding more swap space. For some
>reason, the JVM gobbles up huge amounts of virtual address space
>lately.
>
>Regards
>Stefan
>
>
>
>
>

I have rather beefy hardware, so I allocated 24GB of RAM to my Fedora 17 virtual machine. That didn't change anything. Then I looked at Stefan's comments from "uname", and that's where I saw the difference. You are using a 64 bit OS, and I'm using 32 bit. I sifted through the configuration files and saw that memory allocations are made based on whether the OS is 32-bit or not. I saw that in a file called Defs-java.gmk.
So I spun up a VM running the 64 bit version of Fedora, and ran the same build instructions. This time it appears to have completed successfully.
My eventual goal is to build CACAO on the Raspberry Pi. The Fedora Remix for the Raspberry Pi is 32-bit. So the build scripts would need to be configured to work correctly. 
I don't understand what files would need to be modified to accommodate a successful 32-bit build. Suggestions? Does a bug report need to be filed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121217/142aa414/attachment.html 


More information about the distro-pkg-dev mailing list