EPICS Home

Experimental Physics and Industrial Control System


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

Subject: t202/SNS-patched 68K compiler bug
From: "Ronald L. Sluiter" <[email protected]>
To: EPICS <[email protected]>
Date: Tue, 18 Oct 2005 13:01:39 -0500
FYI,

There is a compiler error in the t202/SNS-patched compiler
(cross-gcc-2.7.2-patched.tar.gz) for 68K target architectures.

This error is exhibited when invoking MPF's R1-10
tcpMessageRouterServerStart() function from a st.cmd file.

Under these conditions (i.e.,
- t202/SNS-patched compiler
- 68040 target architecture
- MPF R1-10
tcpMessageRouterServerStart() starts the "TcpClient" task
instead of the "TcpServer" task.

This compiler error has to do with how the "bool" variable,
"isServer" is allocated in tcpMessageRouterServerStart()
(byte or word) and passed from the C++ creator Tcp::Tcp()
to the TcpPrivate creator TcpPrivate::TcpPrivate().

The fix here at APS was to recompile RMRServer.cc and Tcp.cc
in mfpApp/kernelSrc using WRS's compiler.

Ron Sluiter





Navigate by Date:
Prev: Base3.14.7 compile under Intel Xscale processor Kiman Ha
Next: Re: 64-bit EPICS anyone? Brian McAllister
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Base3.14.7 compile under Intel Xscale processor Kiman Ha
Next: RE: t202/SNS-patched 68K compiler bug Thompson, David H.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024