<?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>S32 Design StudioのトピックRe: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/1548424#M9360</link>
    <description>&lt;P&gt;Posted this on the other thread linked earlier here too.&lt;/P&gt;&lt;P&gt;Managed to get rid of this error by using an externally installed copy of make in place of the one found within the NXP folder.&lt;/P&gt;&lt;P&gt;In the project Properties (File &amp;gt; Properties, or right click on project &amp;gt; Properties) expand C/C++ and go to Environment. Edit (or add) the PATH variable to include the path to the bin folder of your external Make installation at the &lt;STRONG&gt;beginning&lt;/STRONG&gt; of the list. This bin folder would be the one containing the make.exe executable. Apply and Close. Rebuild.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 16:44:35 GMT</pubDate>
    <dc:creator>winsmen</dc:creator>
    <dc:date>2022-11-03T16:44:35Z</dc:date>
    <item>
      <title>S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988919#M5627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;Hello&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;Customer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;: AED &lt;SPAN&gt;Engineering&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;SW: S32DS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer is having compilation error for any application created for S32DS, they have verified that they don't have that issue with private laptops but all the company PC's are getting the error. So probably is due to Windows 10 configuration but they don't know how to solve it.&lt;/P&gt;&lt;P&gt;As soon as they try to &lt;SPAN&gt;buid&lt;/SPAN&gt; they get:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;arm-none-&lt;SPAN&gt;eabi&lt;/SPAN&gt;-&lt;SPAN&gt;gcc&lt;/SPAN&gt; "@&lt;SPAN&gt;Project_Settings&lt;/SPAN&gt;/&lt;SPAN&gt;Startup_Code&lt;/SPAN&gt;/startup_S32K142.args" -o "&lt;SPAN&gt;Project_Settings&lt;/SPAN&gt;/&lt;SPAN&gt;Startup_Code&lt;/SPAN&gt;/startup_S32K142.o" "../&lt;SPAN&gt;Project_Settings&lt;/SPAN&gt;/&lt;SPAN&gt;Startup_Code&lt;/SPAN&gt;/startup_S32K142.S"&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;background:red;mso-highlight:red;mso-ansi-language:EN-GB;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4 [main] &lt;SPAN&gt;sh&lt;/SPAN&gt; (20384) C:\NXP\S32DS_ARM_v2.2\S32DS\build_tools\msys32\usr\bin\sh.exe: *** fatal error - &lt;SPAN&gt;cygheap&lt;/SPAN&gt; base mismatch detected - 0x612E5408/0x1045408.&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;This problem is probably due to using incompatible versions of the &lt;SPAN&gt;cygwin&lt;/SPAN&gt; DLL.&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;Search for cygwin1.dll using the Windows Start-&amp;gt;Find/Search facility&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;and delete all but the most recent version.&amp;nbsp; The most recent version *should*&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;reside in x:\cygwin\bin, where 'x' is the drive on which you have&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-autospace:none;"&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;installed the &lt;SPAN&gt;cygwin&lt;/SPAN&gt; distribution.&amp;nbsp; Rebooting is also suggested if you&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-size:10.0pt;font-family:Consolas;color:black;mso-ansi-language:EN-GB;"&gt;are unable to find another &lt;SPAN&gt;cygwin&lt;/SPAN&gt; DLL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN lang="EN-GB" style="mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="mso-ansi-language:EN-GB;"&gt;What can be the cause of error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN lang="EN-GB" style="mso-ansi-language:EN-GB;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="mso-ansi-language:EN-GB;"&gt;Luis&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 16:37:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988919#M5627</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2020-02-05T16:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988920#M5628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sito"&gt;sito&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems this issue has been reported before. Please check the thread:&amp;nbsp;&lt;A href="https://community.nxp.com/message/1059626"&gt;https://community.nxp.com/message/1059626&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 22:20:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988920#M5628</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2020-02-07T22:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988921#M5629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES"&gt;Hi &lt;A __default_attr="241115" _jive_internal="true" data-objecttype="3" href="https://community.nxp.com/people/mikedoidge" jivemacro="user"&gt;Mike Doidge&lt;/A&gt; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I already shared the community doc you mention and it doesn't fix the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 07:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988921#M5629</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2020-02-10T07:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988922#M5630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was facing this issue in past and to be honest - never find general solution. Sometimes helps regular power OFF and ON (no reboot), sometimes helps run autorebase script:&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/103318i4EB5BE7796322AAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And sometimes it just disappear next day. I'll ping S32DS dev team with your issue. May be they already figured it out.&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, 10 Feb 2020 10:33:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988922#M5630</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-02-10T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988923#M5631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES"&gt;Hi &lt;A __default_attr="293563" _jive_internal="true" data-objecttype="3" href="https://community.nxp.com/people/jiri.kral@nxp.com" jivemacro="user"&gt;Jiri Kral&lt;/A&gt; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES" style="mso-ansi-language:ES"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this case they have tried both and is happening in all the computers at customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 14:25:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/988923#M5631</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2020-02-10T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/1548424#M9360</link>
      <description>&lt;P&gt;Posted this on the other thread linked earlier here too.&lt;/P&gt;&lt;P&gt;Managed to get rid of this error by using an externally installed copy of make in place of the one found within the NXP folder.&lt;/P&gt;&lt;P&gt;In the project Properties (File &amp;gt; Properties, or right click on project &amp;gt; Properties) expand C/C++ and go to Environment. Edit (or add) the PATH variable to include the path to the bin folder of your external Make installation at the &lt;STRONG&gt;beginning&lt;/STRONG&gt; of the list. This bin folder would be the one containing the make.exe executable. Apply and Close. Rebuild.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:44:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/1548424#M9360</guid>
      <dc:creator>winsmen</dc:creator>
      <dc:date>2022-11-03T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS Compilation error : fatal error - cygheap base mismatch detected</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/1765649#M11462</link>
      <description>&lt;P&gt;Thanks winsmen, this is the only workaround that solved the problem on my system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a recurring issue I face with S32DS 3.5. In the past it seemed to eventually resolve itself after some time (perhaps Windows or antivirus policy updates), however on this occasion I had urgent work to do and I could not force it to function via system shutdown/restart or the &lt;EM&gt;autorebase.bat &lt;/EM&gt;script.&lt;/P&gt;
&lt;P&gt;Here is the exact procedure I used:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open project properties in S32DS.
&lt;UL&gt;
&lt;LI&gt;Presently this needs to be done for all projects that are affected (which is anything built in S32DS managed make context).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Expand &lt;STRONG&gt;C/C++ Build&lt;/STRONG&gt; and select &lt;STRONG&gt;Environment.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Select the&amp;nbsp;&lt;STRONG&gt;PATH&amp;nbsp;&lt;/STRONG&gt;variable and click the&amp;nbsp;&lt;STRONG&gt;Edit...&amp;nbsp;&lt;/STRONG&gt;button.&lt;/LI&gt;
&lt;LI&gt;Pre-pend the path to external directory (outside of S32DS installation) containing &lt;STRONG&gt;make.exe&lt;/STRONG&gt;, for example I installed a separate instance of msys64 which includes &lt;STRONG&gt;make.exe&amp;nbsp;&lt;/STRONG&gt;at the default path of:&amp;nbsp;&lt;EM&gt;C:\msys64\usr\bin.&lt;/EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaryRK_0-1701255227446.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252107i5A511201ECCEFF08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GaryRK_0-1701255227446.png" alt="GaryRK_0-1701255227446.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Click&amp;nbsp;&lt;STRONG&gt;OK&amp;nbsp;&lt;/STRONG&gt;then&amp;nbsp;&lt;STRONG&gt;Apply and Close&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Attempt to repeat the build or clean operation and it should now work.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I tried to apply this workaround at S32DS workspace level by defining the &lt;STRONG&gt;PATH&lt;/STRONG&gt; variable in &lt;STRONG&gt;Window -&amp;gt; Preferences -&amp;gt; C/C++ -&amp;gt; Build -&amp;gt; Environment&amp;nbsp;&lt;/STRONG&gt;but this does not work. It only seems to support appending of environment variables to the project-local environment, meaning the non-functional S32DS &lt;STRONG&gt;make.exe&lt;/STRONG&gt; will supersede the external instance and be invoked first leading to the error. I will update this thread if I find a way to apply the workaround in a general way.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Gary&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 11:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-Compilation-error-fatal-error-cygheap-base-mismatch/m-p/1765649#M11462</guid>
      <dc:creator>GaryRK</dc:creator>
      <dc:date>2023-11-29T11:11:18Z</dc:date>
    </item>
  </channel>
</rss>

