delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/28/15:54:35

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=PcNvrhaHVB1dQgnBeoq9yzDbq5JXePlmL9bbuKkUzLs
hzSGMVe60GaVZfAkzzF5F9RlD9udE5cdegDO9E+ad2DPw0Ovn0JkvElpMB82ILsc
FnZhWM9j/Pw27gRBcASht0E2k/W3Atsif0W0PMOAeiBqpmrR+dHnQaiLD4v9aohM
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=NM5YOcBL8qov13jjcqVc6DICjeU=; b=E67yiL6FPb27c12TJ
SiGscVIVEWEz6/d2fuyo8L0jMd0nnRX9W/ciaI132TB0GNkQoJ+aMi0RfOLoakgN
vbwp896W4hj9wwBhgMUY/cHNnWoSzaG4HRIu/aCxw0PjZUJ4DbBRGUfKOF6OdBpi
HevmOCBUOoO6GPNdAsMedRd74c=
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=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f174.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=flk4Eo9utOCPdVHfDXMx2vQsi7J+vxgoNESoLlCTxG4=; b=FGPZOoMpBDkZHHjOgHLbv8xJ97gSOvlfEBU4A08Uj8VjQeEYueAsqP4etE2FbncjL+ kzswS9R+1gg64PUpbFOTDX1DimiT0t404AK6CcV2ZuHeaiSXnILNtmnwijncrVnKE1bl NLjVq3ZITq6e5ZSR6JJaHw0iWSJXmmCRZsDqHpDzX7nIg3lgNihhq/b9uFzLPK3XETHB /UcZX6422UP3D1E2KI+0lVHIrhQhiZ9bPR4R5rdK5Fy6OcWSkGKtU0uBg+e6MceZ7Xhx wWEYt2+fyF9pH/tAx6fQcPu6zhYxDl9QUnz3/qI5a5oRWzpQEiroK423elvFcg43ULgR Ki2A==
X-Gm-Message-State: ALoCoQmnPa+41QRbBnqK6G6sS1fK4kzONV3ow90X+/3ubnGAafb8OJ6WmJILUF3BrnXchnFU21Ut
X-Received: by 10.50.124.42 with SMTP id mf10mr10594284igb.41.1401306477614; Wed, 28 May 2014 12:47:57 -0700 (PDT)
Message-ID: <53863D68.1020104@breisch.org>
Date: Wed, 28 May 2014 15:47:52 -0400
From: "Chris J. Breisch" <chris DOT ml AT breisch DOT org>
User-Agent: Postbox 3.0.10 (Windows/20140526)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: gcc-4.8.3-1 (x86/x86_64)
References: <announce DOT 5385F35C DOT 50108 AT gmail DOT com> <5386191F DOT 8080307 AT breisch DOT org> <538633BA DOT 4060902 AT cornell DOT edu>
In-Reply-To: <538633BA.4060902@cornell.edu>
X-IsSubscribed: yes

Ken Brown wrote:
> On 5/28/2014 1:13 PM, Chris J. Breisch wrote:
>> JonY wrote:
>>> gcc-4.8.3-1 is now uploaded for both 32-bit and 64-bit Cygwin. This
>>> includes a patch to automatically link in the default manifest for
>>> executable files.
>>>
>>> Known issues:
>>> Cygwin 64-bit gcc-4.8.3-1 debuginfo package is missing and was not
>>> generated by cygport, I am still investigating this.
>>
>> There seems to be a problem, at least on my machine:
>>
>> $ g++
>> -bash: /usr/bin/g++: cannot execute binary file
>> $ which g++
>> /usr/bin/g++
>> $ /usr/bin/g++
>> -bash: /usr/bin/g++: cannot execute binary file
>> $ file /usr/bin/g++
>> /usr/bin/g++: PE32+ executable (console) x86-64 (stripped to external
>> PDB), for MS Windows
>> $ ldd /usr/bin/g++
>> ldd: /usr/bin/g++: Exec format error
>> $ ldd /usr/bin/g++.exe
>> ldd: /usr/bin/g++.exe: Exec format error
>
> This might be a result of the binutils problem that I reported here:
>
> https://cygwin.com/ml/cygwin/2014-04/msg00199.html
>
> Ken
>

Yes, the behavior looks exactly like what you described there.

$ objdump -j .rsrc -s /usr/bin/g++.exe

/usr/bin/g++.exe:     file format pei-x86-64

Contents of section .rsrc:
objdump: Reading section failed


-- 
Chris J. Breisch

--
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