EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Tornado 2.2, cross-compiling woes
From: "Ernest L. Williams Jr." <[email protected]>
To: Andy Foster <[email protected]>
Cc: Epics Questions <[email protected]>
Date: Mon, 01 Dec 2003 12:36:38 -0500
On Mon, 2003-12-01 at 11:52, Andy Foster wrote:
> Hi All,
> 
> I've just been experimenting with cross-compiling
> EPICS 3.14.4 against Tornado 2.0.2 (vxWorks 5.4.2)
> and Tornado 2.2 (vxWorks 5.5) and I wanted to share
> the following result.
> 
> (Note: This is cross-compiling with the Wind River supplied
> cross-compiler from Solaris->PPC, so this is separate from the
> Linux->PPC posting I made a few days back).
> 
> I have the following simple database, containing a single calcout record
> on a 1Hz scan:
> 
> ********************************************
> #! Generated by VisualDCT v2.4
> #! DBDSTART
> #! DBD("../dbd/simple.dbd")
> #! DBDEND
> 
> 
> record(calcout, "$(user):trigger") {
>   field(SCAN, "1 second")
>   field(CALC, "(A=2)?1:0")
>   field(OOPT, "Transition To Zero")
> }
> 
> 
> #! Further lines contain data used by VisualDCT
> #! View(3131,2961,1.3)
> #! Record("$(user):trigger",2680,2440,0,0,"$(user):trigger")
> ***********************************************
> 
> 
> This DOES NOT work for me when compiled with T2.2
> i.e. the VAL field of "$(user):trigger" stays equal to 1
> no matter what value I set A equal to.
> 
> But it does work fine when compiled against T2.0.2
> i.e. with the gcc-2.7.2 based compiler.
> 
> 
> For the case which does not work (Tornado 2.2), I have:
> .../ccppc -v
> 
> Reading specs from /usr/software/dev/packages/vxworks/tornado2.2/ppc/host/sun4-solaris2/bin/../lib/gcc-lib/powerpc-wrs-vxworks/gcc-2.96/specs
> gcc version gcc-2.96 (2.96+) 19990621 AltiVec VxWorks 5.5
> 65115 79101 83322 83686 84218 85823 85973 86999 87279 87638 \
> 88306 88708 88966 90104 90120 90296 90648 90662
> 
> (I have just patched this compiler as per Wind River's patch:
> patch-tor2_2.ppc.031031 - in the hope that this would fix the problem.
> I think those are SPR numbers which appear in the line above).
> 
Those are indeed SPR numbers.



> Any comments and I wondered how many sites are actively using
> Tornado 2.2 either with a 3.13 or a 3.14 based release and if
> you have noticed any subtle problems? All a bit worrying...
> 
We are starting to see this issues as well and are actively trying to
keep the T2.2 compiler in synch with the WRS patches.



> Cheers,
> 
> Andy
> 
> --------------------------------------------------------------------
> Observatory Sciences Limited    Email: [email protected]
> William James House             Tel: 44 - (0)1223 - 508259
> Cowley Road                     Fax: 44 - (0)1223 - 508258
> Cambridge, CB4 0WX, UK          http://www.observatorysciences.co.uk
> 


References:
Tornado 2.2, cross-compiling woes Andy Foster

Navigate by Date:
Prev: Tornado 2.2, cross-compiling woes Andy Foster
Next: R3.14.4 Linux IOC john sinclair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Tornado 2.2, cross-compiling woes Andy Foster
Next: Re: Tornado 2.2, cross-compiling woes Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·