Error Message:

 

AABBCC.o: In function `XXYYZZ':

AABBCC.c:(.text+0x6e): relocation truncated to fit: R_X86_64_PC32 against symbol `XD' defined in COMMON section in DDEEFF.o

AABBCC.c:(.text+0xcd): relocation truncated to fit: R_X86_64_PC32 against symbol `XD' defined in COMMON section in DDEEFF.o

 

 

Cause: 

more than 2GB static memory is allocated.

 

Solution:

gcc -mcmodel=medium

文章標籤
全站熱搜
創作者介紹
創作者 bamil 的頭像
bamil

My Humble House

bamil 發表在 痞客邦 留言(0) 人氣(152)