g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: RE: Base R3.14.12.3-pre1 available
From: <nick.rees@diamond.ac.uk>
To: <anj@aps.anl.gov>, <core-talk@aps.anl.gov>
Cc: Franck.DiMaio@iter.org
Date: Fri, 30 Nov 2012 18:35:11 +0000
Andrew,

I have just tried building R3.14.12.3-pre1 on Windows server 2008R2 and get the following error - and I am not enough of a C++ expert to unwind what is needed:

make[3]: Entering directory `D:/epics/R3.14.12.3/src/libCom/O.windows-x64'
"Installing generic include file ../../../include/epicsSingleton.h"
cl /nologo /EHsc /GR -c             /favor:blend   /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE   /Ox /GL   /W3 /w44355       /MT -DEPICS_DLL_NO /TP   -I. -I..\\O.Common -I. -I..\\..\\..\\src\\libCom\\osi\\os\\WIN32 -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\\WIN32 -I..\\..\\..\\include        ..\\..\\..\\src\\libCom\\cxxTemplates\\epicsOnce.cpp
epicsOnce.cpp
d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(105) : error C2143: syntax error : missing ';' before '&'
d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(105) : error C3858: 'epicsSingleton<TYPE>::reference': cannot be redeclared in current scope
        d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(49) : see declaration of 'epicsSingleton<TYPE>::reference'
d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(106) : error C2065: 'TYPE' : undeclared identifier
d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(106) : error C2955: 'epicsSingleton' : use of class template requires template argument list
        d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(47) : see declaration of 'epicsSingleton'
d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(108) : error C2509: '=' : member function not declared in 'epicsSingleton<TYPE>::reference'
        d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(49) : see declaration of 'epicsSingleton<TYPE>::reference'
d:\epics\r3.14.12.3\src\libcom\cxxtemplates\epicsSingleton.h(202) : fatal error C1903: unable to recover from previous error(s); stopping compilation
make[3]: *** [epicsOnce.obj] Error 2
make[3]: Leaving directory `D:/epics/R3.14.12.3/src/libCom/O.windows-x64'
make[2]: *** [install.windows-x64] Error 2
make[2]: Leaving directory `D:/epics/R3.14.12.3/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `D:/epics/R3.14.12.3/src'
make: *** [src.install] Error 2

The compiler is:
D:\epics\R3.14.12.3>cl
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

I also tried building on RHEL6, linux-x86_64. This worked. The test output is:

[npr78@pc0018 test]$ make runtests
make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. T_A=linux-x86_64 runtests
make[1]: Entering directory `/scratch/npr78/epics/base-3.14.12.3-pre1/src/libCom/test/O.linux-x86_64'
perl -MTest::Harness -e 'runtests @ARGV if @ARGV;' epicsUnitTestTest.t epicsCalcTest.t epicsAlgorithmTest.t epicsMathTest.t epicsEllTest.t epicsErrlogTest.t epicsStdioTest.t epicsStringTest.t epicsTimeTest.t epicsThreadTest.t epicsThreadOnceTest.t epicsThreadPriorityTest.t epicsThreadPrivateTest.t epicsExitTest.t epicsTimerTest.t ringPointerTest.t ringBytesTest.t epicsEventTest.t epicsMutexTest.t epicsExceptionTest.t macEnvExpandTest.t macLibTest.t taskwdTest.t blockingSockTest.t epicsMessageQueueTest.t
epicsUnitTestTest.t ........ ok   
epicsCalcTest.t ............ ok       
epicsAlgorithmTest.t ....... ok     
epicsMathTest.t ............ ok     
epicsEllTest.t ............. ok     
epicsErrlogTest.t .......... ok     
epicsStdioTest.t ........... ok       
epicsStringTest.t .......... ok       
epicsTimeTest.t ............ ok       
epicsThreadTest.t .......... ok   
epicsThreadOnceTest.t ...... 1/11 Recursive epicsThreadOnce() initialization
Thread recurse (0x1afbb60) can't proceed, suspending.
epicsThreadOnceTest.t ...... ok     
epicsThreadPriorityTest.t .. ok   
epicsThreadPrivateTest.t ... ok   
epicsExitTest.t ............ ok   
epicsTimerTest.t ........... ok     
ringPointerTest.t .......... ok     
ringBytesTest.t ............ ok       
epicsEventTest.t ........... ok     
epicsMutexTest.t ........... ok     
epicsExceptionTest.t ....... ok   
macEnvExpandTest.t ......... 1/71 macLib: macro FOO is undefined (expanding string ${FOO})
macLib: macro FOO is undefined (expanding string ${FOO,BAR})
macLib: macro FOO is undefined (expanding string ${FOO,BAR=baz})
macLib: macro FOO is undefined (expanding string ${FOO,BAR=$(FOO)})
macLib: macro FOO is undefined (expanding string ${FOO,FOO})
macLib: string ${FOO,FOO=$(FOO)} is recursive (expanding macro FOO)
macLib: macro FOO is undefined (expanding string ${FOO,BAR=baz,FUM})
macLib: macro BAZ is undefined (expanding string ${FOO})
macLib: string ${FOO} is recursive (expanding environment variable FOO)
macLib: string ${FOO,FOO=$(FOO)} is recursive (expanding environment variable FOO)
macEnvExpandTest.t ......... ok     
macLibTest.t ............... ok     
taskwdTest.t ............... 3/8 Thread testTask2 (0x15cc1f0) suspended
taskwdTest.t ............... ok   
blockingSockTest.t ......... ok   
epicsMessageQueueTest.t .... ok     
All tests successful.
Files=25, Tests=2006, 396 wallclock secs ( 0.48 usr  0.08 sys +  1.01 cusr  0.58 csys =  2.15 CPU)
Result: PASS
make[1]: Leaving directory `/scratch/npr78/epics/base-3.14.12.3-pre1/src/libCom/test/O.linux-x86_64'
make -C O.vxWorks-ppc604_long -f ../Makefile TOP=../../../.. T_A=vxWorks-ppc604_long runtests
make[1]: Entering directory `/scratch/npr78/epics/base-3.14.12.3-pre1/src/libCom/test/O.vxWorks-ppc604_long'
perl -MTest::Harness -e 'runtests @ARGV if @ARGV;' 
make[1]: Leaving directory `/scratch/npr78/epics/base-3.14.12.3-pre1/src/libCom/test/O.vxWorks-ppc604_long'

Is this what is expected? How many tests are meant to pass?

Finally, because I couldn't test R3.14.12.3, I tried to run make runtests on a fully patched version of R3.14.12.2 on Windows Server 2008R2 64 bit and got:

D:\epics\R3.14.12.2\base\src\libCom\test>make runtests
make -C O.windows-x64 -f ../Makefile TOP=../../../.. T_A=windows-x64 runtests
make[1]: Entering directory `D:/epics/R3.14.12.2/base/src/libCom/test/O.windows-x64'
perl -MTest::Harness -e 'runtests @ARGV if @ARGV;' epicsUnitTestTest.t epicsCalcTest.t epicsAlgorithmTest.t epicsMathTest.t epicsEllTest.t epicsErrlogTest.t epicsStdioTest.t epicsStringTest.t epicsTim
eTest.t epicsThreadTest.t epicsThreadOnceTest.t epicsThreadPriorityTest.t epicsThreadPrivateTest.t epicsExitTest.t epicsTimerTest.t ringPointerTest.t ringBytesTest.t epicsEventTest.t epicsMutexTest.t
epicsExceptionTest.t macEnvExpandTest.t macLibTest.t taskwdTest.t blockingSockTest.t epicsMessageQueueTest.t
epicsUnitTestTest.t ........ ok
epicsCalcTest.t ............ Failed 2/566 subtests
epicsAlgorithmTest.t ....... ok
epicsMathTest.t ............ Failed 6/35 subtests
epicsEllTest.t ............. ok
epicsErrlogTest.t .......... ok
epicsStdioTest.t ........... ok
epicsStringTest.t .......... ok
epicsTimeTest.t ............ ok
epicsThreadTest.t .......... ok
epicsThreadOnceTest.t ...... 1/11 Recursive epicsThreadOnce() initialization
Thread recurse (000000000044B580) can't proceed, suspending.
epicsThreadOnceTest.t ...... ok
epicsThreadPriorityTest.t .. ok
epicsThreadPrivateTest.t ... ok
epicsExitTest.t ............ ok
epicsTimerTest.t ........... ok
ringPointerTest.t .......... ok
ringBytesTest.t ............ ok
epicsEventTest.t ........... ok
epicsMutexTest.t ........... ok
epicsExceptionTest.t ....... ok
macEnvExpandTest.t ......... macLib: macro FOO is undefined (expanding string ${FOO})
macLib: macro FOO is undefined (expanding string ${FOO,BAR})
macLib: macro FOO is undefined (expanding string ${FOO,BAR=baz})
macEnvExpandTest.t ......... 1/71 macLib: macro FOO is undefined (expanding string ${FOO,BAR=$(FOO)})
macLib: macro FOO is undefined (expanding string ${FOO,FOO})
macLib: string ${FOO,FOO=$(FOO)} is recursive (expanding macro FOO)
macLib: macro FOO is undefined (expanding string ${FOO,BAR=baz,FUM})
macLib: macro BAZ is undefined (expanding string ${FOO})
macLib: string ${FOO} is recursive (expanding environment variable FOO)
macLib: string ${FOO,FOO=$(FOO)} is recursive (expanding environment variable FOO)
macLib: string ${FOO=$(FOO)} is recursive (expanding environment variable FOO)
macLib: string ${FOO=$(BAR),BAR=$(FOO)} is recursive (expanding environment variable FOO)
macEnvExpandTest.t ......... ok
macLibTest.t ............... ok
taskwdTest.t ............... 2/8 Thread testTask2 (00000000005A7E00) suspended
taskwdTest.t ............... ok
blockingSockTest.t .........


A call to 'assert(this->sock != INVALID_SOCKET)'
    by thread 'win2a8' failed in ..\blockingSockTest.cpp line 172.
EPICS Release EPICS R3.14.12.2 $Date: Mon 2011-12-12 14:09:32 -0600$.
Local time is 2012-11-30 18:30:58.382980961 GMT Standard Time
Please E-mail this message to the author or to tech-talk@aps.anl.gov
Calling epicsThreadSuspendSelf()

So, a number of problems. I don't know how significant they are. How much of these are known problems.

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713


-----Original Message-----
From: core-talk-bounces@aps.anl.gov [mailto:core-talk-bounces@aps.anl.gov] On Behalf Of Andrew Johnson
Sent: 19 November 2012 23:26
To: EPICS core-talk
Cc: Franck DiMaio
Subject: Base R3.14.12.3-pre1 available

The pre-release version of EPICS Base 3.14.12.3 is now available from
    http://www.aps.anl.gov/epics/download/base/baseR3.14.12.3-pre1.tar.gz

I would appreciate some help testing this version to catch any issues that still need fixing.  We currently plan to publish the first Release Candidate version on December 3rd, and the final 3.14.12.3 release on December 17th.

Thanks,

- Andrew
--
Computer science is as much about computers as astronomy is about telescopes. -- Edsger Dijkstra


Replies:
Re: Base R3.14.12.3-pre1 available Andrew Johnson
References:
Base R3.14.12.3-pre1 available Andrew Johnson

Navigate by Date:
Prev: [Bug 1083193] Re: Lifetime of CALLBACK undocumented Ralph Lange
Next: Re: Base R3.14.12.3-pre1 available Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Base R3.14.12.3-pre1 available Andrew Johnson
Next: Re: Base R3.14.12.3-pre1 available Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 30 Nov 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·