Quantcast
Channel: Problem with " relocation truncated to fit: R_X86_64_PC32 against symbol `__imp_Sleep'" - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Nate Eldredge for Problem with " relocation truncated to fit:...

gcc normally uses the "small" or "small PIC" code model on x86-64, which limits code plus static data (i.e. global or static) to 2 GB. Your array is nearly 4 GB, so you are exceeding that. You can try...

View Article



Problem with " relocation truncated to fit: R_X86_64_PC32 against symbol...

I wrote a really simple program which returns errors like that:C:\Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib\crt2.o In function `__tmainCRTStartup':254...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images