Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: binutils@sourceware.org, gdb-patches@sourceware.org,
		Eric Blake <ebb9@byu.net>
Cc: nickc@redhat.com, bonzini@gnu.org, aoliva@redhat.com,
		DJ Delorie <dj@redhat.com>
Subject: Re: RFC: Adding a check to the top level configure script for a binary-mounted   cygwin-hosted build directory
Date: Fri, 25 May 2007 09:47:00 -0000	[thread overview]
Message-ID: <20070525094707.GA16127@calimero.vinschen.de> (raw)
In-Reply-To: <200705241542.l4OFgi0v023645@greed.delorie.com>

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


  reply	other threads:[~2007-05-25  9:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23 12:52 Nick Clifton
2007-05-23 13:04 ` Paolo Bonzini
2007-05-24  9:47   ` Nick Clifton
2007-05-24 14:27     ` DJ Delorie
2007-05-24 15:26       ` Nick Clifton
2007-05-24 15:43         ` DJ Delorie
2007-05-25  9:47           ` Corinna Vinschen [this message]
2007-05-25 12:15             ` Eric Blake
2007-05-24 18:26         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070525094707.GA16127@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=aoliva@redhat.com \
    --cc=binutils@sourceware.org \
    --cc=bonzini@gnu.org \
    --cc=dj@redhat.com \
    --cc=ebb9@byu.net \
    --cc=gdb-patches@sourceware.org \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox