<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/recipes-core/openjdk/openjdk-8-common.inc, branch hardknott</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2021-08-11T05:19:27+00:00</updated>
<entry>
<title>all: run convert-overrides (0.9.3) script to convert to new override format</title>
<updated>2021-08-11T05:19:27+00:00</updated>
<author>
<name>AJ Bagwell</name>
<email>anthony.bagwell@hivehome.com</email>
</author>
<published>2021-08-09T13:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b71a9866abfd5292650ef0afc5ecb9ab5e29b887'/>
<id>urn:sha1:b71a9866abfd5292650ef0afc5ecb9ab5e29b887</id>
<content type='text'>
Signed-off-by: AJ Bagwell &lt;anthony.bagwell@hivehome.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: Workaround TOPDIR not getting expanded in configure.ac</title>
<updated>2021-04-27T11:55:26+00:00</updated>
<author>
<name>Mike Looijmans</name>
<email>mike.looijmans@topic.nl</email>
</author>
<published>2021-03-24T08:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=984f25b6deb5fe4acf82d51c04b2c1392a542723'/>
<id>urn:sha1:984f25b6deb5fe4acf82d51c04b2c1392a542723</id>
<content type='text'>
Somehow the TOPDIR environment doesn't get expanded in configure.ac. Suspecting
a clash with OE's internal TOPDIR variable, I tried replacing it with JDKTOPDIR
but that resulted in the same error.

| autoreconf: configure.ac: creating directory $TOPDIR/common/autoconf/build-aux
| autoreconf: error: cannot create $TOPDIR/common/autoconf/build-aux: No such file or directory

The workaround implemented here is to replace $TOPDIR in the file by its assigned
value ${S}. This makes the error go away and the native build succeed.

Signed-off-by: Mike Looijmans &lt;mike.looijmans@topic.nl&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8-common: fix soundless evaluation</title>
<updated>2020-10-22T06:42:46+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2020-09-11T08:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=488e7f9e191790b54adeb3f4b968ae27d50c9f33'/>
<id>urn:sha1:488e7f9e191790b54adeb3f4b968ae27d50c9f33</id>
<content type='text'>
If only alsa and not pulseaudio was in PACKAGECONFIG soundless was
configured. This is incorrect for obvious reasons, therefore set
soundless only if alsa and pulseaudio isn't set.

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>WORKDIR and ARCHIVER_WORKDIR support</title>
<updated>2020-06-10T07:41:47+00:00</updated>
<author>
<name>Robert Berger</name>
<email>robert.berger@ReliableEmbeddedSystems.com</email>
</author>
<published>2020-05-09T09:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b8e62679d99f57a5af4f2c59ac36bea5c7087d4f'/>
<id>urn:sha1:b8e62679d99f57a5af4f2c59ac36bea5c7087d4f</id>
<content type='text'>
do_unpack_extract_submodules was called via postfuncs[do_unpack].
This breaks the build when the archiver.bbclass is used in a way
where do_unpack_and_patch is called by it. In this mode the archiver
class modifies WORKDIR, S, B,... and those modifications are lost
via postfuncs.

In order to pick up WORKDIR, S, B,... (potentially modified by
archiver.bbclass) do_patch_prepend is used instead of pre/postfuncs
and calls do_unpack_extract_submodules now.

Without this patch the build will break when you add this to local.conf:

INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"
ARCHIVER_MODE[diff] = "1"
ARCHIVER_MODE[dumpdata] = "1"
ARCHIVER_MODE[recipe] = "1"
COPYLEFT_LICENSE_INCLUDE = "GPL* LGPL*"

Signed-off-by: Robert Berger &lt;robert.berger@ReliableEmbeddedSystems.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: require GCC &gt;= v6</title>
<updated>2020-05-06T05:29:05+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2020-04-29T09:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2cf52b0f32712a0bd567b34a4fbb8f998abac638'/>
<id>urn:sha1:2cf52b0f32712a0bd567b34a4fbb8f998abac638</id>
<content type='text'>
As nobody should use older versions of GCC anymore this patch drops all
version dependent workarounds and requiers host gcc &gt;=6 for building
openjdk-8.

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
Tested-by: Jacob Kroon &lt;jacob.kroon@gmail.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: Fix building with GCC 10</title>
<updated>2020-05-01T09:22:15+00:00</updated>
<author>
<name>Jacob Kroon</name>
<email>jacob.kroon@gmail.com</email>
</author>
<published>2020-04-30T13:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=840a581290d08ae48a577bda9e84363771ba6167'/>
<id>urn:sha1:840a581290d08ae48a577bda9e84363771ba6167</id>
<content type='text'>
Signed-off-by: Jacob Kroon &lt;jacob.kroon@gmail.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: Don't set TOPDIR bitbake variable</title>
<updated>2020-02-10T07:09:35+00:00</updated>
<author>
<name>Jacob Kroon</name>
<email>jacob.kroon@gmail.com</email>
</author>
<published>2020-02-08T11:06:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=50515729c8937bf02d4b2d92a7c5e22f4416229e'/>
<id>urn:sha1:50515729c8937bf02d4b2d92a7c5e22f4416229e</id>
<content type='text'>
It is used to set the default sstate cache location.
Just export it to the environment.

Signed-off-by: Jacob Kroon &lt;jacob.kroon@gmail.com&gt;
[richard.leitner@skidata.com: adapted commit message]
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: update to latest ga version 242</title>
<updated>2020-01-28T14:09:31+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2019-12-30T14:35:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14'/>
<id>urn:sha1:7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14</id>
<content type='text'>
As OpenJDK-8 is now tagging "ga" versions in addition to the "build"
version the recipes are adapted to use those "ga" versions.

All existing patches got re-applied and renamed. For better handling Hotspot
patches now start at patch number 1001 and jdk patches at 2001.

Furthermore architecture dependent patches are prefixed with the
architecture they apply on.

Following patches/hunks were completely dropped:
- 0002-hotspot-fix-compilation-with-security-flags-enabled.patch
    got backported to hotspot jdk8u
    https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c40a28e54185
- 0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch
    ostream.cpp:112 got fixed in hotspot jdk8u
    https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f3108e56b502
- 0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
    got backported to hotspot jdk8u
    https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916
- 0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
    fixed in hotspot jdk8u
    https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/32bc598624bd
- 0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch
    fixed in hotspot jdk8u
    https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/5af8ec63c21c
- openjdk8-add-missing-linker-flags.patch
    fixed in hotspot jdk8u
    https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f175513c2c3a
- openjdk8-fix-shark-stdc++11.patch
    fixed in hotspot jdk8u
- openjdk8-fix-libpng-neon-build.patch
    fixed in jdk
    https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5d57817931e1
- aarch64-hotspot-fix-undefined-behaviour-gcc-v8-fix.patch
    got backported to hotspot jdk8u

Following patches were newly added:
- 0011-autoconf-fix-CC-with-arguments-detection.patch
    needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris"
- 0012-autoconf-NativeCompilation-remove-sysroot.patch
    needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris"

Additionally add UPDATING.md which describes the openjdk8 update process
for this layer and update8checksums.sh, a script that updates the
openjdk8 source archive checksums in the corresponding .inc files.

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>remove True option to getVar calls</title>
<updated>2019-12-27T11:05:54+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-13T11:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=7a3a8322a747c8803dbfbf3aa4912cf9f8158695'/>
<id>urn:sha1:7a3a8322a747c8803dbfbf3aa4912cf9f8158695</id>
<content type='text'>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search &amp; replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: use openjdk-common</title>
<updated>2018-10-02T05:59:06+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2018-08-20T21:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=50d3e814a45363db81e446233c54895eebc5a999'/>
<id>urn:sha1:50d3e814a45363db81e446233c54895eebc5a999</id>
<content type='text'>
As openjdk-common.inc now serves all OpenJDK version let
openjdk-8-common require it. Furthermore remove the now duplicated
lines.

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
</feed>
