Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <2020 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <2020
<== Date ==> <== Thread ==>

Subject: AW: EPICS 7 and VxWorks 6.9 for PPC604?
From: "Zimoch Dirk \(PSI\) via Core-talk" <core-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Wed, 3 Jun 2020 17:10:26 +0000

I will try tomorrow.

 

Von: Johnson, Andrew N. <anj at anl.gov>
Gesendet: Mittwoch, 3. Juni 2020 19:10
An: Zimoch Dirk (PSI) <dirk.zimoch at psi.ch>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Betreff: Re: EPICS 7 and VxWorks 6.9 for PPC604?

 

Hi Dirk,

 

Are you also building for the generic vxWorks-ppc32 and -ppc32sf targets? We use that now on all our PowerPC boards instead of the CPU-specific targets, so I haven’t built the other vxWorks-ppc* targets for quite a few years now. I would recommend that you do the same if you can, we run mv2100, mv2700, mv5100 and mv6100 boards on -ppc32 and mv3100 boards on the -ppc32sf target.

 

- Andrew

 



On Jun 3, 2020, at 10:04 AM, Zimoch Dirk (PSI) via Core-talk <core-talk at aps.anl.gov> wrote:

 

Has anyone already compiled EPICS 7 for VxWorks 6.9 for PPC604?
I have problems:

With -O2 it fails here:

../fdmgr/fdmgr.cpp: In member function 'virtual epicsTimerNotify::expireStatus timerForOldFdmgr::expire(const epicsTime&)':
../fdmgr/fdmgr.cpp:152: error: unable to find a register to spill in class 'FLOAT_REGS'
../fdmgr/fdmgr.cpp:152: error: this is the insn:
(insn:HI 16 15 17 2 ../fdmgr/fdmgr.cpp:151 (set (reg:DF 126 [ D.11913.delay ])
       (mem/s/j/c:DF (plus:SI (reg/f:SI 113 sfp)
               (const_int 8 [0x8])) [0 D.11913.delay+0 S8 A64])) 336 {*movdf_hardfloat32} (expr_list:REG_EQUIV (mem/s/j/c:DF (plus:SI (reg/f:SI 113 sfp)
               (const_int 8 [0x8])) [0 D.11913.delay+0 S8 A64])
       (nil)))
../fdmgr/fdmgr.cpp:152: confused by earlier errors, bailing out

With -O1 (or lower) it comliles the above but then fails here:

../../src/misc/pv/typeCast.h: In function 'void<unnamed>::castVTyped(size_t, void*, const void*) [with TO = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, FROM = float]':
../../src/misc/pv/typeCast.h:195: sorry, unimplemented: inlining failed in call to 'TO epics::pvData::castUnsafe(const FROM&) [with TO = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, FROM = float]': recursive inlining
../../src/misc/typeCast.cpp:38: sorry, unimplemented: called from here

At least the compiler is "sorry".  I feel much better.

BTW: VxWorks 6.7 has no such problems.

Dirk

 

-- 

Complexity comes for free, simplicity you have to work for.

 


References:
EPICS 7 and VxWorks 6.9 for PPC604? Zimoch Dirk (PSI) via Core-talk
Re: EPICS 7 and VxWorks 6.9 for PPC604? Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: EPICS 7 and VxWorks 6.9 for PPC604? Johnson, Andrew N. via Core-talk
Next: AW: AW: EPICS 7 and VxWorks 6.9 for PPC604? Zimoch Dirk (PSI) via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <2020
Navigate by Thread:
Prev: Re: EPICS 7 and VxWorks 6.9 for PPC604? Johnson, Andrew N. via Core-talk
Next: Problem booting vxWorks with base 7.0.4 Mark Rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <2020
ANJ, 03 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·