section `.stack' is not within region `m_data_2'

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

section `.stack' is not within region `m_data_2'

跳至解决方案
1,150 次查看
RGMAL
Contributor II

Hello NXP Community,

I am working with S32K118 and when I build I met the following problem. see the below


Building target: RedW.elf
Executing target #166 RedW.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "RedW.elf" "@RedW.args"
c:/nxp/s32ds_arm_v2018.r1/cross_tools/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: address 0x20005800 of RedW.elf section `.stack' is not within region `m_data_2'
c:/nxp/s32ds_arm_v2018.r1/cross_tools/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: address 0x20005800 of RedW.elf section `.stack' is not within region `m_data_2'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:155: RedW.elf] Error 1

I attach the .ld I am using.
Could you help me please

 

Thank you and Regards.

标签 (1)
0 项奖励
回复
1 解答
1,132 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@RGMAL

please have a try the below setting.

Senlent_0-1709014332930.png

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,133 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@RGMAL

please have a try the below setting.

Senlent_0-1709014332930.png

 

0 项奖励
回复