Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 Nov 2015 13:16:07 +0200
From: Timo Teras <>
To: Frieder Berthold <>
Subject: Re: Building OpenJDK8 with musl


On Wed, 11 Nov 2015 12:11:50 +0100
Frieder Berthold <> wrote:

> I want to build a rather small Java Runtime Environment with OpenJDK8
> and the small JamVM and use musl for this purpose. Unfortunately
> OpenJDK needs the header sys/sysctl.h which musl does not provide
> anymore ( I found older musl version which include this header).
> Is there a reason for that?
> Maybe someone already tried to build OpenJDK8 with musl and could
> give me some further hints?

We build openjdk8 for alpine linux using musl.

The build scripts are at:

It uses openjdk7 (built via icedtea) to bootstrap.

The patch fix your specific issue is:

and as you see, sysctl.h is not really needed and can be just removed.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.