- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page