Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 29 Sep 2004 11:20:01 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Problems on Itanium: Found the Cause, What's Next? Message-ID: <20040929092001.GL14978@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200409281232 DOT i8SCWDab029529 AT www3 DOT pochta DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409281232.i8SCWDab029529@www3.pochta.ru> User-Agent: Mutt/1.4.2i On Sep 28 16:32, Alexei Alexandrov wrote: > If you compile this code with 32-bit compiler and then run it on 64-bit Server 2003 it will crash. At the same time it > works on 32-bit machines. It also works fine on a x86_64 machine in 32 bit mode. > So the questions is to cygwin developers: what can be done next? I\'ve found file wincap.cc with particular platforms > capability descriptions. I\'ve tried to set has_working_copy_on_write to false when IsWow64Process return true and it > seems to work, but how can I be sure that I didn\'t break anything else? Are there any tests or something? And generally > is this fix OK? Which drawbacks can it have? If the fix is OK - let me know, I will provide a patch. No, because this would also exclude x86_64 machines. Actually I'm somewhat in doubt that CreateFileMapping/MapVieOfFile functionality should actually be so broken on the ia64 platform. Are you really sure that the culprit isn't somewhere else? Your test application uses a very common idiom, so I'd guess that a lot more applications would fail miserably on ia64 in 32 bit mode. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/