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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to