EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Latest R3.14 branch: build problem with vxWorks 6.8
From: "Ernest L. Williams Jr." <[email protected]>
To: Jeff Hill <[email protected]>
Cc: "'EPICS core-talk'" <[email protected]>
Date: Wed, 01 Sep 2010 21:34:41 -0700
Hi Jeff,

This problem is definitely interesting. Since, this no longer occurs under EPICS R3.14.11
What has changed on your end in R3.14 branch?

By the way it also breaks for vxWorks 6.6 as well.

So, maybe you can reproduce on your end.

/afs/slac/package/vxworks/devel/6.6/gnu/4.1.2-vxworks-6.6/x86-linux2/bin/ccppc -c -DCPU=PPC604 -DvxWorks -include /afs/slac/package/vxworks/devel/6.6/vxworks-6.6/target/h/vxWorks.h -O2 -Wall -mcpu=604 -mstrict-align -fno-implicit-fp -mlongcall -fno-builtin -MMD -I. -I../O.Common -I. -I.. -I../../../../src/cas/generic -I../../../../src/cas/io/bsdSocket -I../../../../src/cas/generic/st -I../../../../src/cas/../ca -I../../../../include/os/vxWorks -I../../../../include -I/afs/slac/package/vxworks/devel/6.6/vxworks-6.6/target/h -I/afs/slac/package/vxworks/devel/6.6/vxworks-6.6/target/h/wrn/coreip ../../../../src/cas/generic/st/casStreamOS.cc ../../../../src/cas/generic/st/casStreamOS.cc: In member function 'virtual epicsTimerNotify::expireStatus casStreamIOWakeup::expire(const epicsTime&)': ../../../../src/cas/generic/st/casStreamOS.cc:283: error: unable to find a register to spill in class 'FLOAT_REGS'
../../../../src/cas/generic/st/casStreamOS.cc:283: error: this is the insn:
(insn:HI 489 488 667 47 (set (reg:DF 120 [ SR$1349 ])
       (mem/s/c:DF (plus:SI (reg/f:SI 113 sfp)
(const_int 16 [0x10])) [66 D.20683.delay+0 S8 A128])) 301 {*movdf_hardfloat32} (insn_list:REG_DEP_ANTI 488 (nil))
   (nil))
../../../../src/cas/generic/st/casStreamOS.cc:283: confused by earlier errors, bailing out
make[4]: *** [casStreamOS.o] Error 1
make[4]: Leaving directory `/afs/slac.stanford.edu/g/lcls/vol8/epics/base/base-R3-14-12/src/cas/build/O.vxWorks-ppc604_long'
make[3]: *** [install.vxWorks-ppc604_long] Error 2
make[3]: Leaving directory `/afs/slac.stanford.edu/g/lcls/vol8/epics/base/base-R3-14-12/src/cas/build'
make[2]: *** [build.install] Error 2
make[2]: Leaving directory `/afs/slac.stanford.edu/g/lcls/vol8/epics/base/base-R3-14-12/src/cas'
make[1]: *** [cas.install] Error 2
make[1]: Leaving directory `/afs/slac.stanford.edu/g/lcls/vol8/epics/base/base-R3-14-12/src'
make: *** [src.install] Error 2



Jeff Hill wrote:
Ernest,

One has to wonder if WRS runs the regression tests on
their vxWorks variants of the GNU compilers.

If this keeps causing problems then perhaps we should push the toothpaste in the tube at that spot in the source code where the compiler has troubles.

I checked with Eric and we don’t have vxWorks 6.8 installed here
but Eric mentioned that he was fairly certain that they might
have it installed at the APS, and if so perhaps I could
log in up there and have a look at the issue.

I wonder if the APS has seen this issue since they maybe have vxWorks 6.8 there? Does the problem occur when the vxWorks
6.8 gnu compiler isn't patched?

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


-----Original Message-----
From: [email protected] [mailto:[email protected]]
On
Behalf Of Ernest L. Williams Jr.
Sent: Tuesday, August 31, 2010 9:09 PM
To: Ernest L. Williams Jr.
Cc: EPICS core-talk
Subject: Re: Latest R3.14 branch: build problem with vxWorks 6.8

Hi,

I applied the following patch from WindRiver:


NAME:GNU 4.1.2 Cumulative Patch for VxWorks 6.7 AND 6.8
(PowerPC)SUMMARY:Latest GNU 4.1.2 Cumulative Patch for VxWorks 6.7 and
6.8 (PowerPC)PRODUCT VERSION:GNU Tools 4.1.2TYPE:PatchDOWNLOADS:1.
cum.vxw6-4.1.2-ppc.2010aug12.zip

<https://support.windriver.com/olsPortal/download?docId=35427&contentId=0210
02
_0001>DESCRIPTION:


I also recall an earlier patch.
So, something is different as I am not getting this problem on EPICS
R3.14.11

Thanks,
Ernest





Ernest L. Williams Jr. wrote:
Hi,

Latest snapshot of EPICS R3.14.12 does not compile under vxWorks 6.8
on the following target: vxWorks-ppc604

I think Jeff and I have already seen this compiler bug in vxWorks 6.6.
I will confirm that WRS has a compiler patch upstream


/usr/local/lcls/vxWorks/6.8/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ccppc
-c            -DCPU=PPC604  -DvxWorks
 -include /usr/local/lcls/vxWorks/6.8/vxworks-6.8/target/h/vxWorks.h
-O2   -Wall     -mcpu=604 -mstrict-a           lign -fno-implicit-fp
-mlongcall    -fno-builtin  -MMD -I. -I../O.Common -I. -I..
-I../../../../src/cas/gene           ric
-I../../../../src/cas/io/bsdSocket -I../../../../src/cas/generic/st
-I../../../../src/cas/../ca -I../../           ../../include/os/vxWorks
-I../../../../include
-I/usr/local/lcls/vxWorks/6.8/vxworks-6.8/target/h -I/u
sr/local/lcls/vxWorks/6.8/vxworks-6.8/target/h/wrn/coreip
../../../../src/cas/generic/st/casStreamOS.cc
../../../../src/cas/generic/st/casStreamOS.cc: In member function
'virtual epicsTimerNotify::expireStatus ca
sStreamIOWakeup::expire(const epicsTime&)':
../../../../src/cas/generic/st/casStreamOS.cc:283: error: unable to find
a register to spill in class 'FLOAT           _REGS'
../../../../src/cas/generic/st/casStreamOS.cc:283: error: this is the
insn:
(insn:HI 489 488 603 42 (set (reg:DF 120 [ SR$1349 ])
        (mem/s/c:DF (plus:SI (reg/f:SI 113 sfp)
                (const_int 16 [0x10])) [66 D.21287.delay+0 S8 A128]))
301 {*movdf_hardfloat32} (insn_list:RE           G_DEP_ANTI 488 (nil))
    (nil))
../../../../src/cas/generic/st/casStreamOS.cc:283: confused by earlier
errors, bailing out
make[4]: *** [casStreamOS.o] Error 1
make[4]: Leaving directory
`/usr/local/lcls/epics/base/base-R3-14-12/src/cas/build/O.vxWorks-
ppc604_long'
make[3]: *** [install.vxWorks-ppc604_long] Error 2
make[3]: Leaving directory
`/usr/local/lcls/epics/base/base-R3-14-12/src/cas/build'
make[2]: *** [build.install] Error 2
make[2]: Leaving directory
`/usr/local/lcls/epics/base/base-R3-14-12/src/cas'
make[1]: *** [cas.install] Error 2
make[1]: Leaving directory
`/usr/local/lcls/epics/base/base-R3-14-12/src'
Cheers,
Ernest








References:
Latest R3.14 branch: build problem with vxWorks 6.8 Ernest L. Williams Jr.
Re: Latest R3.14 branch: build problem with vxWorks 6.8 Ernest L. Williams Jr.
RE: Latest R3.14 branch: build problem with vxWorks 6.8 Jeff Hill

Navigate by Date:
Prev: RE: Latest R3.14 branch: build problem with vxWorks 6.8 Jeff Hill
Next: Re: Latest R3.14 branch: build problem with vxWorks 6.8 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Latest R3.14 branch: build problem with vxWorks 6.8 Jeff Hill
Next: Re: Latest R3.14 branch: build problem with vxWorks 6.8 Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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 ·