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  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: "Size of symbol changed" warnings building EPICS Base 3.14.12.2
From: "J. Lewis Muir" <jlmuir@imca-cat.org>
To: Dirk Zimoch <dirk.zimoch@psi.ch>
Cc: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Wed, 07 Mar 2012 10:02:38 -0600
On 3/7/12 2:50 AM, Dirk Zimoch wrote:
> Hi Lewis,
> 
> Can it be that you did not do a "make clean" when you changed
> the optimization level?
> 
> I am speculating a bit now:
> 
> These two functions,
> epicsSingleton<localHostName>::reference::~reference(void) and
> epicsSingleton<localHostName>::reference::operator->(void) both
> contain 'assert' (see src/libCom/cxxTemplates/epicsSingleton.h).
> 
> 'assert' is a macro:
> #   define assert(exp) ((exp) ? (void)0 : \
>         epicsAssert(__FILE__, __LINE__, #exp, epicsAssertAuthor))
> 
> Depending on the optimization level, '(void)0' may be eliminated
> and the code becomes shorter (by 4 bytes = 1 PPC instruction).
> 
> Try to 'make clean' in the epics base top directory and compile
> again.

Hi, Dirk.

Thanks for the suggestion.  I'm pretty sure I did a "make
clean", but I tried again just now to be sure, and the problem
still remains. :-(

Thanks,

Lewis

Replies:
Re: "Size of symbol changed" warnings building EPICS Base 3.14.12.2 Andrew Johnson
References:
"Size of symbol changed" warnings building EPICS Base 3.14.12.2 J. Lewis Muir
Re: "Size of symbol changed" warnings building EPICS Base 3.14.12.2 J. Lewis Muir
Re: "Size of symbol changed" warnings building EPICS Base 3.14.12.2 Dirk Zimoch

Navigate by Date:
Prev: Re: References about EPICS Matthias Clausen
Next: motor module R6-7-1 released Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: "Size of symbol changed" warnings building EPICS Base 3.14.12.2 Dirk Zimoch
Next: Re: "Size of symbol changed" warnings building EPICS Base 3.14.12.2 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·