Version 10 of the Intel compiler for Intel 64 Linux does not support the use of both -fpic and -mcmodel medium (or -mcmodel large) on the same command line.
Avoiding Relocation Errors when Building Applications with Large Global or Static Data on Intel64 LinuxApplications with >2GB of static or global data should be built with –mcmodel=medium –shared-intel on Intel64 Linux*. If linked with static libraries, these should also be built with –mcmodel=medium. Else, "relocation truncated to fit" errors may occur.
For more complete information about compiler optimizations, see our Optimization Notice.