From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17022 invoked by alias); 24 May 2007 15:43:05 -0000 Received: (qmail 16991 invoked by uid 22791); 24 May 2007 15:42:52 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 May 2007 15:42:50 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l4OFgmcu003146; Thu, 24 May 2007 11:42:48 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [172.16.52.227]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4OFgje8018722; Thu, 24 May 2007 11:42:45 -0400 Received: from greed.delorie.com (vpn-14-2.rdu.redhat.com [10.11.14.2]) by post-office.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id l4OFgi1B009277; Thu, 24 May 2007 11:42:45 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.8/8.13.8) with ESMTP id l4OFgiAU023648; Thu, 24 May 2007 11:42:44 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.8/8.13.8/Submit) id l4OFgi0v023645; Thu, 24 May 2007 11:42:44 -0400 Date: Thu, 24 May 2007 15:43:00 -0000 Message-Id: <200705241542.l4OFgi0v023645@greed.delorie.com> From: DJ Delorie To: nickc@redhat.com CC: bonzini@gnu.org, aoliva@redhat.com, binutils@sourceware.org, gdb-patches@sourceware.org In-reply-to: <4655AEA3.7080309@redhat.com> (message from Nick Clifton on Thu, 24 May 2007 16:26:27 +0100) Subject: Re: RFC: Adding a check to the top level configure script for a binary-mounted cygwin-hosted build directory References: <46543BE2.1010209@lu.unisi.ch> <46555F35.40003@redhat.com> <200705241426.l4OEQ0gA020722@greed.delorie.com> <4655AEA3.7080309@redhat.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00371.txt.bz2 > Are the problems described in PR 4334 also present when building > under MinGW or DJGPP ? If not, then we can keep this new autoconf > test as a Cygwin specific test. I don't have a djgpp build tree at the moment, but djgpp is like *always* having text mounts. So, you can simulate it with a cygwin install where everything is text mounted. However, DJGPP's tools know about CR/LF so it may not expose this "bug". > If those problems are also present then I would agree with you that > we need to fix the binutils build process. IMHO the bug is that cygwin's bash isn't dealing with `` line endings properly. It's the responsibility of the shell to strip trailing line endings (1003.2-1992 3.6.3, although it doesn't mention platform-specific line endings) during command substitution. Also, cygwin's bash should allow CR/LF pairs as word delimiters during splitting, if it doesn't already. Cygwin supports mixed mounts, it needs to deal with the ramifications itself.