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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=oyYEn+WfAUuIGq3XZie7XCAq+DDQizfPjuf1yeKj3Op0NSYtJoWbF | |
L5LwPGVKSLoFFOMoN68wwFHanoRxauFCmFssHpsGt/367dIUoY8x3gP7x4yk6Q8e | |
6Y+KW+T+khA8dnVOtZhHeLPNJNDeZ0BBQ92YcsrDl5yzfnAfAg0mRU= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=rRfGcKOFFWAGAMQVc7YFp1d/eY8=; b=bsXR4qg3db8gSKOq4WDmrTNuvjOe | |
jv3cfHbfquuqGHq1kvlYk1/HxiizSS1IY7BcAgMt+WIGzXir1coNzscQOZ9JCKTd | |
fEHHF0LTGq/+kK24A5eTWvruUQ/TI6U1Cm6IbkXUAVsrKnC4Qg+3MZpM0NbLD3hH | |
uLRMyE6ud9ACx/Y= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Tue, 4 Nov 2014 10:48:05 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: gcc packaging bug? |
Message-ID: | <20141104094805.GM28636@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <5457F7C2 DOT 9090204 AT cornell DOT edu> <5457FC00 DOT 5080907 AT gmail DOT com> <5457FDAF DOT 9050408 AT cygwin DOT com> <5458009E DOT 6030007 AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <5458009E.6030007@gmail.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--GeDkoc8jIzHasOdk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 4 06:24, JonY wrote: > On 11/4/2014 06:11, Yaakov Selkowitz wrote: > > On 2014-11-03 16:04, JonY wrote: > >> On 11/4/2014 05:46, Ken Brown wrote: > >>> The setup.hint files for gcc and its subpackages now say > >>> > >>> curr: 4.8.3-2 > >>> prev: 4.8.3-3 > >>> test: 4.9.2-1 > >>> > >>> I assume this is a typo; it causes everyone who is not installing the > >>> test release to get downgraded from 4.8.3-3 to 4.8.3-2. > >> > >> No, this is deliberate, 4.8.3-3 is bugged, it could not build later > >> versions of gcc. That wasn't what I meant on IRC. I thought we keep 4.8.3-3 while you're looking into 4.8.3-4. Especially given that this problem only occurs on 64 bit, but not on 32 bit, and 1.7.33 has a workaround for this problem. 4.8.3-2 is built without cxa_atexit support at all and thus the applications built with it are potentially missing functionality. The potential crash can easily be "fixed" by updating Cygwin to the test relase. > > How so? >=20 > As explained in the other email, it made failed link test return $? 0 > anyway. This broke the stage 1 libgcc configure tests. >=20 > Reverting to an older version of gcc and then using it to build 4.9.2-1 > succeeded. I also used 4.9.2-1 to build a copy of itself as test, seems > like it works. The only real change was changing atexit use to > __cxa_atexit in libgcc. >=20 > Corinna mentioned some problems with gcc misoptimizing atexit over IRC. It's not really misoptimizing. It's more a problem how atexit works in Cygwin, combined with GCCs tail call optimization. atexit tries to figure out the DSO which called it from the return address on the stack. GCCs tail call optimization eliminates the return address of the caller and thus the return address is not the one of the caller, but of the caller's caller in atexit. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --GeDkoc8jIzHasOdk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUWKDVAAoJEPU2Bp2uRE+gEb0P/jS3TiamoMtH479KUDMQ6+2E /5c15TUJ2INHQgpnDx2cRwLq4QI8SAvw+4IeOb+v7KqcgrHVoawH3VYn7U/5grDI XAFFopD9aY8fTNdoaxIhyWDmDCRndlH+u1CEah00wdTk4zq1tr1Ejk1XL+AuMah+ /SvzuqB/cJm9ayoI0wdGxvjPdKrftRnqBTD21H+lUx3GNFqpHFxPCuJrB+OxW+dV H8HACBOauDtY3IXd6mz3oVagp6H0OYX2CMFifXHw92DrEcJF2hK3u3lmFCo68cZY kNyRpVcsSuGn4YtdiHqtm0nJMTKUKqB+pKDeef/gAkUo9c4poFaUPjeyX1/pnNfl d/koDpuAG5++Pr9G4JTo68w5u6+NYPv2/jX452klAHMGkj2Jto4TexmEdmsyJTx9 71fLaAOcflqgNdD0dlpZnwbzfQQFo/N3kMk9ps+LIpSkkv+B0hYWnm/UWvlQZRSR mC+6K6uegie1oh37PrIwBDy4274wSCpBLW+CD+3RI0aaNZEY01KDEMM0koqrS6aa O8fSrdDqTvgTTm9Hl+0eycYTu/0hXUjgxI9BFZDalL9auYtPDbJWAEiGDbBAtoo8 C6QIDDhhUS/Vr/EF1CpmzF9j/Xb8nZfOhVa1Wkz+jY1OLHPJwC0BRGErBrIHcsem 6gLeB92Qv7R/DvPxY2bP =30FX -----END PGP SIGNATURE----- --GeDkoc8jIzHasOdk--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |