This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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] |
I was trying to build Pierre Humblet's minires, and found that ld stackdumped (output below). This was with binutils-20020706-2. Replacing ld.exe with the one from binutils-20011002-1 allows the build to complete successfully. The problem seems to be something to do with ld mishandling .def files. (Building with no .def file, and passing -Wl,--export-all-symbols to gcc works.) Attached is a tiny (436 bytes) tarball containing Makefile and testcase.c. gcc -c -O2 -Wall testcase.c -o testcase.o dlltool -z testcase.def --export-all-symbols testcase.o gcc -shared testcase.o testcase.def -o cygtestcase.dll collect2: ld terminated with signal 11 [Segmentation fault] /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: testcase.def:2: syntax error make: *** [cygtestcase.dll] Error 1 Max.
Attachment:
ld-stackdump-def-testcase.tar.bz2
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |