EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: and Speaking of sysAtReboot....
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Wed, 24 Apr 2013 12:24:54 -0500
Hi Eric,

On 2013-04-22 Bjorklund, Eric A wrote:
> I just discovered today that the vxWorks osd class "atRebootRegister" is
> not being loaded into my munch files (EPICS 3.14.12.3, vxWorks 6.8, gnu
> toolchain 4.1.2).  The class is clearly present in libCom.a, but it seems
> the newer gnu loaders have become too clever for the "atRebootExtern"
> trick.  Removing the "static" declaration from the "pext" structure in
> osdThread.c (and giving it a less vulnerable name) is one way to fix the
> problem.

Good catch.  I don't particularly like using a static C++ constructor like 
that anyway, so I'm changing osdThread.c so the epicsThreadInit() routine 
calls atRebootRegister() directly, changing that object constructor into a 
regular function.  I've put the patch for this up on the Known Problems page.

I may move the functionality into osdThread.c in the future, the extra file is 
not necessary at all now.

Thanks,

- Andrew
-- 
It is difficult to get a man to understand something, when his salary
depends upon his not understanding it. -- Upton Sinclair

References:
Andrew 周永年
Re: Andrew Andrew Johnson
and Speaking of sysAtReboot.... Bjorklund, Eric A

Navigate by Date:
Prev: Re: asynPrint to print asyn port name Mark Davis
Next: Help with CAJ installation.. Park, Young Soo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: and Speaking of sysAtReboot.... Bjorklund, Eric A
Next: Multiple copies of IOC Mogamad-Amien Crombie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·