problem while trying converting c program from rtems4 to rtems5

Rotem Dror MTH rodror at
Sun Jan 3 12:20:47 UTC 2021


We have an old program (written in c language) running on RTEM 4.10
we are trying to run this program with new environment - RTEM5 with gcc v10.2.0.
we also updated the linkcmds file according to linkcmds.base

we have done compellation and loading grmon3 successfully.

When we start to debug/run the program we get an error in file malloc_initialize.c, line 79: "INTERNAL ERROR NO MEMORY FOR HEAP"
We understand (from guide file named: c-user.pdf) that the problem should be because of configuration error.
Please let us know, where (or how) can we update this configuration? Or maybe this problem caused by a different cause?

If we proceed and skip this error, we stopped on bus error according to file userextiterate.c line 192: iter.previous  pointed to 0x0 address.

Best Regards

*********************************************************************************************** Please consider the environment before printing this email ! The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. Visit us at:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list