Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 13 Nov 2015 12:03:35 +0100
From: Natanael Copa <ncopa@...inelinux.org>
To: Frieder Berthold <berthold.frieder@...glemail.com>
Cc: Timo Teras <timo.teras@....fi>, musl@...ts.openwall.com
Subject: Re: Building OpenJDK8 with musl

On Fri, 13 Nov 2015 11:21:11 +0100
Frieder Berthold <berthold.frieder@...glemail.com> 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 <timo.teras@....fi>:
> 
> > Hi,
> >
> > On Wed, 11 Nov 2015 12:11:50 +0100
> > Frieder Berthold <berthold.frieder@...glemail.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
> >  

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.