Forum > Unix

Problem R_X86_64_PC32

<< < (3/6) > >>

Jonas Maebe:

--- Quote from: krab22 on March 10, 2015, 09:38:06 am ---The question is not removed!

--- End quote ---
You're absolutely correct: I have absolutely no idea why that helped, except if the memory that your removed is faulty.

krab22:
Memory tested by using memtest.
It's okay.

krab22:
What do you think about the message https://software.intel.com/en-us/articles/avoiding-relocation-errors-when-building-applications-with-large-global-or-static-data-on-intel64/?

Jonas Maebe:
That says exactly the same as what I said before: "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."

Whether you have 500MB or 128GB of ram in your computer should not, and normally cannot, affect that error message you are getting from the linker. The behaviour you are seeing simply does not make any sense.

krab22:
Modules must be compiled for a specific memory model. If you do not, an error occurs linker. How does this win when compiling FPC?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version