Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28456 Discussions

relocation truncated to fit: R_X86_64_32S against symbol

zakeyash
Beginner
980 Views

Dear all ;

I have envisaged with the following error :

utput.o: In function `output_':
output.f:(.text+0x439): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x441): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x449): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x451): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x459): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x461): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x469): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x471): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x47a): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x483): relocation truncated to fit: R_X86_64_32S against symbol `tmploc_' defined in COMMON section in output.o
output.f:(.text+0x48c): additional relocation overflows omitted from the output
make: *** [regcm] Error 1

but unfortunately I don't know what does this error mean?


Would you please let me know if you have any advice.

Thanks in advance,
zakey

0 Kudos
2 Replies
TimP
Honored Contributor III
980 Views
Do you have a COMMON block larger than 2GB? That won't work with default memory model.
0 Kudos
Martyn_C_Intel
Employee
980 Views

Zakey,

Please see my article at http://software.intel.com/en-us/articles/avoiding-relocation-errors-when-building-applications-with-large-global-or-static-data-on-intel64/

In general, for errors like this, I encourage you to search the knowledge base, and then the forums, from http://software.intel.com/en-us/articles/advanced-search/

(orstart the search fromthe knowledge base at http://software.intel.com/en-us/articles/tools/- click on the binoculars).

Martyn

0 Kudos
Reply