delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/14/09:53:07

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=wZF+dprUYsTAh5w6G4vMoQQtea6Z2NsFm3Wynpf6bR9XnhJGQKemF
HjBcJITqwgljuJBT++DNqIwJYhq9CzfX/QW23ILZnjk0oZtnV2ytriXm1t83y30O
SRHOSBw7Kt6iLjY6obJlCacaWcWjjNCpoZJyJaA4gsgxYBnEusPW4M=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=1dxuVRw3Qr2unYVHdOGIXphb8qc=; b=CD2L2MNGT8qvdp+ct4yg5N5NiXxA
OQWFKtVymkHuPhUovhJIjCj0fQ+Pq+g4WiwZPbBfRuoFbMlf4UZ+yFWQjNSZc4so
SBjJuc78ChBAy8BnPwYchrxnLj3J+xVglmmfYU50pMqq5SNJsNTJHRdKfdT8TpSw
5kLXnemml53DXuM=
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=-96.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=H*R:D*cygwin.com
X-HELO: calimero.vinschen.de
Date: Thu, 14 Apr 2016 15:52:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: JonY <10walls AT gmail DOT com>
Subject: Re: multiple definition of `atan2l' on the current Cygwin
Message-ID: <20160414135235.GE1264@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, JonY <10walls AT gmail DOT com>
References: <888012 DOT 8502 DOT qm AT web101106 DOT mail DOT kks DOT yahoo DOT co DOT jp> <20160412133924 DOT GO9870 AT calimero DOT vinschen DOT de> <58477 DOT 93886 DOT qm AT web101112 DOT mail DOT kks DOT yahoo DOT co DOT jp> <neltp4$c89$1 AT ger DOT gmane DOT org> <20160414075205 DOT GD1264 AT calimero DOT vinschen DOT de> <20160414190025 DOT fec117c21bb05fd0ac28592e AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20160414190025.fec117c21bb05fd0ac28592e@nifty.ne.jp>
User-Agent: Mutt/1.5.24 (2015-08-30)

--NDin8bjvE/0mNLFQ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr 14 19:00, Takashi Yano wrote:
> Hi Corinna,
>=20
> On Thu, 14 Apr 2016 09:52:05 +0200
> Corinna Vinschen wrote:
> > If it's that simple, why does my STC (or a simple variation thereof) not
> > complain?
>=20
> It is because optimizer removes the function call.
>=20
> Try:
>=20
> $ cat > m.cc <<EOF
> #include <cstdio>
> #include <cmath>
>=20
> int main()
> {
>   long double x, y;
>   scanf("%Lf %Lf", &x, &y);
>   printf("%Lf\n", atan2l(x,y));
>   return 0;
> }
> EOF
> $ g++ m.cc -lm

Thanks!  So that's why my testcase didn't work :}

This is actually a problem in libstdc++-v3.  On platforms missing
certain long double functions libstdc++-v3 is built with stub functions
using the same name.

Jon, any chance to rebuild the gcc packages ASAP?


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--NDin8bjvE/0mNLFQ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXD6CjAAoJEPU2Bp2uRE+gITUP/jhFzRj/kS0Z2WmSXrMdw1ej
74+TXYY1rgLb6CCOxxGkLCLWUecbDIPQnuxWfuASITH5JaEPy9RmBDk2jaW5TFyB
JwxZfMd91rqOYj8YgNNBnH2Bc1UG2FlF4z5NfoxIbchHnLghlAJRgJ+ifvupBpdJ
fKOyS/hFKg6/7Q84IcMRq57W+O+yUR9UFYkDQK2fDuQydJDs2QQ2Y4Xmfky11AtA
vyzKzN2yclGci8x0yAixoi934X6OV4kEd9EYXb5xhnVor/boO6+LXvu81FFNSlrN
kPHIPQKkP/61Hcj4ooPD2e/p/3gjXU4PAYhGF1ZtgAdZ513ub1qFCMmh6qGP1tkq
dMG3sDHlNYOzmJBF/XMj+LlLWBZoJifGfvgVSLpYBCdOOndC4ztAYJXs+7jSpfcl
P6DkT+9xi/mkX0ujeAK7ym2uFveaK9Cwjvvr4i4THnKegwW2I74k3gcoVY3l9Tpq
HjuiNBg4ryPnJsaIM6CTgNfXipOUhW8u7tVbyWgnXDWShEpyQLaVpFa+fVOfVd7W
G7AxGp6d7RqBB+MG8oZUP7zJUqFEiRCN/Q6H0A5Qm3FkicgmGL2TkP5ahJJnSvEC
Y8d0ug4Qjnrbu9EXK0y3vQueQHTcdOQL1QpmOJCNFKxnB2LUPo4PF2F21jryXJwy
Rv1/G4vQnmgyjZ0na6UC
=GbZ8
-----END PGP SIGNATURE-----

--NDin8bjvE/0mNLFQ--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019