Forum > Unix

Problem R_X86_64_PC32

<< < (2/6) > >>

Jonas Maebe:
Which revision of the FPC source code (from which branch) are you compiling? And what is the version number of your starting compiler? Also, what is the version of your binutils?

Normally, the error you get should only occur if the total size of your code (+ possibly static data) is over 4GB, but that's definitely not the case for the compiler binary.

krab22:
(GNU Binutils) version 2.24
Version in the attached file.

krab22:
In yet found https://software.intel.com/en-us/articles/avoiding-relocation-errors-when-building-applications-with-large-global-or-static-data-on-intel64/
Only where this parameter (-mcmodel = medium) exhibit.

krab22:
Removed 4GB memory - everything compiled fine!

krab22:
The question is not removed!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version