From: Frieder Berthold <berthold.frieder@googlemail.com>
To: Timo Teras <timo.teras@iki.fi>
Cc: musl@lists.openwall.com
Subject: Re: Building OpenJDK8 with musl
Date: Fri, 13 Nov 2015 11:21:11 +0100 [thread overview]
Message-ID: <CA+1a+Dr2L=2wMu9j8_FcuEY=315_w23QpOrPXAMUT8VdGpgGPg@mail.gmail.com> (raw)
In-Reply-To: <20151111131607.0e02f8ba@vostro>
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
Hey Timo,
I applied the patch but then it can't find linux/types.h (musl does not
provide it) while compiling
jdk8/jdk/src/solaris/native/sun/nio/ch/sctp/Sctp.h
Did you encounter the same problem?
Frieder
2015-11-11 12:16 GMT+01:00 Timo Teras <timo.teras@iki.fi>:
> 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
>
[-- Attachment #2: Type: text/html, Size: 2091 bytes --]
next prev parent reply other threads:[~2015-11-13 10:21 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
2015-11-13 10:21 ` Frieder Berthold [this message]
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='CA+1a+Dr2L=2wMu9j8_FcuEY=315_w23QpOrPXAMUT8VdGpgGPg@mail.gmail.com' \
--to=berthold.frieder@googlemail.com \
--cc=musl@lists.openwall.com \
--cc=timo.teras@iki.fi \
/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).