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

From: Andrea Fontana <andrea.fontana_at_pv.infn.it>
Date: Fri, 21 Oct 2016 11:10:09 +0200 (CEST)

Dear Alfredo and all,
    we have also experienced the linker error for the respin 5 on
ubuntu 14.04 64 bit (gfortran 5.2 and ld 2.25) and also on the
new windows bash shell (gfortran 4.8 and ld 2.24).

Also for us the error disappear in both systems simply by installing
binutils 2.27 by downloading them from:

https://launchpad.net/ubuntu/+source/binutils/2.27-2ubuntu2

and recompiling only binutils. No gcc recompilation nor
gfortran 6 installation seem to be required.

We will try to repeat the procedure on the other computers of our
group to confirm it.

Hope this helps...

Andrea & Alessia


> 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
>
>
>


-- 
========================================================================
Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail: andrea.fontana_at_pv.infn.it
Via Bassi 6                           web   : www.pv.infn.it/~fontana
27100 PAVIA, Italy
========================================================================
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Oct 21 2016 - 12:58:52 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 21 2016 - 12:58:53 CEST