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  <20112012  2013  2014  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EPICS on OS X Lion -- C++ problem
From: "Jeff Hill" <[email protected]>
To: "'Andrew Johnson'" <[email protected]>, <[email protected]>
Cc: "'Eric Norum'" <[email protected]>
Date: Tue, 26 Jul 2011 16:28:24 -0600
> > error: generic thunk code
> > fails for method 'virtual int
> > udpiiu::printFormated(epicsGuard<epicsMutex>&, const char*, ...)' which
> > uses '...'

Committed a workaround (avoiding MI) to the R3.14 branch. Hopefully this is
a sufficient fix as I cant reproduce the issue here.

https://bugs.launchpad.net/epics-base/+bug/816678

Jeff
______________________________________________________
Jeffrey O. Hill           Email        [email protected]
LANL MS H820              Voice        505 665 1831
Los Alamos NM 87545 USA   FAX          505 665 5107

Message content: TSPA

With sufficient thrust, pigs fly just fine. However, this is
not necessarily a good idea. It is hard to be sure where they
are going to land, and it could be dangerous sitting under them
as they fly overhead. -- RFC 1925


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Andrew Johnson
> Sent: Tuesday, July 26, 2011 3:40 PM
> To: [email protected]
> Cc: Eric Norum
> Subject: Re: EPICS on OS X Lion -- C++ problem
> 
> Hi Eric,
> 
> On Monday, July 25, 2011 12:54:28 Eric Norum wrote:
> > Downloaded and installed OS X Lion and the latest version of Xcode on my
> > laptop machine.  Attempting to build EPICS results in:
> > /usr/bin/c++ -c -DUNIX  -Ddarwin     -O3 -g   -Wall      -arch i386
> > -fno-common -fPIC -MMD -I. -I../O.Common -I. -I..
> > -I../../../include/os/Darwin -I../../../include       -
> I/opt/local/include
> > -I/sw/include  ../udpiiu.cpp ../udpiiu.cpp:1391: error: generic thunk
> code
> > fails for method 'virtual int
> > udpiiu::printFormated(epicsGuard<epicsMutex>&, const char*, ...)' which
> > uses '...'
> 
> We've seen this twice now at APS with GCC 4.1.2 built for both the Xilinx
> and
> Altera FPGA-based CPUs.  I managed to narrow the code down to to one
> simple
> file, attached here, which contains valid C++ code but is using some
> rather
> unusual combination of operations (mixing the use of ... with double
> inheritance) that requires some thunking code that is often not developed
> for
> new CPUs.  It's basically that whoever wrote the CPU support didn't finish
> the
> job, and EPICS is the first code to notice.
> 
> - Andrew (from England, on holiday)



References:
EPICS on OS X Lion -- C++ problem Eric Norum
Re: EPICS on OS X Lion -- C++ problem Andrew Johnson

Navigate by Date:
Prev: Re: EPICS on OS X Lion -- C++ problem Andrew Johnson
Next: EPICS Collaboration Meeting Fall 2011, Deadline Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS on OS X Lion -- C++ problem Andrew Johnson
Next: question regarding VxStats-1-7-2h (doesn't seem to measure CPU load properly) Jay Steele
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·