<?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>S32G中的主题 BSP36 gcc_11.3.0 compile error</title>
    <link>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/1662619#M3494</link>
    <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I meet a&amp;nbsp;gcc_11.3.0 compile error when build BSP36 in Yocto project.&lt;/P&gt;&lt;P&gt;The detail log as below:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/usr/src/debug/gcc/11.3.0-r0/build/gcc/../../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/gcc/combine.c:11532: undefined reference to `add_clobbers(rtx_def*, int)'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| /home/scm/BSP36/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/gcc/11.3.0-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.3.0/ld: rtl-ssa/changes.o: in function `recog_level2(rtl_ssa::insn_change&amp;amp;, std::function&amp;lt;bool (rtl_ssa::insn_change&amp;amp;, unsigned int)&amp;gt;)':&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| /usr/src/debug/gcc/11.3.0-r0/build/gcc/../../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/gcc/rtl-ssa/changes.cc:840: undefined reference to `add_clobbers(rtx_def*, int)'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| collect2: error: ld returned 1 exit status&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| make[1]: *** [../../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/gcc/lto/Make-lang.in:101: lto-dump] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| make[1]: Leaving directory '/home/scm/BSP36/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/gcc/11.3.0-r0/build/gcc'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| make: *** [Makefile:4456: all-gcc] Error 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| ERROR: oe_runmake failed&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| WARNING: exit code 1 from a shell command.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ERROR: Task (/home/scm/BSP36/fsl-auto-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_11.3.bb:do_compile) failed with exit code '1'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NOTE: Tasks Summary: Attempted 4507 tasks of which 4506 didn't need to be rerun and 1 failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Host env is ubuntu20.04, and I follow the build step as section 3.1 in "S32G2_LinuxBSP_36.0_User_Manual"&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help to have a check, thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 10:34:46 GMT</pubDate>
    <dc:creator>eone</dc:creator>
    <dc:date>2023-06-02T10:34:46Z</dc:date>
    <item>
      <title>BSP36 gcc_11.3.0 compile error</title>
      <link>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/1662619#M3494</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I meet a&amp;nbsp;gcc_11.3.0 compile error when build BSP36 in Yocto project.&lt;/P&gt;&lt;P&gt;The detail log as below:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/usr/src/debug/gcc/11.3.0-r0/build/gcc/../../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/gcc/combine.c:11532: undefined reference to `add_clobbers(rtx_def*, int)'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| /home/scm/BSP36/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/gcc/11.3.0-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.3.0/ld: rtl-ssa/changes.o: in function `recog_level2(rtl_ssa::insn_change&amp;amp;, std::function&amp;lt;bool (rtl_ssa::insn_change&amp;amp;, unsigned int)&amp;gt;)':&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| /usr/src/debug/gcc/11.3.0-r0/build/gcc/../../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/gcc/rtl-ssa/changes.cc:840: undefined reference to `add_clobbers(rtx_def*, int)'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| collect2: error: ld returned 1 exit status&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| make[1]: *** [../../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/gcc/lto/Make-lang.in:101: lto-dump] Error 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| make[1]: Leaving directory '/home/scm/BSP36/fsl-auto-yocto-bsp/build_s32g274ardb2/tmp/work/cortexa53-crypto-fsl-linux/gcc/11.3.0-r0/build/gcc'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| make: *** [Makefile:4456: all-gcc] Error 2&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| ERROR: oe_runmake failed&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;| WARNING: exit code 1 from a shell command.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ERROR: Task (/home/scm/BSP36/fsl-auto-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc_11.3.bb:do_compile) failed with exit code '1'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;NOTE: Tasks Summary: Attempted 4507 tasks of which 4506 didn't need to be rerun and 1 failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Host env is ubuntu20.04, and I follow the build step as section 3.1 in "S32G2_LinuxBSP_36.0_User_Manual"&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help to have a check, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 10:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/1662619#M3494</guid>
      <dc:creator>eone</dc:creator>
      <dc:date>2023-06-02T10:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: BSP36 gcc_11.3.0 compile error</title>
      <link>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/1664199#M3531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186043"&gt;@eone&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to us.&lt;/P&gt;
&lt;P&gt;Please share the installed gcc version in the build system.&lt;/P&gt;
&lt;P&gt;Also, Please share the bitbake command you are using to build the yocto.&lt;/P&gt;
&lt;P&gt;clean the GCC recipe and again try to build&amp;nbsp; GCC recipe using the below commands:&lt;/P&gt;
&lt;P&gt;bitbake -c clean gcc&lt;BR /&gt;bitbake gcc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank s Patel&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 09:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/1664199#M3531</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-06-06T09:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: BSP36 gcc_11.3.0 compile error</title>
      <link>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/2051549#M12736</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204248"&gt;@MayanksPatel&lt;/a&gt;&amp;nbsp;, I am facing same problem. I am using Ubuntu 22.04. GCC version was GCC-9 but I also installed GCC-11 and stil getting same error.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 08:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/BSP36-gcc-11-3-0-compile-error/m-p/2051549#M12736</guid>
      <dc:creator>SarimJalil</dc:creator>
      <dc:date>2025-02-26T08:55:36Z</dc:date>
    </item>
  </channel>
</rss>

