Hi Andrew,
I sometimes have a problem with eflex crashing when building with parallel make on Visual Studio 2015. This is without HOST_OPT=NO to avoid the problem I reported a few
minutes ago.
ntutilsTest.cpp
H:/epics-devel/base-7.0.1/include\pv/pvData.h(534): warning C4800: 'char': forcing value to bool 'true' or 'false' (performance warning)
H:/epics-devel/base-7.0.1/include\pv/pvData.h(534): warning C4800: 'char': forcing value to bool 'true' or 'false' (performance warning)
H:/epics-devel/base-7.0.1/include\pv/pvData.h(583): warning C4250: 'epics::pvData::PVString': inherits 'epics::pvData::PVScalarValue<std::string>::epics::pvData::PVScalarValue<std:
:string>::deserialize' via dominance
H:/epics-devel/base-7.0.1/include\pv/pvData.h(583): warning C4250: 'epics::pvData::PVString': inherits 'epics::pvData::PVScalarValue<std::string>::epics::pvData::PVScalarValue<std:
:string>::deserialize' via dominanceH:/epics-devel/base-7.0.1/include\pv/pvData.h(488): note: see declaration of 'epics::pvData::PVScalarValue<std::string>::deserialize'
H:/epics-devel/base-7.0.1/include\pv/pvData.h(488): note: see declaration of 'epics::pvData::PVScalarValue<std::string>::deserialize'
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
H:/epics-devel/base-7.0.1/bin/windows-x64-static-vs2015/e_flex.exe: fatal internal error, error occurred when closing skeleton file
Windows pops up dialog boxes with error as shown in the attachment.
When I opened the Visual Studio debugger it reported that the error in eflex was a stack overflow.
Note that running make again to pick up where it left off does not fix the problem
\epics-devel\base-7.0.1>make -sj8
LoadTemplate.c
line_notify.c
rvIocRegister.c
/../../src/ioc/dbtemplate/dbLoadTemplate_lex.l(310): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data
/../../src/ioc/dbStatic/dbLex.l(48): error C2065: 'tokenINCLUDE': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(49): error C2065: 'tokenPATH': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(50): error C2065: 'tokenADDPATH': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(51): error C2065: 'tokenMENU': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(52): error C2065: 'tokenCHOICE': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(53): error C2065: 'tokenRECORDTYPE': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(54): error C2065: 'tokenFIELD': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(55): error C2065: 'tokenDEVICE': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(56): error C2065: 'tokenDRIVER': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(57): error C2065: 'tokenLINK': undeclared identifier
/../../src/ioc/dbStatic/dbLex.l(58): error C2065: 'tokenBREAKTABLE': undeclared identifier
I had to go into modules/database/src/ioc, run make clean there, and then go back to the top and run make –sj8 again (without running make clean first). The second time
eflex did not crash.
Thanks,
Mark