<?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: S32DS for PA 2017.R1 can't support gcc --no-as-need option in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755260#M2686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that the error is not related to any linker option. Can you please share your project here or you can send it on &lt;A href="mailto:jiri.kral@nxp.com"&gt;jiri.kral@nxp.com&lt;/A&gt;&amp;nbsp;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 15:00:46 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2018-01-15T15:00:46Z</dc:date>
    <item>
      <title>S32DS for PA 2017.R1 can't support gcc --no-as-need option</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755257#M2683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dear NXP guys&lt;/P&gt;&lt;P&gt;as below screenshot, when I specified "--no-as-need" in S32DS C Compiler settings,&lt;/P&gt;&lt;P&gt;the powerpc-eabivle-gcc.exe told me that it can NOT recognized this option.&lt;/P&gt;&lt;P&gt;I have to fix some lib link order issue by using this gcc option.&lt;/P&gt;&lt;P&gt;how can I archive this ? or is there other ways that S32DS supported ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ截图20171231005431.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34014iB3BA4965D137CA5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ截图20171231005431.png" alt="QQ截图20171231005431.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image003(12-31-00-34-44).jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34015i18F3D931BBB8929D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image003(12-31-00-34-44).jpg" alt="image003(12-31-00-34-44).jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 16:58:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755257#M2683</guid>
      <dc:creator>wesleyxie</dc:creator>
      <dc:date>2017-12-30T16:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS for PA 2017.R1 can't support gcc --no-as-need option</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755258#M2684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the "no-as-needed" is linker (ld) option and can be added into linker settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34792i8764C21D8891BC14/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 09:25:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755258#M2684</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-01-02T09:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS for PA 2017.R1 can't support gcc --no-as-need option</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755259#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;tried both the "--no-as-need" and "&lt;SPAN&gt;--no-as-needed&lt;/SPAN&gt;" option in Linker, but seem neither of them work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7289i9BA09B81ED9A2551/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7645iE8FDF3FCA932E80B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. put fmc_bsp_os lib before fmc_sm, build project, many&amp;nbsp;&lt;SPAN&gt;"undefined reference to FmcBspXxxx" error, those&amp;nbsp;FmcBspXxxx functions should be already in fmc_bsp_os lib.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7532iAF6E79C42E0E2636/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7602i6A42A6CB04DBFF5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. put fmc_bsp_os after fmc_sm, the "undefined reference to FmcBspXxxx" disappeared,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; this means that FmcBspXxxx exist in fmc_bsp lib,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; but the linker can not find it if the fmc_bsp_os lib is located before fmc_sm lib (no matter that --no-as-need is added or not).&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/7502i6FD7837222157014/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;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7290i8167A207B20E361D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:19:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755259#M2685</guid>
      <dc:creator>wesleyxie</dc:creator>
      <dc:date>2018-01-15T10:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS for PA 2017.R1 can't support gcc --no-as-need option</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755260#M2686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that the error is not related to any linker option. Can you please share your project here or you can send it on &lt;A href="mailto:jiri.kral@nxp.com"&gt;jiri.kral@nxp.com&lt;/A&gt;&amp;nbsp;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 15:00:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-for-PA-2017-R1-can-t-support-gcc-no-as-need-option/m-p/755260#M2686</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-01-15T15:00:46Z</dc:date>
    </item>
  </channel>
</rss>

