From: Mark Rivers
Sent: Tuesday, January 23, 2018 8:32 AM
To: 'Andrew Johnson' <[email protected]>
Cc: EPICS core-talk <[email protected]>
Subject: Problems with parallel make in base 7.0.1.1 on Visual Studio 2015 and Visual Studio 2017 when HOST_OP=NO
Hi Andrew,
I am trying to build base 7.0.1.1 with the following configuration:
-
windows-x64-static architecture
-
CONFIG_SITE.Common.windows-x64-static contains HOST_OPT=NO to enable debugging. Note that there is a windows-x64-debug architecture in base, but there is no windows-x64-static-debug,
so I just changed the CONFIG_SITE file.
-
Parallel make (make –sj8)
The above settings work OK for Visual Studio 2010, but they fail with Visual Studio 2015 and Visual Studio 2017. If I remove the HOST_OPT=NO then this problem
does not occur.
Here is the output for Visual Studio 2015.
H:\epics-devel\base-7.0.1>make -sj clean
H:\epics-devel\base-7.0.1>make -sj8
dfa.c
ccl.c
epicsTempFile.cpp
gen.c
misc.c
ecs.c
nfa.c
../../src/flex/ecs.c: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
../../src/osi/os/WIN32/epicsTempFile.cpp: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
../../src/flex/misc.c: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
../../src/flex/dfa.c: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
../../src/flex/gen.c: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
../../src/flex/nfa.c: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
make[4]: INTERNAL: Exiting with 3 jobserver tokens (should be 0)!
sym.c
../../src/flex/sym.c: fatal error C1041: cannot open program database 'H:\epics-devel\base-7.0.1\modules\libcom\src\O.windows-x64-static-vs2015\vc140.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
make reaped child pid 37264320, still waiting for pid 37265184
H:/epics-devel/base-7.0.1/configure/RULES_ARCHS:58: recipe for target 'install.windows-x64-static-vs2015' failed
Thanks,
Mark