The following applies to GNU ld version 2.12.90
20020706.
When doing ld -r with input files compiled using
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
12.00.8804 for 80x86 and -Zi (debuginfo), you get
segfaults.
To reproduce, compile foo.c:
void a(void) {}
with
cl -Zi -c foo.c
Then try
ld -r foo.obj -o bar.obj
strip, nm and objdump also have similar problems, but
this is the by far easiest one to duplicate...
Logged In: YES
user_id=11494
My understanding is that MSVC uses a proprietary
debugging format. The gnu binutils do not have any
knowledge of this format.
They may be a way to force MSVC to use a more
standard format, but I don't know about it.
Danny