GNUARM-NONEV16.01-EABI Compiler Crash
GNUARM-NONEV16.01-EABI Compiler Crash
Hi,
Linked below is a project that demonstrates the following compiler crash:
(http://www.ardware.co.uk/compilercrash.zip)
cc1plus.exe: out of memory allocating 107868728 bytes
src/subdir.mk:18: recipe for target ‘src/modules2.o’ failed
make: *** [src/modules2.o] Error 1
Compiles OK without optimisation.
Best regards,
Adam.
Hello Adam,
In order to use a toolchain from GNU ARM Embedded instead of the one you are using now, you will have to convert your project from KPIT GNUARM to GNU ARM EMBEDDED.
To convert your project follow the next steps:
1. File → Import.
2. Select: Import KPIT GNUARM Project to GNU ARM Embedded and click Next.
3. Click Browse and select your project.
4. Click Finish.
Unfortunately, for now, we do not provide support for the latest toolchain from Launchpad. That functionality will be available starting with e2studio 6.0.
If you have any other questions, please let us know.
—
Thank you,
The GNU Tools Team
Hello Adam,
We appreciate your patience. As you know, this problem was out of our hands the entire time, but we did reach out to the team capable of handling it and they have now confirmed to us that it has been resolved in the latest release of the toolchain. We have also verified the issue and it seems to be, indeed, fixed.
If you want to try it on your own, please download the toolchain from the following link: http://bit.ly/2mlCn8F
Please let us know if there is anything else we can help you with.
—
Thank you,
The GNU Tools Team
Hello Adam,
Thank you for your patience much appreciated!
Regarding your issue with the latest version of the compiler, at the moment we can confirm that the issue is still persistent.
While we are trying to resolve the bug, as a workaround, please change the optimization level and use either -O0, or -O1. You can change the optimization level on a global scale, for the entire project (by right-clicking on your file, Properties, C/C++ Build, Settings, Optimization and then adjusting the Optimization level via the drop down menu at the top right, then clicking Apply), or for a particular file (by right-clicking the file and following similar steps). We were able to successfully compile the project with either of the two options presented.
—
Thank you,
The GNU Tools Support Team
Hello,
Thank you for your report! This will help us greatly in expediting the fix for the issue you have experienced.
One question however: is the code proprietary? If so, we can mark this query as private, so it is only available to our staff and to you – so that nobody else will be able to access that URL with the download.
—
Thank you,
Ciprian
The GNU Tools Support Team