public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with binutils?
@ 2014-04-02 16:54 Angelo Graziosi
  2014-04-03  8:47 ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2014-04-02 16:54 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

It seems that the attached test case does not work rightly with current 
binutils.

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"!).

If, as binutils, I use the old binutils-2.23.52-5.tar.bz2 package, all 
works as expected.

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

The issue does not exist using mingw binutils (i686-pc-mingw32).


The attached tar-ball can be used in this way:

$ tar -xvf test_case_b.tar.bz2
$ cd test_case_b
$ ./dlg_one.out

To create the test case I have adapted an application found on the web.

Consider that I discovered the issue with a more complicated Fortran 
application.

Ciao,
Angelo.

[-- Attachment #2: test_case_b.tar.bz2 --]
[-- Type: application/octet-stream, Size: 2083 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
  2014-04-02 16:54 Problems with binutils? Angelo Graziosi
@ 2014-04-03  8:47 ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2014-04-03  8:47 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

Hi Angelo,

On Apr  2 18:54, Angelo Graziosi wrote:
> It seems that the attached test case does not work rightly with
> current binutils.
> 
> 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.
> 
> 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).
> 
> The issue does not exist using mingw binutils (i686-pc-mingw32).
> 
> 
> The attached tar-ball can be used in this way:
> 
> $ tar -xvf test_case_b.tar.bz2
> $ cd test_case_b
> $ ./dlg_one.out
> 
> To create the test case I have adapted an application found on the web.
> 
> 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

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
  2014-04-03 20:42 Angelo Graziosi
@ 2014-04-04  8:21 ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2014-04-04  8:21 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

On Apr  3 22:41, Angelo Graziosi wrote:
> Corinna Vinschen wrote:
> >Could you please send the link to the PR to this thread?
> 
> Obviosly... I just hope I did everything right.
> 
> This should be PR binutils/16807, i.e.
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=16807

Perfect!


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
@ 2014-04-03 20:42 Angelo Graziosi
  2014-04-04  8:21 ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2014-04-03 20:42 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:
> Could you please send the link to the PR to this thread?

Obviosly... I just hope I did everything right.

This should be PR binutils/16807, i.e.

https://sourceware.org/bugzilla/show_bug.cgi?id=16807


Ciao,
  Angelo.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
  2014-04-03 11:08 Angelo Graziosi
@ 2014-04-03 14:03 ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2014-04-03 14:03 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

On Apr  3 13:08, Angelo Graziosi wrote:
> Corinna Vinschen wrote:
> >It's pretty easy.
> 
> OK, "Mum"... ;-)
> 
> I will try this evening.

Thanks!  Could you please send the link to the PR to this thread?


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
@ 2014-04-03 11:08 Angelo Graziosi
  2014-04-03 14:03 ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2014-04-03 11:08 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:
> It's pretty easy.

OK, "Mum"... ;-)

I will try this evening.


Ciao,
Angelo.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
  2014-04-03  9:13 Angelo Graziosi
@ 2014-04-03  9:20 ` Corinna Vinschen
  0 siblings, 0 replies; 8+ messages in thread
From: Corinna Vinschen @ 2014-04-03  9:20 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

On Apr  3 11:13, Angelo Graziosi wrote:
> Ciao Corinna,
> 
> Corinna Vinschen wrote:
> >I can reproduce the issue, but it's
> >pretty unclear what happens.
> 
> Indeed.. In my original Fortran application what triggered the issue
> was the code about the "Time interval" dialogue. For example
> commenting out the "DEFPUSHBUTTON" line under TTOT, the issue went
> away..
> 
> >Would you mind to create a bugzilla entry for this problem at
> >https://sourceware.org/bugzilla/
> 
> I am not subscribed there... :(

You can simply create a new account using the "New account" link
on that page.  It's pretty easy.

> May you?

If you can't create an account for some reason, I can do it.


Thanks,
Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Problems with binutils?
@ 2014-04-03  9:13 Angelo Graziosi
  2014-04-03  9:20 ` Corinna Vinschen
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Graziosi @ 2014-04-03  9:13 UTC (permalink / raw)
  To: cygwin

Ciao Corinna,

Corinna Vinschen wrote:
> I can reproduce the issue, but it's
> pretty unclear what happens.

Indeed.. In my original Fortran application what triggered the issue was 
the code about the "Time interval" dialogue. For example commenting out 
the "DEFPUSHBUTTON" line under TTOT, the issue went away..

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

I am not subscribed there... :(

May you?


Thanks,
Angelo.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-04-04  8:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 16:54 Problems with binutils? Angelo Graziosi
2014-04-03  8:47 ` Corinna Vinschen
2014-04-03  9:13 Angelo Graziosi
2014-04-03  9:20 ` Corinna Vinschen
2014-04-03 11:08 Angelo Graziosi
2014-04-03 14:03 ` Corinna Vinschen
2014-04-03 20:42 Angelo Graziosi
2014-04-04  8:21 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).