Apache OpenOffice (AOO) Bugzilla – Issue 71074
m191: parallel / pch build fails in basegfx/inc
Last modified: 2006-11-12 02:38:58 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 *---
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).
Created attachment 40233 [details] Testing this .. (also contains whitespace fixes)
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>
No, the build problems are unrelated, see issue 71114.
Committed to vq39. We propably need a new issue tracking the VS2005 / PCH problem. Please verify.
the need for a VS2005 issue depends on the results of your tests with VS2005 and the switches currently used for VS2003
Seen on master.