This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
mainline ld on mingw32/pe is broken, returns 1 without error.
- From: "Aaron W. LaFramboise" <aaron98wiridge9 at aaronwl dot com>
- To: binutils at sources dot redhat dot com
- Date: Sat, 26 Jun 2004 20:29:15 -0500
- Subject: mainline ld on mingw32/pe is broken, returns 1 without error.
Since I updated binutils from mainline today, ld on i686-pc-mingw32 no
longer works. I am not sure when I had last synched and tested, but
probably no longer than a month or two.
This is a trivial example linking a hello world application that worked
before, and fails now.
ld -o hello.exe
c:/aaronwl/cs/env/mingw-3.4.0-2.15-3.3/bin/../lib/gcc/i686-pc-mingw32/3.4.0/../../../crt2.o
-Lc:/aaronwl/cs/env/mingw-3.4.0-2.15-3.3/bin/../lib/gcc/i686-pc-mingw32/3.4.0
hello.o -lmingw32 -lgcc -lmsvcrt -lkernel32
It prints absolutely no messages, but exits with code 1, and does not
leave output files.
How should I begin to debug this? Any ideas what change caused this?
I suppose I need to start testing binutils more regularly. :)
Aaron W. LaFramboise