<?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のトピックcc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1809951#M220015</link>
    <description>&lt;P&gt;While compiling the defconfig file using the make tool for my iMX6ULL-based custom SOM, I encountered the following error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;scripts/kconfig/conf --syncconfig Kconfig&lt;BR /&gt;UPD include/config.h&lt;BR /&gt;CFG u-boot.cfg&lt;BR /&gt;GEN include/autoconf.mk&lt;BR /&gt;GEN include/autoconf.mk.dep&lt;BR /&gt;UPD include/config/uboot.release&lt;BR /&gt;UPD include/generated/version_autogenerated.h&lt;BR /&gt;UPD include/generated/timestamp_autogenerated.h&lt;BR /&gt;UPD include/generated/dt.h&lt;BR /&gt;ENVC include/generated/env.txt&lt;BR /&gt;ENVP include/generated/env.in&lt;BR /&gt;ENVT include/generated/environment.h&lt;BR /&gt;CC lib/asm-offsets.s&lt;BR /&gt;cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch&lt;BR /&gt;cc1: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 generic native&lt;BR /&gt;make[1]: *** [scripts/Makefile.build:143: lib/asm-offsets.s] Error 1&lt;BR /&gt;make: *** [Makefile:1954: prepare0] Error 2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Could someone help me resolve this issue?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 16 Feb 2024 12:05:30 GMT</pubDate>
    <dc:creator>Embedded-world</dc:creator>
    <dc:date>2024-02-16T12:05:30Z</dc:date>
    <item>
      <title>cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1809951#M220015</link>
      <description>&lt;P&gt;While compiling the defconfig file using the make tool for my iMX6ULL-based custom SOM, I encountered the following error:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;scripts/kconfig/conf --syncconfig Kconfig&lt;BR /&gt;UPD include/config.h&lt;BR /&gt;CFG u-boot.cfg&lt;BR /&gt;GEN include/autoconf.mk&lt;BR /&gt;GEN include/autoconf.mk.dep&lt;BR /&gt;UPD include/config/uboot.release&lt;BR /&gt;UPD include/generated/version_autogenerated.h&lt;BR /&gt;UPD include/generated/timestamp_autogenerated.h&lt;BR /&gt;UPD include/generated/dt.h&lt;BR /&gt;ENVC include/generated/env.txt&lt;BR /&gt;ENVP include/generated/env.in&lt;BR /&gt;ENVT include/generated/environment.h&lt;BR /&gt;CC lib/asm-offsets.s&lt;BR /&gt;cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch&lt;BR /&gt;cc1: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 generic native&lt;BR /&gt;make[1]: *** [scripts/Makefile.build:143: lib/asm-offsets.s] Error 1&lt;BR /&gt;make: *** [Makefile:1954: prepare0] Error 2&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Could someone help me resolve this issue?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Feb 2024 12:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1809951#M220015</guid>
      <dc:creator>Embedded-world</dc:creator>
      <dc:date>2024-02-16T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1810070#M220027</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You need to fixed the toolchain, as example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;wget https://releases.linaro.org/components/toolchain/binaries/4.9-2017.01/aarch64-linux-gnu/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu.tar.xz

CROSS_COMPILE=/opt/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- ARCH=arm64&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 14:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1810070#M220027</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-16T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1810309#M220047</link>
      <description>Yeah, I followed the steps outlined in &lt;A href="https://fastbitlab.com/toolchain-installation-and-path-settings/" target="_blank"&gt;https://fastbitlab.com/toolchain-installation-and-path-settings/&lt;/A&gt; to fix the toolchain (I choice stable version: gcc-linaro-12.3.1-2023.06-x86_64_arm-linux-gnueabihf) in my host machine's .bashrc file. However, the same error persists.&lt;BR /&gt;&lt;BR /&gt;Could you please suggest the proper steps to resolve this issue?&lt;BR /&gt;&lt;BR /&gt;Thank you &amp;amp; Regards,&lt;BR /&gt;Ravikumar</description>
      <pubDate>Sat, 17 Feb 2024 06:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1810309#M220047</guid>
      <dc:creator>Embedded-world</dc:creator>
      <dc:date>2024-02-17T06:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1947993#M228084</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same issue "cc1: error: bad value (‘generic-armv7-a’) for ‘-mtune=’ switch" !&lt;/P&gt;&lt;P&gt;I&amp;nbsp; tried to build U-Boot following the instruction on TORADEX : &lt;A href="https://developer.toradex.com/linux-bsp/os-development/build-u-boot-and-linux-kernel-from-source-code/build-u-boot/" target="_blank"&gt;https://developer.toradex.com/linux-bsp/os-development/build-u-boot-and-linux-kernel-from-source-code/build-u-boot/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me please ?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 08:17:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cc1-error-bad-value-generic-armv7-a-for-mtune-switch/m-p/1947993#M228084</guid>
      <dc:creator>fred_62</dc:creator>
      <dc:date>2024-09-05T08:17:07Z</dc:date>
    </item>
  </channel>
</rss>

