www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <000801c23635$5923cc00$0100a8c0@wdg.uk.ibm.com> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Bug report: binutils-20020706-2: ld SEGV with .def file |
Date: | Sun, 28 Jul 2002 13:49:16 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
Note-from-DJ: | This may be spam |
------=_NextPart_000_0005_01C2363D.9055EB10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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. ------=_NextPart_000_0005_01C2363D.9055EB10 Content-Type: application/octet-stream; name="ld-stackdump-def-testcase.tar.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ld-stackdump-def-testcase.tar.bz2" QlpoOTFBWSZTWfD68iYAAWP/pMawACBMG/+fbYeIhP/v3vsBAAAAgAgwAXpZNBkoTRjJNT0yNTNR gNCMCDI2mgg8g0KZJ+qAAAGgAAaANAAASRQnpMQjAm0hiMgA00aDEyAabvhd/hZtHBRGoJJPKACu yU3lfQ8bRNTvQFaTAgKCI6BP5T+HxfhoyYl8VIhD5ZNag8LH8+P2zkga+n2f+ZfpK70XFWadtBlN 4XnuSUdoWpJGG40EtU8oAUhOpCpGzrYInVquoqa6ZhmZmYZk5jQW0GVOLQ44s9MiiFhQniRWE4ZD AYLVi45CV19GuKbSYISxw0NiNUE+jqsQwoMHDUITCMnGJ5nPT0ZUEuQRoUAGb6gZwgM4AKQhDRN6 rFpBosdC05Baj3hRkkXZmQps4TEsZUQvkzImrtPSDbZiSZOGz7RDEtW2IcE2ixZSgOhVZp1hhCWA oUht7GfmmMiIQGZC9sr1UmxacRAgcci8zBUSFRVblwZRbv5XLfsYUYCdStfcn340J6LzqwqUJ+G3 DAhDwysYcQ48qu1r6NyqTqssBWq9psNXGCD/F3JFOFCQ8PryJg== ------=_NextPart_000_0005_01C2363D.9055EB10 Content-Type: text/plain; charset=us-ascii -- 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/ ------=_NextPart_000_0005_01C2363D.9055EB10--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |