delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; q=dns; s=default; b=DeEeY0 | |
9Yyp04BuL4FpzWLWIjffk1J0CBhFt7z+QeDX4UC89SZOkjSV9cX3u2hAP9nyDDvo | |
Ck0GuA0Zva/FcW13sOxRAEkpyJnHXXtOhQU6v2hzi1n4TKmiaI+wD3zioEZYgIpt | |
hfqxttZGj1fp2EogyqI4QJLIAa20WAmMgFC+s= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; s=default; bh=zPwp/WQTTPTD | |
kFKWR/L4pLS9bwA=; b=dgyfsVMeVWph+UXROMV3xVQHtKPUo1W3QGDlJvei6cVr | |
sL9E2bksIYUGyu5r2VGnsDFAiHUVx9q1G3VkNNP7fzfnTKCUokz8MMDKb3Pzbgs3 | |
aam2WGOw8zA3s7VtwrL2P7R955SeO6zZK1vUEkoGrCCi2NKx/sZY88L6vUyrBnI= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
X-Spam-SWARE-Status: | No, score=-6.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 |
X-Received: | by 10.66.249.202 with SMTP id yw10mr4942422pac.145.1375270312560; Wed, 31 Jul 2013 04:31:52 -0700 (PDT) |
Message-ID: | <51F8F597.7040109@gmail.com> |
Date: | Wed, 31 Jul 2013 19:31:35 +0800 |
From: | JonY <10walls AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [BUG ?] Failed to rebuild Cygwin |
References: | <003401ce8dcb$a630b310$f2921930$%fedin AT samsung DOT com> <20130731095949 DOT GV4166 AT calimero DOT vinschen DOT de> <51F8E342 DOT 5020509 AT gmail DOT com> <20130731102826 DOT GX4166 AT calimero DOT vinschen DOT de> <20130731104701 DOT GY4166 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20130731104701.GY4166@calimero.vinschen.de> |
X-Virus-Found: | No |
------enig2VDWCMHQJQECKLEEJGQMK Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 7/31/2013 18:47, Corinna Vinschen wrote: > On Jul 31 12:28, Corinna Vinschen wrote: >> On Jul 31 18:13, JonY wrote: >>> On 7/31/2013 17:59, Corinna Vinschen wrote: >>>> On Jul 31 12:55, Pavel Fedin wrote: >>>>> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/crt2.o: In function >>>>> `__tmainCRTStartup': >>>>> /usr/src/debug/mingw64-x86_64-runtime-3.0b_svn5935-1/crt/crtexe.c:285: >>>>> undefined reference to `_set_invalid_parameter_handler' >>>>> /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libmingwex.a(lib64_= libming >>>>> wex_a-mingw_pformat.o): In function `__pformat_exponent_digits': >>>>> /usr/src/debug/mingw64-x86_64-runtime-3.0b_svn5935-1/stdio/mingw_pfor= mat.c:1 >>>>> 76: undefined reference to `_get_output_format' >>>>> collect2: error: ld returned 1 exit status >>>>> Makefile:143: recipe for target `cygwin-console-helper.exe' failed >>>>> make[3]: *** [cygwin-console-helper.exe] Error 1 >>>>> --- cut --- >>>>> Likely some MinGW CRT bug ? >>>> >>>> This also occurs on Fedora right now. >>>> >>>> AFAICS, the culprit is that the latest Cygwin w32api package doesn't >>>> match the files from mingw-crt for some reason. >>>> >>>> The build uses -L/usr/lib/w32api (-L/usr/i686-pc-cygwin/lib/w32api when >>>> cross building on Fedora), so the libs are taken from the w32api-runti= me >>>> package. However, the compiler uses the default crt file >>>> /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/crt2.o which is provid= ed >>>> by the mingw-crt package. >>>> >>>> This is a bug in Cygwin's Makefile since you should never use the w32a= pi >>>> stuff for mingw executables, only for Cygwin executables, but still... >>>> >>>> JonY, do you have an idea why the mingw-crt differs that much from the >>>> w32api stuff that the above error occurs? >>>> >>> >>> Likely, because _set_invalid_parameter_handler was a stub in mingwex >>> that loads msvcrt.dll, it was disabled as a quickfix, as it was using >>> mingw-w64 stdlib.h directly. I did not think Cygwin win32api might need= it. >>> >>> The build should be fixed on trunk, I will roll out a new release soon. >> >> Cool, thanks! >=20 > Erm... hang on. On second thought, I'm not sure that this is a bug. > The actual bug here was clearly in the Cygwin utils Makefile. >=20 > In fact, since w32api should only be used by Cygwin executables, why > should w32api provide libmingwex.a at all? Linking a Cygwin executable > against libmingwex doesn't sound like the right thing to do. Shouldn't > rather libmingwex.a just go from w32api? >=20 Can you see what happens if libmingwex.a was replaced by the empty libm.a? It is only _get_output_format require stuff from msvcrt, _set_invalid_parameter_handler just uses some typedef declaration. I'm starting to wonder if this require a deeper fix. ------enig2VDWCMHQJQECKLEEJGQMK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iQIcBAEBAgAGBQJR+PWfAAoJEHE7X+KcFF1FHYgP/iRqg8cdVr+y85+M81V92IFt f9NqFfiNEwis9IsiW1s+XEO0+4B1uszxNkD7945GmVqf1Wxui0zy3D+M9/grS/or +RJHclkMqCJQNFoDF/BtQ6YwBhYkpzqIXBgllsNcmtpWar3GWZ4B63BQgpP/MoyR DdirYR/XGRawSQaKAGkorczHvSDtS4mqN1Vepo3b/kMMvG2uOy0Gc6IzfgcmYnnE 9nKQar1uKwND6BpB5VDkb1S/93PQmp5NP8GZQbC1FZDR1rzTKtl9L93e9XmACqQo MGlRMlJ9ehhWiBap5928PRSIri5t9DkDD0LU1/F2tlw3bWlbPk5VPjsDLNmNNsWR Uxkyt0KMj+8nvrsSZsxOivdD998jsVFqicsnZe5Zij3N3yajISsdQ/tI7mSZMIWG 481CMhJx6708xoQCdLH74uLHtH17lI0c72sFRMIWLt+EMFL/YchsHTufDAXsWNvg c1GROdgSuznu/BhgRFmiFwslREj8VhPHctH4Gz22Jw8b2ulqr1M0pl5iRwbReOJL 1KzcmIKbLDJAvMZKWTqIUdNtXauHEw5aKcVtuIDfQ1QP4RWu6/vXb+96gWvtBNo6 ezw6w1BIMQfOeFwB22MyeQ4b9xmMLaidqE53satm2Z8YSsDSbd83Tep6+ivpm1q5 2DzzYnDvnrlSkWTDaVe6 =oWju -----END PGP SIGNATURE----- ------enig2VDWCMHQJQECKLEEJGQMK--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |