Hello,
I've come accross this error today, and about 9 hours later I was able
to make a nice testcase to reproduce it.
Here's the scenario:
- A static library is built with MinGW gcc.exe *with* debug information.
- A C file which uses that static library is compiled with MSVC++'s cl.exe.
- Everything is linked using Microsoft's link.exe *with* manifest
information. (I don't know what that is, but MSVC++ does it by default now).
- The resulting executable runs fine.
- That executable is stripped using strip.exe. (CVS produces the same error)
- The resulting executable does not run anymore.
It only happens if gcc.exe was run with debug (-g), and link.exe was run
with manifest files.
The testcase can be found at:
http://arrozcru.no-ip.org/testcase-src.tar.gz <- contains only the files
to reproduce the problem
http://arrozcru.no-ip.org/testcase-full.tar.gz <- also contains the
files generated
It must be run from MSys with MSVC++'s bin folder in its PATH.
The problematic file is "gmsmain.exe".
Ramiro Polla
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils