S32DS Compilation error : fatal error - cygheap base mismatch detected

cancel
Showing results for 
Search instead for 
Did you mean: 

S32DS Compilation error : fatal error - cygheap base mismatch detected

Jump to solution
237 Views
NXP Employee
NXP Employee

Hello,

 

Customer: AED Engineering

SW: S32DS

 

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.

As soon as they try to buid they get:

 

arm-none-eabi-gcc "@Project_Settings/Startup_Code/startup_S32K142.args" -o "Project_Settings/Startup_Code/startup_S32K142.o" "../Project_Settings/Startup_Code/startup_S32K142.S"

      4 [main] sh (20384) C:\NXP\S32DS_ARM_v2.2\S32DS\build_tools\msys32\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x612E5408/0x1045408.

This problem is probably due to using incompatible versions of the cygwin DLL.

Search for cygwin1.dll using the Windows Start->Find/Search facility

and delete all but the most recent version.  The most recent version *should*

reside in x:\cygwin\bin, where 'x' is the drive on which you have

installed the cygwin distribution.  Rebooting is also suggested if you

are unable to find another cygwin DLL.

 

What can be the cause of error?

 

Luis

Tags (3)
0 Kudos
1 Solution
48 Views
NXP Employee
NXP Employee

Hi Luis, 

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:

pastedImage_1.png 

And sometimes it just disappear next day. I'll ping S32DS dev team with your issue. May be they already figured it out. 

Jiri

View solution in original post

0 Kudos
4 Replies
49 Views
NXP Employee
NXP Employee

Hi Luis, 

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:

pastedImage_1.png 

And sometimes it just disappear next day. I'll ping S32DS dev team with your issue. May be they already figured it out. 

Jiri

View solution in original post

0 Kudos
48 Views
NXP Employee
NXP Employee

Hi Jiri Kral ,

In this case they have tried both and is happening in all the computers at customer.

Luis

0 Kudos
48 Views
NXP Employee
NXP Employee

Hi sito,

It seems this issue has been reported before. Please check the thread: https://community.nxp.com/message/1059626 

Hope it helps,

Mike

0 Kudos
48 Views
NXP Employee
NXP Employee

Hi Mike Doidge ,

I already shared the community doc you mention and it doesn't fix the issue.

Luis

0 Kudos