From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8853 Path: news.gmane.org!not-for-mail From: Natanael Copa Newsgroups: gmane.linux.lib.musl.general Subject: Re: Building OpenJDK8 with musl Date: Fri, 13 Nov 2015 12:03:35 +0100 Message-ID: <20151113120335.18249f7d@ncopa-desktop.alpinelinux.org> References: <20151111131607.0e02f8ba@vostro> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1447412639 663 80.91.229.3 (13 Nov 2015 11:03:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 11:03:59 +0000 (UTC) Cc: Timo Teras , musl@lists.openwall.com To: Frieder Berthold Original-X-From: musl-return-8866-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 13 12:03:57 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZxC95-0007iO-7d for gllmg-musl@m.gmane.org; Fri, 13 Nov 2015 12:03:55 +0100 Original-Received: (qmail 18149 invoked by uid 550); 13 Nov 2015 11:03:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 18125 invoked from network); 13 Nov 2015 11:03:52 -0000 In-Reply-To: X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:8853 Archived-At: On Fri, 13 Nov 2015 11:21:11 +0100 Frieder Berthold wrote: > 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? Yes, so we pull in linux-headers as a build time dependency. -nc > > Frieder > > > > 2015-11-11 12:16 GMT+01:00 Timo Teras : > > > Hi, > > > > 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: > > 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 > >