<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/recipes-core/openjdk, branch sumo</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=sumo</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=sumo'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2018-03-15T11:47:20+00:00</updated>
<entry>
<title>openjdk-8: fix build with --as-needed host toolchains (Ubuntu 16.04)</title>
<updated>2018-03-15T11:47:20+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-15T11:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=af897090975d102d6136b2b64164b78da3b381c9'/>
<id>urn:sha1:af897090975d102d6136b2b64164b78da3b381c9</id>
<content type='text'>
As per the commit message - build on hosts with --as-needed
toolchains (Ubuntu 16.04) using system provided zlib fails:

If the (host) toolchain has been configured to
unconditionally add --as-needed to the linker command line
then linking can fail when using system libraries.

The reason is that the order of command line arguments
becomes important with --as-needed and the JDK build system
places needed system libraries at the beginning of the
command line where it would normally place the object files
from its own bundled compiled version.

Having those system libraries early in the command line is
not useful, as they are discarded by the linker at that
point in time as it hasn't seen any reference to the
symbols provided yet.

As it seems a generic pattern in the makefiles here, just
place the $EXPECTED_OBJS early in the command line, before
any additional libraries, so as to fix this once and for
all.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: fix MAKE detection patch</title>
<updated>2018-03-13T11:20:15+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-12T16:38:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=536cee3023d3464f9eb798459509719bed765c10'/>
<id>urn:sha1:536cee3023d3464f9eb798459509719bed765c10</id>
<content type='text'>
The patch had a few typos, leading to errors during ./configure
   ../jdk8u-4be07cb28b21/common/autoconf/configure: line 8408: test: too many arguments

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: add aarch64 support</title>
<updated>2018-03-06T09:03:31+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-05T09:31:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=0325253a995039f70836c6d6d98e6cb315fa297f'/>
<id>urn:sha1:0325253a995039f70836c6d6d98e6cb315fa297f</id>
<content type='text'>
This is using the aarch64 port to make it work, which is at version
u161b15.
We also add one patch to make this work with musl, too.

Because the aarch64 port is fetched from a different
repository, the version specific include has been split so
as to have all common parts (URIs, patches, configuration
bits) in one single file, and version specific bits
(checksum, mercurial commit ID), in another file, to
ease maintenance, and make distinguishing easier.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: fix musl build</title>
<updated>2018-03-06T09:03:09+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-06T09:01:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=3668ba76f44bc778ba4446236088c22948a644d0'/>
<id>urn:sha1:3668ba76f44bc778ba4446236088c22948a644d0</id>
<content type='text'>
Add various patches to make it work in musl. Some of them are generic
enough to be applied for all builds, some need to be specific to musl.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: stop passing obsolete make variables (freetype)</title>
<updated>2018-03-06T08:57:27+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-05T09:31:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=f8be3065f7c5dbd73516394c0bcd2c7ba1777abf'/>
<id>urn:sha1:f8be3065f7c5dbd73516394c0bcd2c7ba1777abf</id>
<content type='text'>
OpenJDK's build system complains about passing in obsolete ALT_
variables.
Stop passing in those for freetype, as pkg-config is used to figure
out the correct compiler and linker flags.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: rename PACKAGECONFIG zip -&gt; zlib</title>
<updated>2018-03-06T08:57:24+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-05T09:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=18227f63cae48b277ae69daaed739f657f893152'/>
<id>urn:sha1:18227f63cae48b277ae69daaed739f657f893152</id>
<content type='text'>
The existing PACKAGECONFIG option 'zip' affects OpenJDK's
usage of zlib, not zip, so this option is a bit inconsistent
and confusing.

Rename to zlib.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: build against system libgif &amp; zlib by default</title>
<updated>2018-03-06T08:57:22+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-05T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=0add811f1eb9785573fa5e525f928e825ef310f3'/>
<id>urn:sha1:0add811f1eb9785573fa5e525f928e825ef310f3</id>
<content type='text'>
This should really be the default so as to benefit from CVE fixes
etc.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8-native: really use system libgif &amp; zlib</title>
<updated>2018-03-06T08:57:17+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-05T09:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=3caa4c62d376cf5c955caf60a5053b2d3d0accc3'/>
<id>urn:sha1:3caa4c62d376cf5c955caf60a5053b2d3d0accc3</id>
<content type='text'>
The intention seems to be to build against above system
libraries, but configure still picked the bundled versions,
even though the libraries are in the sysroot. Make it
deterministic and force use of the system libraries using
PACKAGECONFIG and the appropriate configure arguments.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: add patches to support building against system libpng &amp; libjpeg</title>
<updated>2018-03-06T08:57:12+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-05T09:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=7e48b81929fec1b8b79686b9dc50ba47eccd5620'/>
<id>urn:sha1:7e48b81929fec1b8b79686b9dc50ba47eccd5620</id>
<content type='text'>
This didn't actually before. Patches taken from Debian / OpenJDK-9.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: add patch for compiling with enabled security flags</title>
<updated>2018-03-06T08:56:44+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-03-06T08:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ad72b21676a99417605c5b7e6d068ad81142f7b2'/>
<id>urn:sha1:ad72b21676a99417605c5b7e6d068ad81142f7b2</id>
<content type='text'>
Rather than carrying an OE specific patch that just silences the
warning on some platform only, backport the upstream patch
to actually fix the issue.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
</feed>
