bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16807] Bad behavior with resources of Windows applications with


From: angelo.graziosi at alice dot it
Subject: [Bug ld/16807] Bad behavior with resources of Windows applications with recent binutils upgrade on Cygwin64
Date: Fri, 11 Apr 2014 20:22:55 +0000

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

--- Comment #5 from Angelo Graziosi <angelo.graziosi at alice dot it> ---
(In reply to Nick Clifton from comment #4)
> Hi Angelo,  Hi Corinna,
> 
>   Please could you try out the uploaded patch.
> 
>   I think that it should work for this particular test case, but I also
> think that it will fail when you have multiple resources with identical
> entries.  If you can find a test case for that and try it out too that would
> be very helpful.

Hmm... I have done the following and for me it doesn't work... maybe I didn't
all the right things.

I downloaded the source of current binutils (binutils-2.24.51-2) in Cygwin,
then I have applied the patch,

  $ patch tmp/binutils-2.24.51-2/bfd/peXXigen.c binutils-peXXigen.c.patch


and have built with

  $ ./configure --prefix=/usr/local/binutils-test
  $ make
  $ make install


After this, I have started another mintty window and changed the PATH,

  $ export PATH="/usr/local/binutils-test/bin:$PATH"


and compiled my test case,

  $ windres dlg_one.rc -O coff -o dlg_one.res
  $ gcc -Wall -mwindows dlg_one.c dlg_one.res -o dlg_one.out


but it doesn't work as expected, always the same issues.


But, as I said, probably I didn't the right things. At this point, someone more
expert in binutilis should test the patch.


Thanks,
 Angelo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]