EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: compiler bug in unpatched Solaris C++ 5.0
From: Rozelle Wright <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Tue, 21 Mar 2000 18:05:28 -0700 (MST)
Last night Jeff and I discovered a compiler bug  in the version of
Solaris C++ 5.0 that we had installed here.  The compiler had all the 
files in /opt/SUNWspro/SC5.0/bin dated Dec. 15, 1998. and reported it's version as:
CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0


I found the problem when I tried to delete clients of a portable channel access
server  and succeeded in causing the server itself to exit with various
messages suggesting that I contact Jeff Hill about internal errors in
the channel access server.  Jeff then traced the problem down to an error
in the code generated for an inline constructor. 
The object code was not initializing the object to an argument passed in
as the source code specified.  The problem only occurred when 
epics was compiled with optimization on.

This morning I tried compiling the same version of epics
 on one of the solaris machines at Argonne which had a compiler 
 which also reported:
 CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0
 but had several newer files in /opt/SUNWspro/SC5.0/bin
 dating to January 11th of this year and a few in May and September of 1999. 
 The problem did not occur when EPICS was compiled with this "patched" version
 of the compiler. Our system manager installed the compiler patches here 
 this afternoon, so we no longer have this problem.  
   
 This message is to warn other people who might be using the unpatched version  
 of this compiler.
 
   
 Rozelle Wright
 [email protected]
 



Replies:
Re: compiler bug in unpatched Solaris C++ 5.0, Visual C++ Kay Kasemir

Navigate by Date:
Prev: Problems with loadgif in edd/dm version 2.4 Noel Giffin
Next: RE: CA question (caRepeater) Ralph . Lange
Index: 1994  1995  1996  1997  1998  1999  <20002001  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: Problems with loadgif in edd/dm version 2.4 Noel Giffin
Next: Re: compiler bug in unpatched Solaris C++ 5.0, Visual C++ Kay Kasemir
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  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 ·