delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/09/05:23:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Z216qhLX7h8c6hplopQa9SVS9cQyLNsuE3lBYXrxtwaPPYOiU+ozY
f+KElSwTE6lMVDmhCzWAj2N7hksoyd+Vq8oR/zw9rkaNHBCtvtdn9wcgkDNpgT7U
++jKbuMLaZsvg9JgfKgqecjStjUBnti3ZosrM5tVdiy7MnUnzFkkQs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=ogbGTDupUyNOsN+IWooE0QpkPvU=; b=S1fJd9TRXdo0b/vy49VXkMutvjFS
iW09ICQZCHZ+z3hOmSKixHtRa59k8PNKgOYv+dR5lMv6mdGeH+AnSAV+mBkxucHd
vhopSFt06Y4IUg9EyIPTWJ+76I+26I3iIZHcWnyf1d92VVPql10H1DlA2xIU4C/J
1yfCDWaqFjddyKI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,TW_YG autolearn=ham version=3.3.1
Date: Tue, 9 Apr 2013 11:23:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin64 build recipe (was: Re: cygwin64 process substitution: known bug?)
Message-ID: <20130409092338.GK10126@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5161DCD1 DOT 7040002 AT malth DOT us> <20130408081044 DOT GB10199 AT calimero DOT vinschen DOT de> <20130408093850 DOT GA12628 AT calimero DOT vinschen DOT de> <51632E49 DOT 5070500 AT malth DOT us>
MIME-Version: 1.0
In-Reply-To: <51632E49.5070500@malth.us>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Apr  8 13:53, Gregory M. Turner wrote:
> On 4/8/2013 2:38 AM, Corinna Vinschen wrote:
> >On Apr  8 10:10, Corinna Vinschen wrote:
> >>On Apr  7 13:53, Gregory M. Turner wrote:
> >>>On my cygwin64, all bash process substitutions fail:
> >>>
> >>>$ ls -l <(echo foo)
> >>>lrwxrwxrwx 1 greg None 0 Apr  7 13:20 /dev/fd/63 -> pipe:[656]
> >>>
> >>>$ cat <(echo foo)
> >>>cat: /dev/fd/63: No such file or directory
> >>>
> >>>Here's an strace: http://pastebin.com/KS9766Vv
> >>>
> >>>Anyone know what's going on?  I don't have a cygwin64 kernel/libc
> >>>build tree, yet, but, if this merits further investigation, I
> >>>suppose it's as good an excuse as any to build one, as this is
> >>>messing up my play-time.
> >>Confirmed.  Looks like a bug in bash or (more likely) 64 bit Cygwin.
> >>I'm going to fix a problem reported on the cygwin-apps list first, but
> >>I'll have a look into this later this week.
> >>
> >>Of course I'd appreciate if you look into this, too.  Many problems
> >>found in the 64 bit version during the last couple of weeks are based
> >>on sloppy datatype handling, so I guess this is another one of them.
> >I looked into this first, accidentally.  This should be fixed in CVS
> >I'll upload a new 64 bit Cygwin DLL later today.
> >
> >
> >Thanks again for the report,
> 
> No, thank you for the fix!
> 
> If I may hijack my own thread a bit: I tried a cygwin64 core build
> but things didn't go great.
> 
> Is bootstrap.sh on *-*-linux-gnu still the best way to roll your own
> cygwin64? 

No, not really.  You can do that, and I still use the Linux cross
compiler to build Cygwin, but we don't really *have* to bootstrap
anymore.

> My attempts to cross the cygwin64 cygport on cygwin32
> resulted in tons of fussy problems centered around dlmalloc.c (I
> also had to kludge around some Makefile problems).

Dunno about that, but it sounds weird.  For one thing, we don't have
the 32->64 bit cross compiler yet, so you would have to bootstrap
on 32 bit Cygwin.  The other problem is that the 32 bit cygport isn't
up to the task yet.

If you want to build 64 bit Cygwin outside of Linux, just install
64 bit Cygwin including gcc, cygport, make, etc,. etc.  Run your
shell, extrace the cygport file from the 64 bit Cygwin source package
and call

  $ cygport cygwin.cygport download prep compile install package

or

  $ cygport cygwin.cygport download allmostall

That should do it.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019