mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Timo Teras <timo.teras@iki.fi>
To: Frieder Berthold <berthold.frieder@googlemail.com>
Cc: musl@lists.openwall.com
Subject: Re: Building OpenJDK8 with musl
Date: Wed, 11 Nov 2015 13:16:07 +0200	[thread overview]
Message-ID: <20151111131607.0e02f8ba@vostro> (raw)
In-Reply-To: <CA+1a+Dpoqme4doh6jpAvstYdTxRdSyiqq-qyCnGu+iioknSnRA@mail.gmail.com>

Hi,

On Wed, 11 Nov 2015 12:11:50 +0100
Frieder Berthold <berthold.frieder@googlemail.com> 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:
http://git.alpinelinux.org/cgit/aports/tree/community/openjdk8

It uses openjdk7 (built via icedtea) to bootstrap.

The patch fix your specific issue is:
http://git.alpinelinux.org/cgit/aports/tree/community/openjdk8/icedtea-jdk-musl.patch

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

/Timo


  reply	other threads:[~2015-11-11 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 11:11 Frieder Berthold
2015-11-11 11:16 ` Timo Teras [this message]
2015-11-13 10:21   ` Frieder Berthold
2015-11-13 11:03     ` Natanael Copa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151111131607.0e02f8ba@vostro \
    --to=timo.teras@iki.fi \
    --cc=berthold.frieder@googlemail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).