From owner-freebsd-java@freebsd.org Thu Mar 21 20:24:42 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 B682B154E00F for ; Thu, 21 Mar 2019 20:24:42 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 77E1476C53 for ; Thu, 21 Mar 2019 20:24:38 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.15.2/8.15.2) with ESMTP id x2LKOb9G012135; Thu, 21 Mar 2019 13:24:37 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.15.2/8.15.2/Submit) id x2LKOaxT012134; Thu, 21 Mar 2019 13:24:36 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 21 Mar 2019 13:24:36 -0700 From: Greg Lewis To: =?iso-8859-1?Q?K=FCchemann?= Cc: Michael Osipov <1983-01-06@gmx.net>, freebsd-java@freebsd.org Subject: Re: JDK 11 now ported to i_386 Message-ID: <20190321202436.GA12107@misty.eyesbeyond.com> References: <9b35e486-3429-9241-6b8c-9e697e8a5d96@gmx.net> <252D94DC-D2E7-49AD-8C78-D29C434DA7DF@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <252D94DC-D2E7-49AD-8C78-D29C434DA7DF@googlemail.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Rspamd-Queue-Id: 77E1476C53 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.32 / 15.00]; TO_DN_SOME(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[mail.iagu.net,mail.eyesbeyond.com]; NEURAL_HAM_SHORT(-0.63)[-0.629,0]; FREEMAIL_TO(0.00)[googlemail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:71.32.0.0/13, country:US]; IP_SCORE(-0.01)[asn: 209(0.01), country: US(-0.07)]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.17)[-0.166,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[eyesbeyond.com]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.14)[0.139,0]; R_SPF_NA(0.00)[]; FREEMAIL_CC(0.00)[gmx.net] 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: Thu, 21 Mar 2019 20:24:43 -0000 On Thu, Mar 21, 2019 at 06:35:28PM +0100, Küchemann via freebsd-java wrote: > Hi Michael, > Thank you for the important information. > Yes, true, I've booted an 11.2 VM and got the same error message. > I will now try a backport to 11.2 and get in touch as soon as I know more. > Strange… didn`t know that 12.0-builds ain`t backwards compatible to 11.2 . > Best Regards > Klaus There is now a bootstrap for openjdk11 on i386 in the ports tree. It runs on 11.2. -- Greg > > Am 21.03.2019 um 14:50 schrieb Michael Osipov <1983-01-06@gmx.net>: > > > > Am 2019-03-17 um 16:24 schrieb Klaus Küchemann via freebsd-java: > >> Hi, > >> we are ready for i_386 : > >> Since I had to modify some c ++ and source files to compile directly from the makefile in freebsd-ports-tree, you can see the diffs here: > >> https://github.com/klaus4/openjdk-jdk11u/tree/bsd-port > >> If you want, I will send you a pull request. > >> The precompiled, fully functional version (also fully functional as bootstrap for i386) can be downloaded here: > >> https://sourceforge.net/projects/openjdk-jdk11u/files/opendk11_freebsd_i386.tar.gz/download > >> I'll pack this later with the modified Makefile for the ports-tree and the sources, so you get an executable build environment as well, so I'll share that with you. > > > > Hi Klaus, > > > > I get the following > > > >> [mosipov@mika-ion /tmp/jdk]$ bin/java -version > >> /tmp/jdk/bin/java: Undefined symbol "stat@FBSD_1.5" > > > > when try to run it on > >> [mosipov@mika-ion /tmp/jdk]$ uname -a > >> FreeBSD mika-ion 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 #0: Tue Jan 8 21:31:23 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > > > it seems to be due to > >> [mosipov@mika-ion /tmp/jdk]$ file bin/java > >> bin/java: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.0 (1200086), FreeBSD-style, with debug_info, not stripped > > ^^^^^^^^^^^^ > > > > Can we make it run from 11.2 and up? > > > > Michael