Issue 55935

Summary: Visual Studio gives ICE with Precompiled Header on Samba Drive
Product: Build Tools Reporter: davidfraser <davidf>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: hans-joachim.lankenau, issues, pavel, quetschke
Version: OOo 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
stripped down version of make used by mozilla that produces this error when built with nmake -f NMakefile none

Description davidfraser 2005-10-13 17:41:59 UTC
If building for Windows with the build tree on a shared Samba drive, then Visual
Studio gives the following error:
fatal error C1001: INTERNAL COMPILER ERROR
                (compiler file
'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\p2symtab.c', line 1609)

This is caused by a problem with Visual Studio and Precompiled Header files on
Samba drives - see the following URLs
http://groups.google.com/group/microsoft.public.vc.ide_general/browse_thread/thread/fff7ef004ffce33f/e454ed2ac0c536ca%23e454ed2ac0c536ca?sa=X&oi=groupsr&start=1&num=3
http://www.kgarner.com/blog/archives/2005/03/04/todays-computer-hatred-brought-to-you-by/

I got the error in Pythoncore when building python.
This should probably be closed WONTFIX, as I don't think we can fix Visual
Studio or Samba, and there doesn't seem a way around it. But I put it here so
others can find whats going on...
Comment 1 pavel 2005-10-13 22:05:43 UTC
interesting...
Comment 2 hjs 2005-10-14 11:19:55 UTC
you probably already did parse the samba documentation, but as far as i remember
there is a couple of configuration switches to deal with various "special"
behaviours of MS compilers.
Comment 3 davidfraser 2005-10-27 14:28:23 UTC
Note: the equivalent bug with Samba is
https://bugzilla.samba.org/show_bug.cgi?id=3200

They say 'Setting "roundup allocation size = 0" definitely fixes this'

Will test and report
Comment 4 davidfraser 2005-11-29 11:21:51 UTC
I'm still getting errors so will try and investigate further, more info on the
samba bug
Comment 5 davidfraser 2005-11-29 15:05:06 UTC
Created attachment 31900 [details]
stripped down version of make used by mozilla that produces this error when built with nmake -f NMakefile
Comment 6 Martin Hollmichel 2006-02-06 13:06:00 UTC
set target
Comment 7 Marcus 2017-05-20 10:48:16 UTC
Reset assigne to the default "issues@openoffice.apache.org".