EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: calc and calcout records in EPICS 3.14.6
From: Andrew Johnson <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Wed, 17 Nov 2004 14:17:01 -0600
Ronald L. Sluiter wrote:
I reported a problem with the Tornado 2.2.1 supplied compiler
via the Mantis Bug Reporting mechanism; Bug ID #82.

The jest of the report is that the epicsThreadSleepQuantum() function
returns erroneous values when -O3 optimization is used.

We're turning down the optimization level of the 68K C compiler in Base R3.14.7 to -O0 as a result of this bug. The C++ compiler is not affected. I guess this will also fix the calc record problem.


For those who don't know, the Tornado 2.x C compiler is actually pretty ancient, being based on gcc 2.7.2 (1996). Their C++ compiler has a somewhat more recent origin, although it's still old (EGCS, 1997). WRS are rightly assuming that their customers need object code compatibility for existing object-only libraries, which any significant gcc upgrade would break. The best way to find your compiler version is to run the relevent compiler with a '-v' switch.

- Andrew
--
Dear God, I didn't think orange went with purple until I saw
the sunset you made last night.  That was really cool. - Caro


References:
RE: calc and calcout records in EPICS 3.14.6 Mark Rivers
Re: calc and calcout records in EPICS 3.14.6 Ronald L. Sluiter

Navigate by Date:
Prev: RE: calc and calcout records in EPICS 3.14.6 Thompson, David H.
Next: EPICS training Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: calc and calcout records in EPICS 3.14.6 Ronald L. Sluiter
Next: RE: calc and calcout records in EPICS 3.14.6 Thompson, David H.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·