This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: On cygwin: FAIL: linking auto-import client using a standard import library
- From: Nick Clifton <nickc at redhat dot com>
- To: Pedro Alves <pedro_alves at portugalmail dot pt>
- Cc: Christian Joensson <christian dot joensson at gmail dot com>, binutils <binutils at sources dot redhat dot com>
- Date: Wed, 20 Feb 2008 17:52:33 +0000
- Subject: Re: On cygwin: FAIL: linking auto-import client using a standard import library
- References: <5460e3330801110119h450b943bm50ff706b611c171a@mail.gmail.com> <479E0DBE.4060208@redhat.com> <47A29449.9090803@portugalmail.pt>
Hi Pedro,
The test should be invoking ld to link, via ld_special_link, but for
some reason, it's passing $CC, which results in this:
The --out-implib, and --enable-auto-import aren't special, they're not
passed to the linker (read: need -Wl,), so libstandard.dll.a isn't output.
I don't know how that ever worked. The attached patch fixes that here,
but then I get:
FAIL: application runtime segfault check
Well the patch was obviously a good idea, so I have checked it in.
Cheers
Nick
ld/testsuite/ChangeLog
2008-02-20 Pedro Alves <pedro_alves@portugalmail.pt>
* ld-auto-import/auto-import.exp: Use $ld to link the dll for
cygwin, not $CC.