Re: [fluka-discuss]: Linker error with fluka 2011.2c.5

From: M. Nicola Mazziotta <Marionicola.Mazziotta_at_ba.infn.it>
Date: Mon, 17 Oct 2016 14:41:41 +0200

Try to install first the latest version of binutils (e.g. 2.26), then
re-build the gcc 6.2 (at least it works for SL 6)

Nicola


Il 17/10/2016 13:58, Alfredo Ferrari ha scritto:
> Uhh
> that is strange, we had other users with exactly the same problem who
> got it solved just upgrading the gfortran version. Could it be (also)
> a linker version issue?
>
> I'll ask one of the users who I know solved it the exact details of
> what he did
>
> Alfredo
>
> +----------------------------------------------------------------------+
> | Alfredo Ferrari || Tel.: +41.22.76.76119 |
> | CERN-EN/STI || Fax.: +41.22.76.69474 |
> | 1211 Geneva 23 || e-mail: Alfredo.Ferrari_at_cern.ch |
> | Switzerland || |
> +----------------------------------------------------------------------+
>
> On Mon, 17 Oct 2016, Felix Rauscher wrote:
>
>> Dear alfredo,
>>
>> unfortunately the error persists when I use gfortran 6.2.0
>>
>> regards
>>
>> Felix
>>
>> On 10/17/2016 01:28 PM, Alfredo Ferrari wrote:
>>> ... very likely you have gfortran 5.x, while you need gfortran version
>>>> = 6 (actually the code is presently compiled under gfortran-6.2 and
>>> gfortran-6.x broke the compatibility with gfortran-5.x)
>>>
>>> Let me know if this is indeed the problem
>>>
>>> Alfredo
>>>
>>> +----------------------------------------------------------------------+
>>>
>>> | Alfredo Ferrari || Tel.:
>>> +41.22.76.76119 |
>>> | CERN-EN/STI || Fax.:
>>> +41.22.76.69474 |
>>> | 1211 Geneva 23 || e-mail:
>>> Alfredo.Ferrari_at_cern.ch |
>>> | Switzerland || |
>>> +----------------------------------------------------------------------+
>>>
>>>
>>> On Mon, 17 Oct 2016, Felix Rauscher wrote:
>>>
>>>> Dear All,
>>>>
>>>> when I try to compile fluka 2011.2c.5 on ubuntu 14.04 64bit
>>>> gfortran, I get the
>>>> following error:
>>>>
>>>> /usr/bin/ld:
>>>> /scratch-local/rauscher/fluka/fluka/libflukahp.a(dortno.o):
>>>> unrecognized relocation (0x2a) in section `.text'
>>>> /usr/bin/ld: final link failed: Bad value
>>>> collect2: error: ld returned 1 exit status
>>>>
>>>> The executeable flukahp is therefore not built.
>>>>
>>>> Thanks for your help
>>>>
>>>> Felix
>>>>
>>>> __________________________________________________________________________
>>>>
>>>> You can manage unsubscription from this mailing list at
>>>> https://www.fluka.org/fluka.php?id=acc_info
>>>>
>>
>>
>>
>> __________________________________________________________________________
>>
>> You can manage unsubscription from this mailing list at
>> https://www.fluka.org/fluka.php?id=acc_info
>>
>
> __________________________________________________________________________
>
> You can manage unsubscription from this mailing list at
> https://www.fluka.org/fluka.php?id=acc_info
>


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id¬c_info
Received on Mon Oct 17 2016 - 16:06:29 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 17 2016 - 16:06:32 CEST