From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10297 invoked by alias); 17 Apr 2016 04:29:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10284 invoked by uid 89); 17 Apr 2016 04:29:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=tatsuro, Tatsuro, gnuplot, H*F:D*yahoo.co.jp X-HELO: nh605-vm4.bullet.mail.ssk.yahoo.co.jp Received: from nh605-vm4.bullet.mail.ssk.yahoo.co.jp (HELO nh605-vm4.bullet.mail.ssk.yahoo.co.jp) (182.22.90.77) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 Apr 2016 04:29:42 +0000 Received: from [182.22.66.103] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 17 Apr 2016 04:29:39 -0000 Received: from [182.22.91.129] by t601.bullet.mail.ssk.yahoo.co.jp with NNFMP; 17 Apr 2016 04:29:39 -0000 Received: from [127.0.0.1] by omp602.mail.ssk.yahoo.co.jp with NNFMP; 17 Apr 2016 04:29:39 -0000 Received: (qmail 18128 invoked by uid 60001); 17 Apr 2016 04:29:39 -0000 Message-ID: <68849.3623.qm@web101119.mail.kks.yahoo.co.jp> Received: from [133.6.57.2] by web101119.mail.kks.yahoo.co.jp via HTTP; Sun, 17 Apr 2016 13:29:38 JST X-YMail-JAS: lS1X3hUVM1l.oUdwe49hNQZ4kOo6f_IMdyDnBJEIpYwH1WXthw9XSg6E.7Uzs_ritn5eImBkuqi_WvnT0NKfBlSk33uhU6DbMB40A4f4GKnrqe9EwkPy7HplvHcbe6qf1hNn References: <888012.8502.qm@web101106.mail.kks.yahoo.co.jp> <20160412133924.GO9870@calimero.vinschen.de> <58477.93886.qm@web101112.mail.kks.yahoo.co.jp> <20160414075205.GD1264@calimero.vinschen.de> <20160414190025.fec117c21bb05fd0ac28592e@nifty.ne.jp> <20160414135235.GE1264@calimero.vinschen.de> Date: Sun, 17 Apr 2016 04:29:00 -0000 From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: multiple definition of `atan2l' on the current Cygwin To: cygwin@cygwin.com In-Reply-To: <20160414135235.GE1264@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00401.txt.bz2 > From: Corinna Vinschen > > To: cygwin> Cc: JonY > Date: 2016/4/14, Thu 22:52 > Subject: Re: multiple definition of `atan2l' on the current Cygwin >=20 > 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=20 > thereof) not >> > complain? >>=20 >> It is because optimizer removes the function call. >>=20 >> Try: >>=20 >> $ cat > m.cc <> #include >> #include >>=20 >> int main() >> { >> =A0 long double x, y; >> =A0 scanf("%Lf %Lf", &x, &y); >> =A0 printf("%Lf\n", atan2l(x,y)); >> =A0 return 0; >> } >> EOF >> $ g++ m.cc -lm >=20 > Thanks!=A0 So that's why my testcase didn't work :} >=20 > This is actually a problem in libstdc++-v3.=A0 On platforms missing > certain long double functions libstdc++-v3 is built with stub functions > using the same name. >=20 > Jon, any chance to rebuild the gcc packages ASAP? >=20 >=20 > Thanks, > Corinna I have confirmed the mutiple definition error does not occur on gnuplot bui= ld with=20 gcc-5.3.0-4 today. Thanks! Tatsuro -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple