JDK 11 now ported to i_386

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

JDK 11 now ported to i_386

freebsd-java mailing list
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.

Have fun !
 


Best Regards
Klaus Küchemann , Wuppertal, Germany


root@freebsd:~ # uname -a
FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  i386
root@freebsd:~ # java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-1)
OpenJDK Server VM (build 11.0.2+9-1, mixed mode)


_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

Greg Lewis-2
On Sun, Mar 17, 2019 at 04:24:46PM +0100, Klaus Küchemann via freebsd-java wrote:

> 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.
>
> Have fun !

Klaus please submit a pull request so these changes can get committed.  Thanks.

-- Greg
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

freebsd-java mailing list
Hello Greg,
PR was merged, thank you ! .
The "bootstrap"-jdk_i386 contains the jdk-demo-files, you can shorten it a
little
for the bootstrap-jdk in the ports -tree.
It should be able to compile directly through your openjdk11-Makefile(after
updating to i386 of course),
I`ll make some further tests.

I compiled the bootstrap jdks for the i386-port all directly from scratch
under freebsd, not via NFS.
So from 9 to 10, from 10 to 11, so they`re all natively available.
Related to this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222568:
You are absolutely right that e.g. jdk9 would be unnecessary for users. For
developers (in my experience) the opposite is the case.(research, debugging,
bootstrapping…) :
So my idea would be eventually  to provide ALL openjdks (9,10,11..) in the
ports-tree. I could help with it.

thanks for all your effort to freebsd-jdk
Best regards
Klaus




--
Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-java-f4188125.html
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

Jung-uk Kim
On 19. 3. 18., klaus4 via freebsd-java wrote:
> The "bootstrap"-jdk_i386 contains the jdk-demo-files, you can shorten it a
> little for the bootstrap-jdk in the ports -tree.

...

For my bootstrap JDK tarballs, I used ktrace(1) to find the list of
files accessed while building specific JDKs.

FYI...

Jung-uk Kim


signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

freebsd-java mailing list
thanks for the hint !
I provided the bootstrap-jdk_i386 here : https://sourceforge.net/projects/openjdk-jdk11u/ i,
including all files for the reason you can use and  test it before something based on it it goes to the ports-tree ,
next time I will use your hint .
Regards
Klaus



> Am 18.03.2019 um 22:43 schrieb Jung-uk Kim <[hidden email]>:
>
> On 19. 3. 18., klaus4 via freebsd-java wrote:
>> The "bootstrap"-jdk_i386 contains the jdk-demo-files, you can shorten it a
>> little for the bootstrap-jdk in the ports -tree.
>
> ...
>
> For my bootstrap JDK tarballs, I used ktrace(1) to find the list of
> files accessed while building specific JDKs.
>
> FYI...
>
> Jung-uk Kim
>

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

Michael Osipov
In reply to this post by freebsd-java mailing list
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     [hidden email]:/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

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

freebsd-java mailing list
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

> Am 21.03.2019 um 14:50 schrieb Michael Osipov <[hidden email]>:
>
> 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     [hidden email]:/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
>
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "[hidden email]"

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

Greg Lewis-2
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 <[hidden email]>:
> >
> > 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     [hidden email]:/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
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: JDK 11 now ported to i_386

freebsd-java mailing list
Awesome work, Greg, thanks a lot !
Next time I won`t forget to  click  deployment target 11.2 :-)


> Am 21.03.2019 um 21:24 schrieb Greg Lewis <[hidden email]>:
>
> 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 <[hidden email]>:
>>>
>>> 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     [hidden email]:/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

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"