bug-gnu-utils
[Top][All Lists]
Advanced

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

ld crashing


From: Gisle Vanem
Subject: ld crashing
Date: Fri, 31 Oct 2003 02:02:54 +0100

I accidentally used an erroneous Perl generated .def file which 
caused MingW ld to crash. It had the ordinal, but missed the 
export name. Here's a minimal example:

; test.def
LIBRARY test.dll
EXPORTS
  foo @1
   @2
  bar @3

/* test.c */
void foo() {}
void bar() {}

Build it by
gcc -shared test.def -Wl,--out-implib,test.a -o test.dll test.c

And after approx 10 sec of chewing ld crashes in strlen().

ld --version says:
GNU ld version 2.13.90 20030111

Running Win-XP SP1

--gv





reply via email to

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