<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057181#M155484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;In order to compile openjdk-8 in Yocto zeus, I tested 18.04 LTS, 19.04 LTS, 20.04 LTS, but all failed.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;I have encountered the problem you encountered. The reason is that your 18.04 LTS gcc/g++ compiler version is too low to recognize the -fmacro-prefix-map parameter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;weidong&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2020 00:58:59 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2020-08-27T00:58:59Z</dc:date>
    <item>
      <title>Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057178#M155481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have iMX8M Mini EVK.&lt;/P&gt;&lt;P&gt;I did setup a Yocto toolchain for version L5.4.24_2.1.0 on my Ubuntu 18.04 LTS system.&lt;/P&gt;&lt;P&gt;I did successfully "bitbake imx-image-multimedia"&lt;/P&gt;&lt;P&gt;Then I am trying to add support for&amp;nbsp;openjdk-8.&lt;/P&gt;&lt;P&gt;Referred "&lt;A href="https://community.nxp.com/docs/DOC-345333"&gt;How to add openjdk to Yocto Layers&lt;/A&gt;&amp;nbsp;"&lt;/P&gt;&lt;P&gt;I did "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;git checkout -b&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;zeus&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;origin/zeus"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I did modify bblayers.conf and local.conf as per the guide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;I did successfully "bitbake openjdk-8 -c fetch"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d;"&gt;But when I tried to do "bitbake openjdk-8 -c compile", got following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: cacao-native-2d6f6c14daf9-r0 do_fetch: Failed to fetch URL &lt;A href="https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip" target="test_blank"&gt;https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip&lt;/A&gt;, attempting MIRRORS if available&lt;BR /&gt;ERROR: cacao-native-2d6f6c14daf9-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export PATH="/home/ubuntu/imx8mm/imx-yocto-bsp/sources/poky/scripts/native-intercept:/home/ubuntu/imx8mm/imx-yocto-bsp/sources/poky/scripts:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/recipe-sysroot-native/usr/bin:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/recipe-sysroot-native/usr/sbin:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/recipe-sysroot-native/usr/bin:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/recipe-sysroot-native/sbin:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/recipe-sysroot-native/bin:/home/ubuntu/imx8mm/imx-yocto-bsp/sources/poky/bitbake/bin:/home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/hosttools"; export HOME="/home/ubuntu"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/ubuntu/imx8mm/imx-yocto-bsp/downloads/ 'https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip' --progress=dot -v failed with exit code 8, output:&lt;BR /&gt;--2020-08-22 15:45:47-- &lt;A href="https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip" target="test_blank"&gt;https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip&lt;/A&gt;&lt;BR /&gt;Resolving bitbucket.org (bitbucket.org)... 18.205.93.0, 18.205.93.1, 18.205.93.2, ...&lt;BR /&gt;Connecting to bitbucket.org (bitbucket.org)|18.205.93.0|:443... connected.&lt;BR /&gt;HTTP request sent, awaiting response... 403 Forbidden&lt;BR /&gt;2020-08-22 15:45:47 ERROR 403: Forbidden.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ERROR: cacao-native-2d6f6c14daf9-r0 do_fetch: Fetcher failure for URL: 'https://bitbucket.org/cacaovm/cacao-staging/get/2d6f6c14daf9.zip'. Unable to fetch URL from any source.&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/ubuntu/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/x86_64-linux/cacao-native/2d6f6c14daf9-r0/temp/log.do_fetch.17100&lt;BR /&gt;ERROR: Task (virtual:native:/home/ubuntu/imx8mm/imx-yocto-bsp/sources/meta-java/recipes-core/cacao/cacao_2d6f6c14daf9.bb:do_fetch) failed with exit code '1'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some extra info:&lt;/P&gt;&lt;P&gt;Build Configuration:&lt;BR /&gt;BB_VERSION = "1.44.0"&lt;BR /&gt;BUILD_SYS = "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING = "ubuntu-18.04"&lt;BR /&gt;TARGET_SYS = "aarch64-poky-linux"&lt;BR /&gt;MACHINE = "imx8mmevk"&lt;BR /&gt;DISTRO = "fsl-imx-xwayland"&lt;BR /&gt;DISTRO_VERSION = "5.4-zeus"&lt;BR /&gt;TUNE_FEATURES = "aarch64 cortexa53 crc crypto"&lt;BR /&gt;TARGET_FPU = ""&lt;BR /&gt;meta&lt;BR /&gt;meta-poky = "HEAD:cba967414370e195d109353e51510bd829aa86c3"&lt;BR /&gt;meta-oe&lt;BR /&gt;meta-multimedia&lt;BR /&gt;meta-python = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"&lt;BR /&gt;meta-freescale = "HEAD:c2a0d924f6200eea1fb1d1b61e7420ea5da2f8fb"&lt;BR /&gt;meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"&lt;BR /&gt;meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"&lt;BR /&gt;meta-java = "zeus:95d56a63cdbf1ed9db99a1f02075568fd45a668b"&lt;BR /&gt;meta-bsp&lt;BR /&gt;meta-sdk&lt;BR /&gt;meta-ml = "HEAD:a083ffbbc3f4d1c02b1542746784d7f641a75b60"&lt;BR /&gt;meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"&lt;BR /&gt;meta-rust = "HEAD:a012a1027defe28495f06ed522a7a82bdd59a610"&lt;BR /&gt;meta-gnome&lt;BR /&gt;meta-networking&lt;BR /&gt;meta-filesystems = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"&lt;BR /&gt;meta-qt5 = "HEAD:b8bcf8cb576d072f435a0177375e54424f67d1c9"&lt;BR /&gt;meta-python2 = "HEAD:231c3d74cfcf734c3415e86ea8dd97f73ddced9d"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From browser, when I tried to access URL:&amp;nbsp;&lt;A href="https://bitbucket.org/cacaovm/cacao-staging/"&gt;https://bitbucket.org/cacaovm/cacao-staging/&lt;/A&gt;&amp;nbsp;, it asked for name and password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any ca-certificate&amp;nbsp;required&amp;nbsp;to download?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please provide some&amp;nbsp;pointers to&amp;nbsp;resolve&amp;nbsp;this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2020 16:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057178#M155481</guid>
      <dc:creator>prashant_chopad</dc:creator>
      <dc:date>2020-08-22T16:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057179#M155482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is from README in source/meta-java, you can add them to local.conf.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;# Switch to Debian packaging and include package-management in the image&lt;BR /&gt;PACKAGE_CLASSES = "package_deb"&lt;BR /&gt;EXTRA_IMAGE_FEATURES += "package-management"&lt;/P&gt;&lt;P&gt;# Possible provider: cacao-initial-native and jamvm-initial-native&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/java-initial-native = "cacao-initial-native"&lt;/P&gt;&lt;P&gt;# Possible provider: &lt;STRONG&gt;cacao-native&lt;/STRONG&gt; and &lt;STRONG&gt;jamvm-native&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/java-native = "&lt;STRONG&gt;jamvm-native&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;# Optional since there is only one provider for now&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native"&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append = " openjdk-8"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I tested the compilation of openjdk-8 in Yocto zeus, but failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/110662i5CC6ECCD271DC0B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have already compiled openjdk-8&amp;nbsp; in 2 versions of yocto.&lt;/P&gt;&lt;P&gt;see detail, please!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-345333"&gt;How to add openjdk to Yocto Layers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 03:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057179#M155482</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-08-26T03:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057180#M155483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Weidong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I didn't get&amp;nbsp;icedtea7 error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I got something different error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| g++: error: unrecognized command line option ‘-fmacro-prefix-map=/home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0=/usr/src/debug/openjdk-8/242-r0’&lt;BR /&gt;| /home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u242-b07/hotspot/make/linux/makefiles/adlc.make:228: recipe for target '../generated/adfiles/dfa.o' failed&lt;BR /&gt;| make[6]: *** [../generated/adfiles/dfa.o] Error 1&lt;BR /&gt;| /home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u242-b07/hotspot/make/linux/makefiles/top.make:91: recipe for target 'ad_stuff' failed&lt;BR /&gt;| make[5]: *** [ad_stuff] Error 2&lt;BR /&gt;| /home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u242-b07/hotspot/make/linux/Makefile:284: recipe for target 'product' failed&lt;BR /&gt;| make[4]: *** [product] Error 2&lt;BR /&gt;| Makefile:230: recipe for target 'generic_build2' failed&lt;BR /&gt;| make[3]: *** [generic_build2] Error 2&lt;BR /&gt;| Makefile:177: recipe for target 'product' failed&lt;BR /&gt;| make[2]: *** [product] Error 2&lt;BR /&gt;| HotspotWrapper.gmk:44: recipe for target '/home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0/build/hotspot/_hotspot.timestamp' failed&lt;BR /&gt;| make[1]: *** [/home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0/build/hotspot/_hotspot.timestamp] Error 2&lt;BR /&gt;| /home/ubuntu/code/imx8mm/imx-yocto-bsp/imx8mmevk/tmp/work/aarch64-mx8mm-poky-linux/openjdk-8/242-r0/jdk8u-shenandoah-aarch64-shenandoah-jdk8u242-b07//make/Main.gmk:109: recipe for target 'hotspot-only' failed&lt;BR /&gt;| make: *** [hotspot-only] Error 2&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;|&lt;BR /&gt;ERROR: Task (/home/ubuntu/code/imx8mm/imx-yocto-bsp/sources/meta-java/recipes-core/openjdk/openjdk-8_242.bb:do_compile) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 1709 tasks of which 1708 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt; /home/ubuntu/code/imx8mm/imx-yocto-bsp/sources/meta-java/recipes-core/openjdk/openjdk-8_242.bb:do_compile&lt;BR /&gt;Summary: There were 2 ERROR messages shown, returning a non-zero exit code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the last task I got the error.&lt;/P&gt;&lt;P&gt;Is there a way to overcome it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2020 13:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057180#M155483</guid>
      <dc:creator>prashant_chopad</dc:creator>
      <dc:date>2020-08-26T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057181#M155484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;In order to compile openjdk-8 in Yocto zeus, I tested 18.04 LTS, 19.04 LTS, 20.04 LTS, but all failed.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;I have encountered the problem you encountered. The reason is that your 18.04 LTS gcc/g++ compiler version is too low to recognize the -fmacro-prefix-map parameter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;weidong&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2020 00:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057181#M155484</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-08-27T00:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057182#M155485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hello Weidong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I followed these commands to upgrade gcc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;sudo apt install software-properties-common&lt;BR /&gt; sudo add-apt-repository ppa:ubuntu-toolchain-r/test&lt;BR /&gt; sudo apt install gcc-9 g++-9&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But still it failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is there a way to add a support for it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Or there is no alternative?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;When would it be supported, any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Prashant&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 16:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1057182#M155485</guid>
      <dc:creator>prashant_chopad</dc:creator>
      <dc:date>2020-08-28T16:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1132756#M160874</link>
      <description>&lt;P&gt;Hello &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Prashant&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Yes, I haven't got a solution yet. I compiled openjdk-8 for Yocto zeus in different environments, but they were all unsuccessful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;B.R，&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 00:01:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1132756#M160874</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-09-01T00:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1186513#M165269</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26366"&gt;@weidong_sun&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that error resolved in meta-java repo?&lt;/P&gt;&lt;P&gt;Would you please help me here?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 07:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1186513#M165269</guid>
      <dc:creator>prashant_chopad</dc:creator>
      <dc:date>2020-11-20T07:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1186612#M165284</link>
      <description>&lt;P&gt;No, no sulutions.&lt;/P&gt;
&lt;P&gt;I have add openjdk-8 to L4.1.15 and L4.19.35 successfully.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-openjdk-to-Yocto-Layers/ta-p/1128283" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-openjdk-to-Yocto-Layers/ta-p/1128283&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But failed in L5.4.24_2.1.0, &lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0"&gt;&lt;SPAN&gt;the root cause seems to be caused by the compiler.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0"&gt;&lt;SPAN&gt;Have a nice day!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0"&gt;&lt;SPAN&gt;B.R,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0"&gt;&lt;SPAN&gt;Weidong&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 09:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1186612#M165284</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-11-20T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1189664#M165582</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26366"&gt;@weidong_sun&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried to build openjdk-7, but it failed with same error.&lt;/P&gt;&lt;P&gt;But according to this link&amp;nbsp;&lt;A href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/README?h=zeus" target="_blank"&gt;http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/README?h=zeus&lt;/A&gt;&amp;nbsp;it should work for arm-64.&lt;/P&gt;&lt;P&gt;Would you please confirm at your end?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 10:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1189664#M165582</guid>
      <dc:creator>prashant_chopad</dc:creator>
      <dc:date>2020-11-26T10:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1189673#M165585</link>
      <description>&lt;P&gt;OK, thanks a lot.&lt;/P&gt;
&lt;P&gt;I will take time to test it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;B.R,&lt;/P&gt;
&lt;P&gt;Weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 10:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1189673#M165585</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-11-26T10:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1193365#M165942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26366"&gt;@weidong_sun&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It looks like that version 5.4.24 is not supporting openjdk-8.&lt;/P&gt;&lt;P&gt;Is it possible that, does version 4.19.35 support openjdk-8?&lt;/P&gt;&lt;P&gt;If yes, then what is the difference between them? What will I loose by going with 4.19.35 with reference to iMX8MMini chipset?&lt;/P&gt;&lt;P&gt;Would you please guide here?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 16:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1193365#M165942</guid>
      <dc:creator>prashant_chopad</dc:creator>
      <dc:date>2020-12-03T16:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding openjdk-8 to L5.4.24_2.1.0 (Ubuntu 18.04 LTS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1242772#M170581</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I was also trying to build openjdk-8 within the meta-java layer for the zeus branch (on Ubuntu 16.04) and found this thread because I encountered the same issues. I was finally able to successfully build after the following steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Following the thread I changed&amp;nbsp;&lt;SPAN&gt;PREFERRED_PROVIDER_virtual/java-native to "&lt;/SPAN&gt;&lt;STRONG&gt;jamvm-native&lt;/STRONG&gt;&lt;SPAN&gt;" (not sure if that is necessary)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;I kept getting the above mentioned Forbidden access error, but I was able to manually download&amp;nbsp;&lt;A href="http://archive.apache.org/dist/ant/source/apache-ant-1.8.1-src.tar.gz" target="_blank"&gt;http://archive.apache.org/dist/ant/source/apache-ant-1.8.1-src.tar.gz&lt;/A&gt;&amp;nbsp;and add it to my Yocto build (&lt;A href="https://stackoverflow.com/questions/41058204/how-to-do-fetch-by-hand-in-a-yocto-project)" target="_blank"&gt;https://stackoverflow.com/questions/41058204/how-to-do-fetch-by-hand-in-a-yocto-project)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Finally following this thread&amp;nbsp;&lt;A href="https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg69368.html" target="_blank"&gt;https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg69368.html&lt;/A&gt;&amp;nbsp;I added the following to the openjdk-8_242.bb recipe:&amp;nbsp;&lt;PRE&gt;export TARGET_CFLAGS
export TARGET_CXXFLAGS&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This resolved it for me.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 21:44:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Adding-openjdk-8-to-L5-4-24-2-1-0-Ubuntu-18-04-LTS/m-p/1242772#M170581</guid>
      <dc:creator>gramark</dc:creator>
      <dc:date>2021-03-09T21:44:00Z</dc:date>
    </item>
  </channel>
</rss>

