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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,155件の閲覧回数
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,137件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@RGMAL

please have a try the below setting.

Senlent_0-1709014332930.png

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,138件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@RGMAL

please have a try the below setting.

Senlent_0-1709014332930.png

 

0 件の賞賛
返信