From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6893 invoked by alias); 25 May 2007 09:47:20 -0000 Received: (qmail 6871 invoked by uid 22791); 25 May 2007 09:47:16 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 25 May 2007 09:47:10 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id CE1A16D4802; Fri, 25 May 2007 11:47:07 +0200 (CEST) Date: Fri, 25 May 2007 09:47:00 -0000 From: Corinna Vinschen To: binutils@sourceware.org, gdb-patches@sourceware.org, Eric Blake Cc: nickc@redhat.com, bonzini@gnu.org, aoliva@redhat.com, DJ Delorie Subject: Re: RFC: Adding a check to the top level configure script for a binary-mounted cygwin-hosted build directory Message-ID: <20070525094707.GA16127@calimero.vinschen.de> Mail-Followup-To: binutils@sourceware.org, gdb-patches@sourceware.org, Eric Blake , nickc@redhat.com, bonzini@gnu.org, aoliva@redhat.com, DJ Delorie References: <46543BE2.1010209@lu.unisi.ch> <46555F35.40003@redhat.com> <200705241426.l4OEQ0gA020722@greed.delorie.com> <4655AEA3.7080309@redhat.com> <200705241542.l4OFgi0v023645@greed.delorie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705241542.l4OFgi0v023645@greed.delorie.com> User-Agent: Mutt/1.4.2.2i 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/msg00387.txt.bz2 On May 24 11:42, DJ Delorie wrote: > > > 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. Does that actually happen with the latest bash? It should work fine on textmode mounts. See http://cygwin.com/ml/cygwin-announce/2007-05/msg00003.html for more details on the way bash works with different input files and mounty modes. Eric? Can you confirm or deny this problem for the latest bash? Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat