Whenever I have to re-build the esp-idf library files, I get the following error. If I Build again, it moves on and builds for a while then throws the same error a litter further down the build chain. Eventually it will build all the files. Is there a way to get rid of the error, though, so I don’t have keep pushing build to get through all of the library files?
I believe the only cygwin1.dll is in SysGCC\esp32\bin on my machine.
Error:
128 [main] cc1 (14600) C:\SysGCC\esp32\usr\libexec\gcc\xtensa-esp32-elf\5.2.0\cc1.exe: *** fatal error - cygheap base mismatch detected - 0x612E8408/0x2338408.
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.
xtensa-esp32-elf-gcc : internal compiler error : Segmentation fault (program cc1)