This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Corruption message after updating binutils (both Cygwin/MingW)


Just for completeness... the following occurs on Cygwin64 (I don't have Cygwin32)

After the upgrading to binutils-2.24.51-1 and mingw64-*-binutils-2.24.0.0.5a026fc-1, rebuilding some my applications [*], I see this message (and similar for i686-pc-mingw32, x86_64-w64-mingw32, x86_64-pc-cygwin):

/usr/lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bin/ld: i686-w64-mingw32-bounce.exe: .rsrc merge failure: corrupt .rsrc section

In any case, the executable is created and seems to work.

Reverting the binutils packages to previous version, the message goes away...


Ciao,
 Angelo.

---
[*] The command line I use is, for example,

windres bounce.rc -O coff -o ../modules/bounce.res && gfortran -Wall -mwindows -J ../modules ../../src/windows_interface_modules.f90 ../../src/windows_dialog_modules.f90 bounce.f90 ../modules/bounce.res -o bounce.out

or

i686-w64-mingw32-windres bounce.rc -O coff -o ../modules/bounce.res && i686-w64-mingw32-gfortran -static -Wall -mwindows -J ../modules ../../src/windows_interface_modules.f90 ../../src/windows_dialog_modules.f90 bounce.f90 ../modules/bounce.res -o i686-w64-mingw32-bounce

but the same happens for i686-pc-mingw32 and x86_64-w64-mingw32.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]