<?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: i.MX8mm Android 10 build error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218420#M168120</link>
    <description>&lt;P&gt;&amp;nbsp;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.Download android docs in&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications-processors:IMXANDROID?tab=Documentation_Tab" target="_self"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications-processors:IMXANDROID?tab=Documentation_Tab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. See screen shot i attahced.you should set toolchain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jan 2021 02:29:03 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2021-01-21T02:29:03Z</dc:date>
    <item>
      <title>i.MX8mm Android 10 build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218366#M168116</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to build Android 10 for i.MX8mm board. Here are the steps I am following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Download the source from &lt;A href="https://cache.nxp.com/secured/bsps/imx-android-10.0.0_2.6.0.tar.gz?__gda__=1611196281_58e15ec253cf2a89d9ca20c41403dac6&amp;amp;fileExt=.gz" target="_self"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp" target="_blank" rel="noopener"&gt;https://www.nxp.com/webapp/sps/download/preDownload.jsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.&lt;STRONG&gt;Follow the steps in README&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Download and Setup Source:&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;Run setup script to download Android open source and copy proprietary to source folders&lt;BR /&gt;Run from above the folder for setup script to work properly&lt;/P&gt;&lt;P&gt;$: source ./imx-android-10.0.0_2.6.0/imx_android_setup.sh&lt;/P&gt;&lt;P&gt;Setup build environment:&lt;BR /&gt;-------------------------&lt;BR /&gt;- Set up the environment for building. This only configures the current terminal.&lt;BR /&gt;$ source build/envsetup.sh&lt;/P&gt;&lt;P&gt;- Execute the Android lunch command.&lt;BR /&gt;lunch command can be issued with an argument or can be issued without the argument presenting a menu of selection.&lt;BR /&gt;$ lunch mek_8q-userdebug&lt;/P&gt;&lt;P&gt;Check Android User's Guide for more details&lt;/P&gt;&lt;P&gt;- Execute the "imx-make.sh" script to generate the image.&lt;BR /&gt;$ ./imx-make.sh -j4 2&amp;gt;&amp;amp;1 | tee build-log.txt&lt;BR /&gt;The output of preceding command will be written to standard output and build-log.txt.&lt;/P&gt;&lt;P&gt;If there is any errors when building the image, error log can be found in the build-log.txt file for checking.&lt;/P&gt;&lt;P&gt;avijit@MTC:~/WS/And/android_build$ lunch 34&lt;/P&gt;&lt;P&gt;============================================&lt;BR /&gt;PLATFORM_VERSION_CODENAME=REL&lt;BR /&gt;PLATFORM_VERSION=10&lt;BR /&gt;TARGET_PRODUCT=evk_8mm&lt;BR /&gt;TARGET_BUILD_VARIANT=userdebug&lt;BR /&gt;TARGET_BUILD_TYPE=release&lt;BR /&gt;TARGET_ARCH=arm64&lt;BR /&gt;TARGET_ARCH_VARIANT=armv8-a&lt;BR /&gt;TARGET_CPU_VARIANT=cortex-a53&lt;BR /&gt;TARGET_2ND_ARCH=arm&lt;BR /&gt;TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;BR /&gt;TARGET_2ND_CPU_VARIANT=cortex-a9&lt;BR /&gt;HOST_ARCH=x86_64&lt;BR /&gt;HOST_2ND_ARCH=x86&lt;BR /&gt;HOST_OS=linux&lt;BR /&gt;HOST_OS_EXTRA=Linux-5.4.0-42-generic-x86_64-Ubuntu-18.04.5-LTS&lt;BR /&gt;HOST_CROSS_OS=windows&lt;BR /&gt;HOST_CROSS_ARCH=x86&lt;BR /&gt;HOST_CROSS_2ND_ARCH=x86_64&lt;BR /&gt;HOST_BUILD_TYPE=release&lt;BR /&gt;BUILD_ID=QQ3A.200805.001&lt;BR /&gt;OUT_DIR=out&lt;BR /&gt;============================================&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Output&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Ended up with a build error, with the following errors. Find the attached logs.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Android GCC has been deprecated in favor of Clang, and will be removed from&lt;BR /&gt;Android in 2020-01 as per the deprecation plan in:&lt;BR /&gt;&lt;A href="https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md" target="_blank" rel="noopener"&gt;https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;a8fe5040-2585-11e9-9684-4b547fbede22: error: unrecognized command line option '-Wshift-overflow=2'&lt;BR /&gt;make[1]: *** [build/imx8mm/release/bl31/gpc_common.o] Error 1&lt;BR /&gt;make[1]: *** Waiting for unfinished jobs....&lt;BR /&gt;Android GCC has been deprecated in favor of Clang, and will be removed from&lt;BR /&gt;Android in 2020-01 as per the deprecation plan in:&lt;BR /&gt;&lt;A href="https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md" target="_blank" rel="noopener"&gt;https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;a8fe5040-2585-11e9-9684-4b547fbede22: error: unrecognized command line option '-Wshift-overflow=2'&lt;BR /&gt;make[1]: *** [build/imx8mm/release/bl31/hab.o] Error 1&lt;BR /&gt;a8fe5040-2585-11e9-9684-4b547fbede22: error: unrecognized command line option '-Wshift-overflow=2'&lt;BR /&gt;make[1]: *** [build/imx8mm/release/bl31/imx_aipstz.o] Error 1&lt;BR /&gt;/home/avijit/WS/And/android_build/device/fsl/common/build/uboot.mk:124: recipe for target '/home/avijit/WS/And/android_build/out/target/product/evk_8mm/u-boot.imx' failed&lt;BR /&gt;make: *** [/home/avijit/WS/And/android_build/out/target/product/evk_8mm/u-boot.imx] Error 1&lt;BR /&gt;make: *** Waiting for unfinished jobs....&lt;BR /&gt;SORTEX vmlinux&lt;BR /&gt;SYSMAP System.map&lt;BR /&gt;OBJCOPY arch/arm64/boot/Image&lt;/P&gt;&lt;P&gt;Please suggest.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 01:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218366#M168116</guid>
      <dc:creator>avijitnsec</dc:creator>
      <dc:date>2021-01-21T01:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8mm Android 10 build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218420#M168120</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.Download android docs in&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications-processors:IMXANDROID?tab=Documentation_Tab" target="_self"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications-processors:IMXANDROID?tab=Documentation_Tab&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. See screen shot i attahced.you should set toolchain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 02:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218420#M168120</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-01-21T02:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8mm Android 10 build error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218443#M168121</link>
      <description>&lt;P&gt;Thanks for the prompt response. It would be nice to have it in the README file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, build has started, I still see this warning messages&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Value requested for CONFIG_SHADOW_CALL_STACK not in final .config&lt;BR /&gt;Requested value: CONFIG_SHADOW_CALL_STACK=y&lt;BR /&gt;Actual value:&lt;/P&gt;&lt;P&gt;Value requested for CONFIG_LTO_CLANG not in final .config&lt;BR /&gt;Requested value: CONFIG_LTO_CLANG=y&lt;BR /&gt;Actual value:&lt;/P&gt;&lt;P&gt;Value requested for CONFIG_CFI_CLANG not in final .config&lt;BR /&gt;Requested value: CONFIG_CFI_CLANG=y&lt;BR /&gt;Actual value:&lt;/P&gt;&lt;P&gt;Value requested for CONFIG_CFI_PERMISSIVE not in final .config&lt;BR /&gt;Requested value: CONFIG_CFI_PERMISSIVE=y&lt;BR /&gt;Actual value:&lt;/P&gt;&lt;P&gt;HOSTCC scripts/kconfig/conf.o&lt;BR /&gt;YACC scripts/kconfig/zconf.tab.c&lt;/P&gt;&lt;P&gt;Anything can be done for them ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 03:04:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8mm-Android-10-build-error/m-p/1218443#M168121</guid>
      <dc:creator>avijitnsec</dc:creator>
      <dc:date>2021-01-21T03:04:40Z</dc:date>
    </item>
  </channel>
</rss>

