From owner-freebsd-java@freebsd.org Sat Mar 9 20:16:13 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 A7B801535360 for ; Sat, 9 Mar 2019 20:16:13 +0000 (UTC) (envelope-from 1983-01-06@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8850B70E25 for ; Sat, 9 Mar 2019 20:16:12 +0000 (UTC) (envelope-from 1983-01-06@gmx.net) Received: from [192.168.1.13] ([84.143.151.93]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5r89-1gsAg73Q6L-00xpsd; Sat, 09 Mar 2019 21:15:46 +0100 Subject: Re: JDK 11 update To: Greg Lewis , freebsd-java@freebsd.org References: <20190308180402.GA61500@misty.eyesbeyond.com> From: Michael Osipov <1983-01-06@gmx.net> Message-ID: <091b2780-f2f1-6423-0dd7-e0d2849bac84@gmx.net> Date: Sat, 9 Mar 2019 21:15:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <20190308180402.GA61500@misty.eyesbeyond.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:iT4Xu9A1xGvmLMoWa5Cj0DjJW4+gwbkqZk7YOa0z6lpaWqfyLzU 17mo7IWnWxYl4ae6b9NCnmFd+O8iP75sV53edKQp6jQ/baDl22seNZWe8JKumrAi7mb4ZWe pgxcGxv0wfhIovHAFX2PFYeRTplUr/wHANPCj7qQ+DUg2ci+ihExANTf65KiodI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queue-Id: 8850B70E25 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of 1983-01-06@gmx.net designates 212.227.17.21 as permitted sender) smtp.mailfrom=1983-01-06@gmx.net X-Spamd-Result: default: False [-3.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[gmx.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx00.emig.gmx.net,mx01.emig.gmx.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.69)[-0.689,0]; IP_SCORE(-0.84)[ip: (-4.93), ipnet: 212.227.0.0/16(-1.00), asn: 8560(1.75), country: DE(-0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[21.17.227.212.list.dnswl.org : 127.0.3.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] 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: Sat, 09 Mar 2019 20:16:13 -0000 Am 2019-03-08 um 19:04 schrieb Greg Lewis: > 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. Thanks for this huge effort! > 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 \ Ouch, isn't this a chicken-and-egg problem here? How did you solve this prolbem? I really hate that Java is not selfcontained... > --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 > > 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. > Does this basically mean that won't be a i386 release of OpenJDK 11 for FreeBSD? What is the actual obstacle here? Regards, Michael