EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Redundancy Patch: iocsh
From: Andrew Johnson <[email protected]>
To: "Liu, Gongfa" <[email protected]>
Cc: EPICS core-talk <[email protected]>
Date: Mon, 19 Nov 2007 12:19:34 -0600
Hi Gongfa,

Liu, Gongfa wrote:

Thank you for quick response. I compile the base with your patch just now. But the error messages are same, the details see below.

/u1/wind/2.2.1_Pentium/host/sun4-solaris2/bin/ccpentium -c -DCPU=PENTIUM -D_X86_ -DvxWorks -include /u1/wind/2.2.1_Pentium/target/h/vxWorks.h -ansi -O2 -Wall -mpentium -fno-defer-pop -x 'c++' -fno-implicit-templates -fno-builtin -I. -I.. -I../../../include/os/vxWorks -I../../../include -I/u1/wind/2.2.1_Pentium/target/h ../iocsh.cpp ../iocsh.cpp: In function `void iocshRegisterVariable (const iocshVarDef *)':
../iocsh.cpp:158: Internal compiler error in `expand_expr', at expr.c:5996

Please post line 158 of that patched iocsh.cpp file so I can be sure what line that the compiler is complaining about in that message.

There are many other places in Base where that exact same code construct is used (although the others may all be in C rather than C++ source) — we're trying to understand why the error is only occurring here.

Wind River have released a number of patches to their GNU compilers since Tornado 2.2.1 came out, and I wonder whether they've released one that solves this problem.

- Andrew
--
When a distinguished but elderly scientist states that something is
possible, he is almost certainly right.  When he states that something
is impossible, he is very probably wrong.  -- Arthur C. Clarke

Replies:
Re: Redundancy Patch: iocsh Liu, Gongfa
References:
Redundancy Patch: iocsh Andrew Johnson
Re: Redundancy Patch: iocsh Andrew Johnson
Re: Redundancy Patch: iocsh Liu, Gongfa
Re: Redundancy Patch: iocsh Andrew Johnson
Re: Redundancy Patch: iocsh Liu, Gongfa

Navigate by Date:
Prev: Re: Redundancy Patch: iocsh Liu, Gongfa
Next: RE: Redundancy Patch: rsrv Jeff Hill
Index: 2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Redundancy Patch: iocsh Liu, Gongfa
Next: Re: Redundancy Patch: iocsh Liu, Gongfa
Index: 2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·