mainline ld on mingw32/pe is broken, returns 1 without error.

Aaron W. LaFramboise aaron98wiridge9@aaronwl.com
Sun Jun 27 01:29:00 GMT 2004


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



More information about the Binutils mailing list