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

arrow
arrow
    全站熱搜

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