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 ArticleProblem 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
More Pages to Explore .....