delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/03/04:47:20

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=Yx91+UpVPVPxbalN+KK+PSPZSTmgTWx17tc/Pl9EKzgrrfNFnI3Za
UgrggXInzINCBznDH3tUPuq27gi44/I7dDcWRIcB2GaOoyBGH4Z28lyXS8Ev0UlS
8E/IP+09ldUjyRoyXXjAk+aunT2G3Ln96pKA8wyNeT3WX3WuD8gB68=
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=Vm5gGB36sA1+D+Y5vgFGizgr9fo=; b=Mh1wrRHBwdo93TrqqgOB2ldZeUfb
/L59gctq4ozVv3MiooMrdV0L1/FbGPrdkb33B05XYjaM9luO3n42rfUdCqo07Ze0
f8xps10XPGqWFld415dHG66u95KFFc8Hll26kxmE2WpyW1LjFeQh7XBT+cLYNCYY
o80q74DSWNRjxRU=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 3 Apr 2014 10:46:59 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems with binutils?
Message-ID: <20140403084659.GW2508@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <533C40B2 DOT 2010700 AT alice DOT it>
MIME-Version: 1.0
In-Reply-To: <533C40B2.2010700@alice.it>
User-Agent: Mutt/1.5.21 (2010-09-15)

--WYfJCIN5rqlfy3K0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Angelo,

On Apr  2 18:54, Angelo Graziosi wrote:
> It seems that the attached test case does not work rightly with
> current binutils.
>=20
> The Help menu contains two About items and About2 is created from
> About1 with Copy/Paste. Now, while clicking on About1 works as
> expected, the click on About2 does not produce anything and fails.
> If I comment out the FILE_EXIT stuff (from .c, .h and .rc files) the
> issue is for About1 and not for About2 (it "swapped"!).

Yes, that's really puzzling.  I can reproduce the issue, but it's
pretty unclear what happens.  When extracting the resources from
the linked executable, for instance with

  windres dlg_one.out -o dlg_from_exe.rc

the resulting rc file looks perfectly normal.  Maybe this has
something to do with alignment?!?

> If, as binutils, I use the old binutils-2.23.52-5.tar.bz2 package,
> all works as expected.
>=20
> I can reproduce the issue also with the current mingw-w64 binutils
> (and the relative mingw-w64 compilers, i686-w64-mingw32,
> x86_64-w64-mingw32).
>=20
> The issue does not exist using mingw binutils (i686-pc-mingw32).
>=20
>=20
> The attached tar-ball can be used in this way:
>=20
> $ tar -xvf test_case_b.tar.bz2
> $ cd test_case_b
> $ ./dlg_one.out
>=20
> To create the test case I have adapted an application found on the web.
>=20
> Consider that I discovered the issue with a more complicated Fortran
> application.

Would you mind to create a bugzilla entry for this problem at
https://sourceware.org/bugzilla/ ?


Thanks,
Corinna

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

--WYfJCIN5rqlfy3K0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTPSADAAoJEPU2Bp2uRE+guLEP+gPfhouLin05ta36tCqC9suE
6O9eUTJiOq1BhIxzzezcDT9wyk1TsPbn7YryBmKKhaiqVeXcJ6J8F+YFtGiCHh47
dTEQKrz5g6/8zX/E5/BrOcZTTE0tvrBmp62/s9Mu9H0+IE5tocb3x/F/uWCBCFQp
cAB8Ljokwoh9WNyY4KrRYe6UNAFjzxul+JLHEqcCr81BZEk2HavvG/pem7qFLJVd
oeEpLGbfxoezLEJ+kCAw97zWogwAVUsP4W3xt9FVrAcJYM4qP2KeK8F/3E71Wcv7
rGGWMcRGNUJth8X0qEHK2BpEJVtxhTBXf7ixEJuRVT09g9VO/yM+fh7g65X7/h7O
G5jTxbmu9929IiR5iREqngteS3xJEBvH4LBlBN3n32nMQ8gHBLdDUpqekyNy4vrO
uozmHpigQmKYlnd1Xbqxuz6vmsJCfMCBjf/I5BjDowGtgff6oqrntMaPymTLpIIJ
nSY/hfilx9vzj6wWe7RzIYBSigZS+9sQ4LLOBGaRLDxcHEA75ALEl0h17+9Vvtbe
96ZfmPdhsoT9RXq/zLOpGUXPa+6aKy0Ea3Mq5FTyHhw/KxSTgZaufEWDyJIooZ/v
IJ5Uo8Ty5TmhmkLx1qVmxPIpW3Ns1lak+dFsz6Jw+kRAdxAMVnXyl7+BUVvcnX3K
TNFHqv+vSRLzkmI0tr5g
=Let1
-----END PGP SIGNATURE-----

--WYfJCIN5rqlfy3K0--

- Raw text -


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