The full options are:
/afs/psi.ch/project/vxworks/VxWorks6.9/gnu/4.3.3-vxworks-6.9/x86-linux2/bin/ccppc -isystem /afs/psi.ch/project/vxworks/VxWorks6.9/vxworks-6.9/target/h -DCPU=PPC604 -DvxWorks=vxWorks -include /afs/psi.ch/project/vxworks/VxWorks6.9/vxworks-6.9/target/h/vxWorks.h -DBUILDING_libCom_API -O2 -Wall -mcpu=604 -mstrict-align -fno-implicit-fp -mlongcall -fno-builtin -fno-strict-aliasing -I. -I../O.Common -I. -I../osi/compiler/gcc -I../osi/compiler/default -I. -I../osi/os/vxWorks -I../osi/os/posix -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex -I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I/usr/local/epics/base-7.0.4.1/include/compiler/gcc -I/usr/local/epics/base-7.0.4.1/include/os/vxWorks -I/usr/local/epics/base-7.0.4.1/include -I/afs/psi.ch/project/vxworks/VxWorks6.9/vxworks-6.9/target/h -I/afs/psi.ch/project/vxworks/VxWorks6.9/vxworks-6.9/target/h/wrn/coreip -c ../fdmgr/fdmgr.cpp
> -----Ursprüngliche Nachricht-----
> Von: Michael Davidsaver <mdavidsaver at gmail.com>
> Gesendet: Mittwoch, 3. Juni 2020 18:39
> An: Zimoch Dirk (PSI) <dirk.zimoch at psi.ch>
> Cc: 'core-talk at aps.anl.gov' <core-talk at aps.anl.gov>
> Betreff: Re: AW: EPICS 7 and VxWorks 6.9 for PPC604?
>
> I should have also asked. Can you show all of the arguments being passed to
> gcc?
>
> >> It's gcc 4.3.3.
>
> RTEMS 4.9.6 has gcc 4.3.2 which works for the PPC targets I'm aware of.
> Both soft and hard float.
>
>
> On 6/3/20 8:31 AM, Zimoch Dirk (PSI) wrote:
> > I will try the selective -fno-inline ...
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: Zimoch Dirk (PSI)
> >> Gesendet: Mittwoch, 3. Juni 2020 17:30
> >> An: 'Michael Davidsaver' <mdavidsaver at gmail.com>; 'core-
> talk at aps.anl.gov'
> >> <core-talk at aps.anl.gov>
> >> Betreff: AW: EPICS 7 and VxWorks 6.9 for PPC604?
> >>
> >> It's gcc 4.3.3.
> >>
> >> Using -O0 (as used to fix bug 1702298) in helps for fdmgr.cpp but not for
> >> typeCast.h.
> >>
> >>> -----Ursprüngliche Nachricht-----
> >>> Von: Michael Davidsaver <mdavidsaver at gmail.com>
> >>> Gesendet: Mittwoch, 3. Juni 2020 17:13
> >>> An: Zimoch Dirk (PSI) <dirk.zimoch at psi.ch>; 'core-talk at aps.anl.gov' <core-
> >>> talk at aps.anl.gov>
> >>> Betreff: Re: EPICS 7 and VxWorks 6.9 for PPC604?
> >>>
> >>> For those of us who aren't so familiar with vxworks, which GCC version(s)
> are
> >>> involved.
> >>>
> >>> You may remember https://bugs.launchpad.net/epics-base/+bug/1702298
> >>>
> >>>
> >>> On 6/3/20 8:04 AM, Zimoch Dirk (PSI) via Core-talk 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
> >>>>
> >
- References:
- EPICS 7 and VxWorks 6.9 for PPC604? Zimoch Dirk (PSI) via Core-talk
- Re: EPICS 7 and VxWorks 6.9 for PPC604? Michael Davidsaver via Core-talk
- AW: EPICS 7 and VxWorks 6.9 for PPC604? Zimoch Dirk (PSI) via Core-talk
- AW: EPICS 7 and VxWorks 6.9 for PPC604? Zimoch Dirk (PSI) via Core-talk
- Re: AW: EPICS 7 and VxWorks 6.9 for PPC604? Michael Davidsaver via Core-talk
- Navigate by Date:
- Prev:
Re: AW: EPICS 7 and VxWorks 6.9 for PPC604? Michael Davidsaver via Core-talk
- Next:
Re: EPICS 7 and VxWorks 6.9 for PPC604? Johnson, Andrew N. via Core-talk
- Index:
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:
Re: AW: EPICS 7 and VxWorks 6.9 for PPC604? Michael Davidsaver via Core-talk
- Next:
Re: AW: EPICS 7 and VxWorks 6.9 for PPC604? Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|