This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]