Experimental Physics and Industrial Control System
Subject: |
EPICS Base 3.14.12.5 build failure for VxWorks 6.9.4 ppc604 with -O2 optimization |
From: |
"J. Lewis Muir" <[email protected]> |
To: |
EPICS Tech-Talk <[email protected]> |
Date: |
Tue, 3 Nov 2015 16:49:53 -0600 |
Hello, Tech-Talkers!
EPICS Base 3.14.12.15 (+ Known Problems patches) fails to build
fdmgr.cpp for ppc604 with the -O2 optimization flag using VxWorks 6.9.4,
Workbench 3.3, and Utilities 1.0. If I change the optimization flag to
-O1, the build succeeds.
The error is:
---8<---
/opt/aps-vw-vxworks-6.9.4/gnu/4.3.3-vxworks-6.9.4/x86-linux2/bin/ccppc -c -DCPU=PPC604 -DvxWorks=vxWorks -include /opt/aps-vw-vxworks-6.9.4/vxworks-6.9.4/target/h/vxWorks.h -O2 -Wall -mcpu=604 -mstrict-align -fno-implicit-fp -fno-builtin -MMD -I. -I../O.Common -I. -I../../../src/libCom/osi/os/vxWorks -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../.!
./../src/libCom/tsDefs -I../../../include/os/vxWorks -I../../../include -I/opt/aps-vw-vxworks-6.9.4/vxworks-6.9.4/target/h -I/opt/aps-vw-vxworks-6.9.4/vxworks-6.9.4/target/h/wrn/coreip ../../../src/libCom/fdmgr/fdmgr.cpp
../../../src/libCom/fdmgr/fdmgr.cpp: In member function 'virtual epicsTimerNotify::expireStatus timerForOldFdmgr::expire(const epicsTime&)':
../../../src/libCom/fdmgr/fdmgr.cpp:154: error: unable to find a register to spill in class 'FLOAT_REGS'
../../../src/libCom/fdmgr/fdmgr.cpp:154: error: this is the insn:
(insn:HI 14 13 15 2 ../../../src/libCom/fdmgr/fdmgr.cpp:153 (set (reg:DF 124 [ D.11749.delay ])
(mem/s/c:DF (plus:SI (reg/f:SI 113 sfp)
(const_int 8 [0x8])) [15 D.11749.delay+0 S8 A64])) 336 {*movdf_hardfloat32} (expr_list:REG_EQUIV (mem/s/c:DF (plus:SI (reg/f:SI 113 sfp)
(const_int 8 [0x8])) [15 D.11749.delay+0 S8 A64])
(nil)))
../../../src/libCom/fdmgr/fdmgr.cpp:154: confused by earlier errors, bailing out
make[3]: *** [fdmgr.o] Error 1
make[3]: Leaving directory `/tmp/jlmuir/epics-3.14.12.5/src/libCom/O.vxWorks-ppc604'
make[2]: *** [install.vxWorks-ppc604] Error 2
make[2]: Leaving directory `/tmp/jlmuir/epics-3.14.12.5/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/tmp/jlmuir/epics-3.14.12.5/src'
make: *** [src.install] Error 2
--->8---
Ideas?
Thanks!
Lewis
- Replies:
- Re: EPICS Base 3.14.12.5 build failure for VxWorks 6.9.4 ppc604 with -O2 optimization Andrew Johnson
- Navigate by Date:
- Prev:
BEAST support for automatic phone call and mobile call? Shen, Guobao
- Next:
Re: EPICS Base 3.14.12.5 build failure for VxWorks 6.9.4 ppc604 with -O2 optimization Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
BEAST support for automatic phone call and mobile call? Shen, Guobao
- Next:
Re: EPICS Base 3.14.12.5 build failure for VxWorks 6.9.4 ppc604 with -O2 optimization Andrew Johnson
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024