Florian,
Can you confirm that you successfully built some executables, like the ones in base (caput, caget) and the ones in asyn (testAsynPortDriver). Look in the bin/linux-x86 directories there. If so, then we need to figure out why it is failing to build your IOC appplication, which it built other programs OK. Is it just the size of the resulting program or something else?
What happens if you use makeBaseApp.pl to build the example IOC applicaton? Does that build OK?
Mark
________________________________
From: Dirk Zimoch [mailto:[email protected]]
Sent: Fri 10/1/2010 7:01 AM
To: Burkhard Kolb
Cc: Mark Rivers; tech-talk Mailing List; Florian Feldbauer
Subject: Re: Cross compiling EPICS for cris v10
PLT seens to mean "procedure linkage table". The compiler source code is
here:
https://www.calcforge.org/trac/emu-tigcc/browser/tiemu/trunk/src/core/gdb/bfd/elf32-cris.c?rev=1818
Of course, that does not mean that I have any clue what caused the error.
Dirk
Burkhard Kolb wrote:
> Well Mark,
> Peter Zumbruch posted the same error some time ago on 28th of June (subject: No PLT for relocation)
> At that time nobody responded ...
> We also still have no solution, it seems to be a linker problem with the cris-gnu stuff.
>
> Burkhard
>
> Am 30.09.2010 um 18:04 schrieb Mark Rivers:
>
>> I have never seen an error like that.
>>
>> What type of system are you building for, an embedded IOC or a
>> workstation?
>>
>> You are using asyn R4-10 which is quite old, and was tested with EPICS
>> 3.14.8, but I don't think that is the problem. Could you be running out
>> of memory on the target system?
>>
>> It did build the executables in the asyn test directories OK, right? So
>> the linker can build executables, just not your IOC executable?
>>
>> Mark
>>
>>
>> -----Original Message-----
>> From: Florian Feldbauer [mailto:[email protected]]
>> Sent: Thursday, September 30, 2010 10:29 AM
>> To: Mark Rivers
>> Cc: Florian Feldbauer; [email protected]
>> Subject: RE: Cross compiling EPICS for cris v10
>>
>> Ok, now I was able to build synApps (Stream, Asyn, Calc, and sscan). But
>>
>> still I can't build my IOC application
>>
>> /usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-a
>> xis-linux-gnu/bin/ld:
>> /usr/Epics/synApps/synApps_5_4_1/support/asyn/4-10/lib/linux-cris_v10/li
>> basyn.a(devAsynInt32.o):
>> No PLT for relocation R_CRIS_32_GOTPLT against symbol
>> `epicsRingBytesCreate' from .text section
>> /usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/../../../../cris-a
>> xis-linux-gnu/bin/ld:
>> final link failed: Bad value
>> collect2: ld returned 1 exit status
>> make[3]: *** [slowCtrl] Error 1
>> make[3]: Leaving directory
>> `/usr/Epics/slowCtrl/slowCtrlApp/src/O.linux-cris_v10'
>> make[2]: *** [install.linux-cris_v10] Error 2
>> make[2]: Leaving directory `/usr/Epics/slowCtrl/slowCtrlApp/src'
>> make[1]: *** [src.install] Error 2
>> make[1]: Leaving directory `/usr/Epics/slowCtrl/slowCtrlApp'
>> make: *** [slowCtrlApp.install] Error 2
>>
>> Florian
>>
>
> --
> Dr. Burkhard Kolb
> Pleikartsförster Str. 38
> 69124 Heidelberg
> Germany
> E-Mail: [email protected]
> Tel: +49 6221 718640 / Fax: +49 6221 718641
>
>
>
>
- Replies:
- RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- References:
- Cross compiling EPICS for cris v10 Florian Feldbauer
- RE: Cross compiling EPICS for cris v10 Mark Rivers
- RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- RE: Cross compiling EPICS for cris v10 Mark Rivers
- RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- RE: Cross compiling EPICS for cris v10 Mark Rivers
- RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- RE: Cross compiling EPICS for cris v10 Mark Rivers
- RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- RE: Cross compiling EPICS for cris v10 Mark Rivers
- Re: Cross compiling EPICS for cris v10 Burkhard Kolb
- Re: Cross compiling EPICS for cris v10 Dirk Zimoch
- Navigate by Date:
- Prev:
Re: Cross compiling EPICS for cris v10 Dirk Zimoch
- Next:
RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Cross compiling EPICS for cris v10 Dirk Zimoch
- Next:
RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|