Hi Dean,

Optware-ng has currently both OpenJDK8, and OpenJDK7 available for
uClibc-ng targets. 7 and 8 have a bit different build systems, and while I
was able to cross-compile using the stock OpenJDK8 build system (with some
minor icedtea fixes), I had to resort to using icedtea project build system
to do this with OpenJDK7. I'm not familiar with OpenJDK9, but I suspect it
should be similar to OpenJDK8, from what I read, and so you shouldn't need
to bother with icedtea. Here're the patches that're needed to build
OpenJDK8 against uClibc-ng:
https://github.com/Optware/Optware-ng/blob/master/sources/openjdk8/openjdk/gcc_definitions.uclibc.patch
https://github.com/Optware/Optware-ng/blob/master/sources/openjdk8/openjdk/xtoolkit.uclibc.patch
And here's the patch that fixes the “OpenJDK-8 crash when starting
BubleUPnPServer”  issue you've mentioned:
https://github.com/Optware/Optware-ng/blob/master/sources/openjdk8/openjdk/fix-ipv6-init.patch

The actual Optware-ng Makefile that does the building is here:
https://github.com/Optware/Optware-ng/blob/master/make/openjdk8.mk

The other patches used are mostly taken from Debian, and some of them are
my own. OPENJDK8_OPENJDK_PATCHES, defined in the Makefile I mentioned,
holds the list of the patches that're applied. The patches themselves are
here (not all of them are used currently):
https://github.com/Optware/Optware-ng/tree/master/sources/openjdk8/openjdk

Regards,
Alex

Ср, 22 черв. 2016 о 18:59 Dean Gereaux <[email protected]> пише:

> I’m starting work on porting OpenJDK 9 to a small embedded system, ideally
> I’d like to use uclibc-ng.  Has anyone ported OpenJDK with uclibc-ng?  If
> so: Was it successful?  How long did the port take?   I scanned the mailing
> list archives, and I noticed that back in Jan 2016 there were several
> postings about “OpenJDK-8 crash when starting BubleUPnPServer” between Alex
> and Leonid.  Does anyone know if this was ever resolved?
>
>
>
> Thanks in advance.
>
>
>
> Dean Gereaux
>
> Golden Bits Software
>
> goldenbits.com <http://www.goldenbits.com/>
>
>
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel
>
_______________________________________________
devel mailing list
[email protected]
http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Reply via email to