Issue 71074 - m191: parallel / pch build fails in basegfx/inc
Summary: m191: parallel / pch build fails in basegfx/inc
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: solenv (show other issues)
Version: current
Hardware: PC Windows, all
: P3 Trivial (vote)
Target Milestone: OOo 2.2
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 13:13 UTC by quetschke
Modified: 2006-11-12 02:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Testing this .. (also contains whitespace fixes) (7.43 KB, patch)
2006-11-01 22:46 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2006-11-01 13:13:18 UTC
It looks like there might be a problem with pch and parallel (dmake -P2) builds.

See
<http://go-oo.org/tinderbox/gunzip.cgi?tree=SRC680_m191&brief-log=1162357835.28333#err40>
and also below.

The two build commands compile pch/precompiled_basegfx.cxx, one uses
-DEXCEPTIONS_OFF and the second -DEXCEPTIONS_ON.

Also that seems to end in a strange looking switch
-D_DLL-DMULTITHREAD-EHa-DEXCEPTIONS_ON . 

=============
Building project basegfx
=============
build.pl: Module basegfx started at: 1162357808 epoch
/cygdrive/d/w1/tin_ws/basegfx/inc
mkout -- version: 1.7
-------------
guw.exe /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe  -Zm500
-Zc:forScope,wchar_t- -GR -c -nologo -Gs  -I.  -I../wntmsci11.pro/inc/inc
-I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../res -I. -Gy
-Ob1 -Oxs -Oy- -Gd  -I.  -I../wntmsci11.pro/inc/inc -I../inc -I../inc/pch
-I../inc -I../WIN/inc -I../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../res -I.
-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290     -wd4294
-wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640     -wd4675
-wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 	-wd4668 -wd4738
-wd4826 -wd4350 -wd4505 -wd4692 -wd4189    -DWNT -DWNT -DNT351 -DMSC -DM1400
-DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400
-D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680
  -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD 
-DEXCEPTIONS_OFF  pch/precompiled_basegfx.cxx
echo USED_PCHFLAGS=-Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs  -I. 
-I../wntmsci11.pro/inc/inc -I../inc -I../inc/pch -I../inc -I../WIN/inc
-I../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../res -I. -Gy
-Ob1 -Oxs -Oy- -Gd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290
    -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640    
-wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 	-wd4668
-wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -DWNT -DWNT -DNT351 -DMSC
-DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400
-D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680
 -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL-DMULTITHREAD-DEXCEPTIONS_OFF> ../wntmsci11.pro/inc/pch.mk
guw.exe /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe  -Zm500
-Zc:forScope,wchar_t- -GR -c -nologo -Gs  -I.  -I../wntmsci11.pro/inc/inc
-I../inc -I../inc/pch -I../inc -I../WIN/inc -I../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../res -I. -Gy
-Ob1 -Oxs -Oy- -Gd  -I.  -I../wntmsci11.pro/inc/inc -I../inc -I../inc/pch
-I../inc -I../WIN/inc -I../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../res -I.
-Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290     -wd4294
-wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640     -wd4675
-wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 	-wd4668 -wd4738
-wd4826 -wd4350 -wd4505 -wd4692 -wd4189    -DWNT -DWNT -DNT351 -DMSC -DM1400
-DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400
-D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680
  -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD
-EHa -DEXCEPTIONS_ON  pch/precompiled_basegfx.cxx
echo USED_EXCEPTIONS_PCHFLAGS=-Zm500 -Zc:forScope,wchar_t- -GR -c -nologo -Gs 
-I.  -I../wntmsci11.pro/inc/inc -I../inc -I../inc/pch -I../inc -I../WIN/inc
-I../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../res -I. -Gy
-Ob1 -Oxs -Oy- -Gd -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290
    -wd4294 -wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640    
-wd4675 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365 	-wd4668
-wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4189 -DWNT -DWNT -DNT351 -DMSC
-DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400
-D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680
 -DSHAREDLIB -D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT
-D_DLL-DMULTITHREAD-EHa-DEXCEPTIONS_ON> ../wntmsci11.pro/inc/pch_ex.mk
precompiled_basegfx.cxx
precompiled_basegfx.cxx
d:\w1\tin_ws\basegfx\inc\pch\precompiled_basegfx.cxx : fatal error C1083: Cannot
open compiler generated file: 'precompiled_basegfx.obj': Permission denied
dmake:  Error code 1, while making '../wntmsci11.pro/slo/precompiled_ex.pch'

ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_ws/basegfx/inc
---* tg_merge.mk *---
Comment 1 hjs 2006-11-01 14:26:47 UTC
looks like i missed wntmsci11 completely :(

in wntmsci10.mk additional flags were defined for PCH creation/usage. looks like
wntmsci11 is missing those completely. currently i have no idea if these flags
still apply to the new compiler version.

but anyway, you're right with the multiprocess error:
in wntmsci10.mk CFLAGS_CREATE_PCH looks like i stopped writing down the -Fo
switch right in the middlel. appending "pchname.obj" should take care of this
(see replacement in rules.mk).
Comment 2 quetschke 2006-11-01 22:46:24 UTC
Created attachment 40233 [details]
Testing this .. (also contains whitespace fixes)
Comment 3 quetschke 2006-11-02 04:30:27 UTC
This may or may not be related but the build (now VS2003) fails with a different
problem:
<http://go-oo.org/tinderbox/gunzip.cgi?tree=SRC680_m191&brief-log=1162437908.6467#err5>
Comment 4 quetschke 2006-11-02 15:45:52 UTC
No, the build problems are unrelated, see issue 71114.
Comment 5 quetschke 2006-11-03 13:54:12 UTC
Committed to vq39. We propably need a new issue tracking the VS2005 / PCH problem.

Please verify.
Comment 6 hjs 2006-11-06 10:45:35 UTC
the need for a VS2005 issue depends on the results of your tests with VS2005 and
the switches currently used for VS2003
Comment 7 quetschke 2006-11-12 02:38:58 UTC
Seen on master.