Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Symbol `_memcpy_mem_ops_method' causes overflow in R_X86_64_PC32 relocation

bobcraig
Beginner
479 Views
I get the following message when I run my executables:
Symbol `_memcpy_mem_ops_method' causes overflow in R_X86_64_PC32 relocation
I am working on a EM64T using the Intel compile 8.1 with optimisation set to -O2.
This message doesn't appear when compiling with debugging on.
Does anybody know what the problem is and how you could fix it?
0 Kudos
1 Reply
Intel_C_Intel
Employee
479 Views
Please recompile with -fPIC option. This might resolves the problem. By default the compiler does not generate position-independent code becuase of the run time over head
0 Kudos
Reply