unable to reach __alt_heap_limit (at xxx) from the global pointer (xxx) - unable to reach __alt_heap_limit (at xxx) from the global pointer (xxx) Hi, I am porting a legacy NIOS2 project from Cyclone III to Cyclone V and getting a warning warning: unable to reach __alt_heap_limit (at 0x5ff800) from the global pointer (at 0x4573cc) because the offset (1737780) is out of the allowed range, -32678 to 32767. The code is "initializing" the heap and iterating from __alt_heap_start to __alt_heap_limit. Looks like a 16-bit pointers limitation. Any idea what is the problem? Thanks! Replies: Re: unable to reach __alt_heap_limit (at xxx) from the global pointer (xxx) Hi BBS3000 , I am glad that you have solve the issue, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you. Thanks. Regards, Aik Eu Replies: Re: unable to reach __alt_heap_limit (at xxx) from the global pointer (xxx) Solved. Apparently -G0 flag was missed so the GPR was used. - 2024-04-25

external_document