From owner-freebsd-java@freebsd.org Tue Mar 12 07:42:12 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42BF315175FD for ; Tue, 12 Mar 2019 07:42:12 +0000 (UTC) (envelope-from barry@bvansomeren.net) Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 648E88154D for ; Tue, 12 Mar 2019 07:42:10 +0000 (UTC) (envelope-from barry@bvansomeren.net) Received: by mail-ot1-x336.google.com with SMTP id q24so1662506otk.0 for ; Tue, 12 Mar 2019 00:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coffeesprout.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WKEThUT1orxtw54EID2lWSqPGBojmh/Zbl/mvLSufvU=; b=gRstFx4eAOeM5DnQ2SHCcs5FLlh3TtZdURChXejWJsYbFihsdnG5VXImv/3ifuB5Hz 0mid6fHs0zvri/qiTptPK244UT68ZsxMMrIoDcWqHMn4Wx8xAr/JyoEX+pcDUrC9IsWv ngTbA5kCBEce6u0TiE1UEeNNlMEwWxK0K95r4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WKEThUT1orxtw54EID2lWSqPGBojmh/Zbl/mvLSufvU=; b=rMmS3tA8gRmpYQjac+9FcSFaAGPoeADde81Xc+NS4wl033PAdjztuWrTiheIalL7NE w5quNwQPEVKWRD2XhzrP5nUDOIMZ330y/qxKhIohFHmMz2hDXK/hR6d5Kcbiuw/BrDdF J0HfJwduRAWMzZ4dbh7AKA1xlgSrecZcd5t9t9nydo9ym10eTl9yJejbmBNor4CYpxdo KcDrexiECYOGNTMQgX1mxDpWIz3AhuYTCM03gv4Is0EBUI7ugaxOH5B8lYqhjxvHVAOB jLncXd8t3Aw0zExmmlbkeCSfISk/HuPXXOChq3/aKBhEQpG2O1/GSM26GzEWCaMePgLh fLrA== X-Gm-Message-State: APjAAAWEeWSuhtRumXf2Z3zqa0Hd4K5hbryuWz/m0oXHSyFRjEu5oUk9 pxjXnqNxPId59mOKb521f6gMFV+4C8GucLyKDjfUhn3r X-Google-Smtp-Source: APXvYqysNOfjxHRPjnFqLb6p/f1s8rPEIiioQ3eXqDJCh2BNbTV+AHGhP+YmvOeKJAB3SbIsOp+1z/eYhBPpstIZbwo= X-Received: by 2002:a9d:77d1:: with SMTP id w17mr22490486otl.353.1552376529005; Tue, 12 Mar 2019 00:42:09 -0700 (PDT) MIME-Version: 1.0 References: <20190308180402.GA61500@misty.eyesbeyond.com> In-Reply-To: <20190308180402.GA61500@misty.eyesbeyond.com> From: Barry van Someren Date: Tue, 12 Mar 2019 08:41:32 +0100 Message-ID: Subject: Re: JDK 11 update To: Greg Lewis Cc: freebsd-java@freebsd.org X-Rspamd-Queue-Id: 648E88154D X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=coffeesprout.com header.s=google header.b=gRstFx4e; spf=pass (mx1.freebsd.org: domain of barry@bvansomeren.net designates 2607:f8b0:4864:20::336 as permitted sender) smtp.mailfrom=barry@bvansomeren.net X-Spamd-Result: default: False [-5.77 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[coffeesprout.com:s=google]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; DMARC_NA(0.00)[coffeesprout.com]; NEURAL_HAM_SHORT(-0.81)[-0.809,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[coffeesprout.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[ASPMX.L.GOOGLE.COM,ALT2.ASPMX.L.GOOGLE.COM,ASPMX2.GOOGLEMAIL.COM,ALT1.ASPMX.L.GOOGLE.COM,ASPMX3.GOOGLEMAIL.COM,ASPMX5.GOOGLEMAIL.COM,ASPMX4.GOOGLEMAIL.COM]; IP_SCORE(-2.75)[ip: (-8.86), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-2.08), country: US(-0.07)]; FORGED_SENDER(0.30)[barry@coffeesprout.com,barry@bvansomeren.net]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[barry@coffeesprout.com,barry@bvansomeren.net]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2019 07:42:12 -0000 Just want to add a big thank you to Greg and Kurt (and others who also made this happen) Thank you! I'm going to see if I can setup a few (serverside) tests to act as a smoke test of sorts On Fri, Mar 8, 2019 at 7:05 PM Greg Lewis wrote: > Hi all, > > I wanted to briefly post an update on what's going on with JDK 11. > > I'm pleased to say that thanks to the efforts of Kurt Miller there is now > a preliminary port for JDK 11 that supports FreeBSD. I expect there will > be a port in the FreeBSD ports system within the next week. > > If you want to try it sooner, I've placed a tarball of a binary version > that I compiled on FreeBSD 11.2/amd64 at > > > http://distcache.FreeBSD.org/local-distfiles/glewis/openjdk11-11.0.2.9.1-amd64.tar.xz > > This is based on the initial "Alphonse" release at > > https://github.com/battleblow/openjdk-jdk11u/releases/tag/jdk-11.0.2%2B9-1 > > You can view the main repo at > > https://github.com/battleblow/openjdk-jdk11u > > You will find that a number of things don't work and you'll also likely > find many bugs. The port is currently at the point where it is self > hosting though, which is a reasonable first release milestone. > > This is planned to be the main port repository and should make it easier > for people to contribute. Just send a github pull request if you have > patches to contribute. > > Note that I'll be AFK for the weekend (starting shortly) and won't be able > to respond until Monday. > > For those who want to try and compile it, the current commands I'm using > look like this: > > env CPPFLAGS=-I/usr/local/include \ > LDFLAGS=-L/usr/local/lib \ > CC=/usr/bin/cc \ > CXX=/usr/bin/c++ \ > bash configure \ > --with-boot-jdk=/usr/local/openjdk11 \ > --disable-ccache \ > --disable-dtrace \ > --disable-javac-server \ > --disable-hotspot-gtest \ > --with-alsa=/usr/local \ > --with-cups=/usr/local \ > --with-freetype=system \ > --with-freetype-include=/usr/local/include/freetype2 \ > --with-freetype-lib=/usr/local/lib \ > --with-milestone=fcs \ > --with-giflib=system \ > --with-zlib=system \ > --with-extra-cflags=-I/usr/local/include \ > --with-extra-cxxflags=-I/usr/local/include \ > --with-extra-ldflags=-L/usr/local/lib \ > --with-toolchain-type=clang \ > --x-includes=/usr/local/include \ > --x-libraries=/usr/local/lib \ > --with-package-path=/usr/local \ > --with-debug-level=release \ > --with-jobs=1 > > env LANG="C" \ > LC_ALL="C" \ > CLASSPATH="" \ > JAVA_HOME="" \ > LD_LIBRARY_PATH="" \ > CPPFLAGS=-I/usr/local/include \ > LDFLAGS=-L/usr/local/lib \ > CC=/usr/bin/cc \ > CXX=/usr/bin/c++ \ > MAKEFLAGS="" \ > USE_CLANG=true \ > gmake \ > CC=/usr/bin/cc \ > CXX=/usr/bin/c++ \ > COMPILER_WARNINGS_FATAL="false" \ > LOG=debug \ > images > > Where I've got the binary tarball installed in /usr/local/openjdk11. You > should adapt these as necessary for your system. Note that I'll be > providing little support for anyone attempting to use those commands since > my focus will be on creating the port itself rather than supporting one off > builds. They should work if you have the right dependencies and you're > running FreeBSD 11.2/amd64. It's likely only minimal fixes would be > required for FreeBSD 12/amd64 as well, assuming the binary runs, although > no one has tested it there yet. > > If you are on i386/powerpc64/arm, which are supported by openjdk8, then > you'll need to work a lot harder to get yourself bootstrapped since there > is no binary. See https://github.com/battleblow/openjdk-jdk11u/pull/1 for > some hints on how to bootstrap without a working JDK 11. There will also > likely be errors you need to fix since it has not been compiled on these > platforms yet. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Web : http://www.eyesbeyond.com > Information Technology FreeBSD : glewis@FreeBSD.org > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > -- KvK: 27317624