bug-binutils
[Top][All Lists]
Advanced

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

strip breaks mixed msvc++ and gcc generated pei-i386


From: Ramiro Polla
Subject: strip breaks mixed msvc++ and gcc generated pei-i386
Date: Thu, 14 Dec 2006 22:03:34 -0200
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

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




reply via email to

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