<?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>topic Re: Error when compiling for Android 11 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-compiling-for-Android-11/m-p/1505144#M193750</link>
    <description>&lt;P&gt;Hello lishaocheng&lt;/P&gt;
&lt;P&gt;Is probably that you have another linux BSP or android compilated in your computer? the issue is weird I never seen before it said&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;Internal error. Please report to android-llvm@google.com.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So I suggest to send the log to that address is problem of your PC and android.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 17:38:39 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2022-08-11T17:38:39Z</dc:date>
    <item>
      <title>Error when compiling for Android 11</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-compiling-for-Android-11/m-p/1504769#M193724</link>
      <description>&lt;P&gt;Compiling the Android 11 Linux kernel for imx8mp_evp sends an error, what could be that part of the reason?&lt;/P&gt;&lt;P&gt;The following are the compilation steps and error messages。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;~/imx-android-11.0.0_2.4.0/android_build$ export AARCH64_GCC_CROSS_COMPILE=/opt/toolchain/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin/aarch64-linux-gnu-
~/imx-android-11.0.0_2.4.0/android_build$ export CLANG_PATH=/opt/prebuilt-android-clang 
~/imx-android-11.0.0_2.4.0/android_build$ source build/envsetup.sh 
~/imx-android-11.0.0_2.4.0/android_build$ lunch evk_8mp-userdebug 
~/imx-android-11.0.0_2.4.0/android_build$ ./imx-make.sh kernel -c -j4
make: Entering directory '/home/sbs/imx-android-11.0.0_2.4.0/android_build'
Merging KERNEL config srcs: /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/gki_defconfig /home/sbs/imx-android-11.0.0_2.4.0/android_build/device/nxp/imx8m/evk_8mp/android_addition_defconfig /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment
Using /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/gki_defconfig as base
Merging /home/sbs/imx-android-11.0.0_2.4.0/android_build/device/nxp/imx8m/evk_8mp/android_addition_defconfig
Merging /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment
Value of CONFIG_STATIC_USERMODEHELPER_PATH is redefined by fragment /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:
Previous value: CONFIG_STATIC_USERMODEHELPER_PATH=""
New value: CONFIG_STATIC_USERMODEHELPER_PATH="/system/bin/sh"

Value of CONFIG_LTO_CLANG_FULL is redefined by fragment /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:
Previous value: CONFIG_LTO_CLANG_FULL=y
New value: # CONFIG_LTO_CLANG_FULL is not set

Value of CONFIG_CFI_CLANG is redefined by fragment /home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx8mp_gki.fragment:
Previous value: CONFIG_CFI_CLANG=y
New value: # CONFIG_CFI_CLANG is not set

make[1]: Entering directory '/home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[2]: Entering directory '/home/sbs/imx-android-11.0.0_2.4.0/android_build/out/target/product/evk_8mp/obj/KERNEL_OBJ'
  GEN     Makefile
  HOSTCC  scripts/basic/fixdep
Internal error. Please report to android-llvm@google.com.
compiler_wrapper.go:178: failed to execute &amp;amp;main.command{Path:"/opt/prebuilt-android-clang/clang-r416183b/bin/clang.real", Args:[]string{"-Wp,-MMD,scripts/basic/.fixdep.d", "-Wall", "-Wmissing-prototypes", "-Wstrict-prototypes", "-O2", "-fomit-frame-pointer", "-std=gnu89", "-I", "./scripts/basic", "-o", "scripts/basic/fixdep", "/home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/scripts/basic/fixdep.c"}, EnvUpdates:[]string(nil)}: go_exec.go:22: exec error: exec format error
make[3]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 1
make[2]: *** [/home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx/Makefile:550: scripts_basic] Error 2
make[2]: Leaving directory '/home/sbs/imx-android-11.0.0_2.4.0/android_build/out/target/product/evk_8mp/obj/KERNEL_OBJ'
make[1]: *** [Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/home/sbs/imx-android-11.0.0_2.4.0/android_build/vendor/nxp-opensource/kernel_imx'
make: *** [/home/sbs/imx-android-11.0.0_2.4.0/android_build/device/nxp/common/build/kernel.mk:187: /home/sbs/imx-android-11.0.0_2.4.0/android_build/out/target/product/evk_8mp/obj/KERNEL_OBJ/.config] Error 2
make: Leaving directory '/home/sbs/imx-android-11.0.0_2.4.0/android_build'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-when-compiling-for-Android-11/m-p/1504769#M193724</guid>
      <dc:creator>lishaocheng</dc:creator>
      <dc:date>2022-08-11T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compiling for Android 11</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Error-when-compiling-for-Android-11/m-p/1505144#M193750</link>
      <description>&lt;P&gt;Hello lishaocheng&lt;/P&gt;
&lt;P&gt;Is probably that you have another linux BSP or android compilated in your computer? the issue is weird I never seen before it said&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;Internal error. Please report to android-llvm@google.com.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;So I suggest to send the log to that address is problem of your PC and android.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Error-when-compiling-for-Android-11/m-p/1505144#M193750</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-08-11T17:38:39Z</dc:date>
    </item>
  </channel>
</rss>

