Avoiding Relocation Errors when Building Applications with Large Global or Static Data on Intel64 Linux

Applications 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.
  • Desenvolvedores
  • Linux*
  • C/C++
  • Fortran
  • Compilador C++ Intel®
  • Composer XE C++ Intel®
  • Compilador Fortran Intel®+
  • Composer XE Fortran Intel®
  • -mcmodel
  • memory model
  • relocation
  • Assine o relocation