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: "Liu, Gongfa" <[email protected]>
To: EPICS core-talk <[email protected]>
Date: Mon, 19 Nov 2007 17:24:24 +0100
Andrew Johnson wrote:
Andrew Johnson wrote:
**************
Modified
**************

# source files
(5) base-3.14.9/src/iocsh/iocsh.cpp
    Change the definition of varArgs[2] in function
    iocshRegisterVariable because there is compiling error with
    tornado 2.2.1.This solution is from TRIUMF.

I was not aware of this problem, which I have never seen myself. I assume that there is a newer version of the compiler available from Wind
River that I have installed here at APS which solves the issue, and as
a result I'm very reluctant to include this fix (which is not directly related to the redundancy hooks that I'm discussing here).

Eric and I can't understand why this problem is not more widespread in Base, since the same construct is used in many other places. If someone else can demonstrate the problem and post the compiler error I will reconsider.

- Andrew

Hi, Andrew,

The following is the email copied from [email protected]. The compiler error is same in our case. Maybe this compiler error can be ignored here since it is not related to the redundancy patch.

> -----Original Message-----
> From: Graham Waters [mailto:[email protected]]
> Sent: Monday, January 05, 2004 5:52 PM
> To: [email protected]
> Subject: EPICS R3.14.4 for vxWorks-pentium
>
> Hi Folks
>
> I get the following compiler error while building R3.14.4 for a pentium
> target (vxWorks-pentium)
>
> Entering directory
> `/space/usr1/local/epics/release/R3.14.4/base/src/iocsh/O.vxWorks-
> pentium'
>
> /usr2/tornado/release/2.2.1/x86/host/sun4-solaris2/bin/ccpentium -c
> -D_POSIX_SOURCE       -DCPU=PENTIUM -D_X86_   -DvxWorks -include
> /usr2/tornado/release/2.2.1/x86/target/h/vxWorks.h  -ansi  -O3  -Wall
>    -mpentium -fno-defer-pop -x 'c++'  -fno-implicit-templates
> -fno-builtin  -I. -I.. -I../../../include/os/vxWorks -I../../../include
>        -I/usr2/tornado/release/2.2.1/x86/target/h  ../iocsh.cpp
> ..../iocsh.cpp: In function `void iocshRegisterVariable (const
> iocshVarDef
> *)':
> ..../iocsh.cpp:133: Internal compiler error in `expand_expr', at
> expr.c:5996
>
> gmake[1]: *** [iocsh.o] Error 1
>
> This error does not occur for vxWorks-68040 or solaris-sparc-gnu targets
>
> I am using T2.2.1, gnu pentium cross-compiler v2.96 for solaris.
>
> Thanks
> Graham.

Bernd Schoeneburg and Gongfa Liu
--
----------------------------------------------------------
Gongfa Liu                         MKS-2, DESY
phone:  +49-40-8998-1642           Notkestr. 85
fax:    +49-40-8998-4388           22607 Hamburg
e-mail: [email protected]         Germany
----------------------------------------------------------

Replies:
Re: Redundancy Patch: iocsh Andrew Johnson
References:
Redundancy Patch: iocsh Andrew Johnson
Re: Redundancy Patch: iocsh Andrew Johnson

Navigate by Date:
Prev: Re: Redundancy Patch: configure Liu, Gongfa
Next: Re: Redundancy Patch: makeBaseApp 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 
Navigate by Thread:
Prev: Re: Redundancy Patch: iocsh Andrew Johnson
Next: Re: Redundancy Patch: iocsh Andrew Johnson
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 ·