From: Damien MATTEI on
Hello,

we have a program that used to compile with intel fortran 8.0 but when compiling it
with intel 9.0 i have those errors at the linkage stage:

[dma(a)mebsuta SIMECAFLD]$ make
ifort -I. SIMECA.F90 -o SIMECA.o -c -save
ifort -I. long_onde.F90 -o long_onde.o -c -save
ifort -I. helium.F90 -o helium.o -c -save
ifort -I. niveaux.F90 -o niveaux.o -c -save
ifort -I. routines.F90 -o routines.o -c -save
ifort -I. printout.F90 -o printout.o -c -save
ifort -I. functions.F90 -o functions.o -c -save
ifort -I. conthamap.F90 -o conthamap.o -c -save
ifort -I. calcul_tau.F90 -o calcul_tau.o -c -save
ifort -I. spectral_energy_distribution.F90 -o spectral_energy_distribution.o -c -save
ifort -I. transition_hydro.F90 -o transition_hydro.o -c -save
ifort -o simeca SIMECA.o long_onde.o helium.o niveaux.o routines.o printout.o functions.o
conthamap.o calcul_tau.o spectral_energy_distribution.o transition_hydro.o
/opt/intel/9.0_x86-64/lib/libifcore.a(for_diags_intel.o)(.text+0x1d3): In function
`for__issue_diagnostic':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_diags_intel.o)(.text+0x277): In function
`for__issue_diagnostic':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_diags_intel.o)(.text+0x288): In function
`for__issue_diagnostic':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_diags_intel.o)(.text+0x122c): In function `tracebackqq_':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_diags_intel.o)(.text+0x123d): In function `tracebackqq_':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_exit_handler.o)(.text+0x121): In function `for__exit_handler':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_exit_handler.o)(.text+0x132): In function `for__exit_handler':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_init.o)(.text+0x95): In function `for_rtl_init_':
: relocation truncated to fit: R_X86_64_PC32 for__l_excpt_info
/opt/intel/9.0_x86-64/lib/libifcore.a(for_init.o)(.text+0x1a4): In function `for_rtl_init_':
: relocation truncated to fit: R_X86_64_PC32 for__l_argc
/opt/intel/9.0_x86-64/lib/libifcore.a(for_init.o)(.text+0x1ab): In function `for_rtl_init_':
: relocation truncated to fit: R_X86_64_PC32 for__a_argv
/opt/intel/9.0_x86-64/lib/libifcore.a(for_init.o)(.text+0x227): In function `for_rtl_init_':
: additional relocation overflows omitted from the output
make: *** [simeca] Error 1

any help greatly appreciated

Best Regards,

Damien
From: Steve Lionel on

Damien MATTEI wrote:
> Hello,
>
> we have a program that used to compile with intel fortran 8.0 but when compiling it
> with intel 9.0 i have those errors at the linkage stage:

Are you on a 64-bit system (with x86_64) Linux trying to build a 64-bit
application? if so, you could not have done that with 8.0 as that
wasn't supported by 8.0. Also, is there a reason you're using 9.0 and
not 9.1?

I see x86_64 paths to libraries in the messages and perhaps you
unintentionally are trying to build a 32-bit application with the x64
libraries?

If you need more help, I suggest contacting Intel Premier Support - see
http://www.intel.com/support/performancetools/fortran/linux/ to get
started.

Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH