jpd,
I have seen this type of error message in situations where some memory
limit was exceeded.
Based on googling with 'common "relocation truncated to fit" ', the
memory limit has something to do with a COMMON block exceeding its max
size, see -
http://coding.derkeiler.com/Archive/Fortran/comp.lang.fortran/2008-10/msg00471.html
Other than that posting suggests, it is the ifort compiler which
understands -mcmodel=medium ; how the same is done with gfortran I don't
know.
Furthermore, more googling reveals that -mcmodel=medium also seems to
require -i-dynamic (as an option to ifort).
So I think you should try ifort compilation whith those options - but it
might mean that also some of the libraries have to be recompiled.
HTH,
Kay
jp d schrieb:
> hi
> more information.
> scala compiles with maxbat set anywto 11750,
> but fails with maxbat 11760
>
> jpd
>
> --- On Fri, 10/9/09, jp d <[log in to unmask]> wrote:
>
>> From: jp d <[log in to unmask]>
>> Subject: [ccp4bb] scala maxbat compile problems
>> To: [log in to unmask]
>> Date: Friday, October 9, 2009, 3:16 PM
>> hi,
>> we were hitting maxbat limits so i downloaded the source
>> and increased maxbat whereever i found it to 20000
>> compiling fails at scala with errors like this:
>>
>> scala.f:(.text+0x5e0): relocation truncated to fit:
>> R_X86_64_32S against symbol `rfile_' defined in COMMON
>> section in scala.o
>> scala.f:(.text+0x601): relocation truncated to fit:
>> R_X86_64_32S against symbol `rfile_' defined in COMMON
>> section in scala.o
>>
>> Ubuntu 8 , 64 bit , ccp4-6.1.2
>>
>> is there some configure option i am missing?
>>
>> thanks
>> jpd
>>
--
Kay Diederichs http://strucbio.biologie.uni-konstanz.de
email: [log in to unmask] Tel +49 7531 88 4049 Fax 3183
Fachbereich Biologie, Universitaet Konstanz, Box M647, D-78457 Konstanz
|