delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/22/11:30:37

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=YTb5AiTv4juW5CukRYRTftQ/txq6
qRF+wufsCvz8GD9rnzTflD5ZqrpZ25dIFXsi8Mnpt00XXsuuFt6l+NFyXzEIdcMC
LP6Nk2KWMWTxAJJT5jiBlP/CiniCjxv5yTgrpOG18IQJltzpuLi5Gh4Ph65ZAul/
HEeJAicHEAjuiEg=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=cHNmzr0vYom9mon79G7ANwaQmBY=; b=I7
nKd3lFScbSFT1vUds3ezFhug608wluqV8wEkOUlOCeY023XQl2vaxNIt/Ww1Cq8c
rAK4PQx+KAD6hAwK6XvG7svL998jHUi46hK9b1o11oH/lZvrgDFcfHbPH2su+Edo
9IDW8OenD3Sg51uQsKWt7r9zS+RobRk0l2Wvj0ndI=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=sk:marco.a, sk:marcoa, marco DOT atzeri AT gmail DOT com, marcoatzerigmailcom
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
Subject: Re: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <0bafcf1a-590e-3e30-679f-117cd4aeba7a@gmail.com>
Date: Wed, 22 Jun 2016 09:29:58 -0600
Message-Id: <0FB21113-2A8C-4C63-9889-C0E3254C6E5A@etr-usa.com>
References: <953793912 DOT 12352673 DOT 1466549681179 DOT JavaMail DOT yahoo DOT ref AT mail DOT yahoo DOT com> <953793912 DOT 12352673 DOT 1466549681179 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <2118813453 DOT 12281992 DOT 1466559153922 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com> <0bafcf1a-590e-3e30-679f-117cd4aeba7a AT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5MFUYIj023856

On Jun 22, 2016, at 6:39 AM, Marco Atzeri <marco DOT atzeri AT gmail DOT com> wrote:
> 
> 
> may be is a piping problem, but there is no evidence; it could be a lot of different issues due to 64bit porting.
> I will not be surprise if there is wrong assumption on data size.

That’s my guess, too.

64-bit Windows is LLP64, while 64-bit Linux is LP64 on the same hardware.

That means that any binary protocol that uses C’s “long” data type will do the wrong thing on Cygwin, because it uses Windows’ data size rules for ABI compatibility with Windows.

See https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
--
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