Failure compiling java/openjdk8
mikej at mikej.com
Thu Apr 28 11:02:24 UTC 2016
On 2016-04-28 05:30, Willem Offermans wrote:
> Dear Matthias and FreeBSD friends,
> On Sun, Apr 24, 2016 at 10:48:16AM +0200, Matthias Andree wrote:
>> Am 23.04.2016 um 12:02 schrieb Willem Offermans:
>> > Dear FreeBSD friends,
>> > In my attempt to juvenile an old FreeBSD beast, I encountered another
>> > hurdle: a failure compiling java/openjdk8
>> > <snip>
>> > gmake: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
>> > gmake: Entering directory '/usr/ports/java/openjdk8/work/openjdk/jdk/make'
>> > Compiling 9455 files for BUILD_JDK
>> > Killed
>> > gmake: *** [/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86-normal-server-release/jdk/classes/_the.BUILD_JDK_batch] Error 137
>> That Error 137 is "signal 9 (SIGKILL)" and added 128 for "core dump
>> requested". Typically an indication of a last-resort cleanup by the
>> Has the machine run out of memory during the compile?
>> Can you reduce the number of CPU cores used for the compile, in an
>> attempt to reduce RAM usage?
> You were right about the memory usage during the compilation. The
> system is
> an old one and has only 512 MB RAM and one CPU core. During compilation
> openjdk8 it run out of memory. The swap file, which is 512 MB as well,
> completely used. Shortly after this state was reached, the above error
> message appeared, but the system __did not__ freeze.
> The bad part is that I cannot upgrade the old system totally. The good
> is that all other programs could be updated without any problem. Many
> to the good work of the FreeBSD community. I really appreciate this.
> I like to test some things on this rejuvenated beast and probably I
> need openjdk8 for that. So I can live with the situation. I only
> it, so that other people do not run into the same situation. But who is
> running a FreeBSD system with 512 MB RAM nowadays anyway?
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gruessen,
> De jrus wah,
> W.K. Offermans
> Powered by ....
> \/ \ ^
> freebsd-ports at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe at freebsd.org"
If you really want to try and build it on that system and have some free
space you could always add a file instead of a partition as extra swap.
More information about the freebsd-ports