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:references:date:from:reply-to :subject:to:in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=QfZS+TbQwSzhLVoW UZeVgVllvRzTXUnmKih4uxmke2LMVdzPjWDAD1koZYPxXIZy+PV8IJwLcMCZfqoZ ZOu0S7pnPhybj+/w5vgKRoeWXQG0Z4T+hj1Gx5KbHO4/Bj+7zLq907unqj0aanu+ Dj8BJybCL71cOXK+wthVbA6UI5A= 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:references:date:from:reply-to :subject:to:in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=nwRB5nzrvT1ERbCEnBend5 nJcIM=; b=YxWt+EDAOQczVhLNlYSnGGmiBsyeFARjVv7ah6ZvotfCPBDjULJQb8 z8E2nboEKeBrga8kcIqKAPjPrhXjMr1MN5EiOMGSrFnWqHfZe5Qxrrt/gxoIZ/DD /tKdD4A11duzQs0WQL3NF5ygMf113j7pwqRw/g/Bv3fgFxYXuKrOE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Message-ID: <68849.3623.qm@web101119.mail.kks.yahoo.co.jp> X-YMail-JAS: lS1X3hUVM1l.oUdwe49hNQZ4kOo6f_IMdyDnBJEIpYwH1WXthw9XSg6E.7Uzs_ritn5eImBkuqi_WvnT0NKfBlSk33uhU6DbMB40A4f4GKnrqe9EwkPy7HplvHcbe6qf1hNn 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> <20160414075205 DOT GD1264 AT calimero DOT vinschen DOT de> <20160414190025 DOT fec117c21bb05fd0ac28592e AT nifty DOT ne DOT jp> <20160414135235 DOT GE1264 AT calimero DOT vinschen DOT de> Date: Sun, 17 Apr 2016 13:29:38 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: multiple definition of `atan2l' on the current Cygwin To: cygwin AT cygwin DOT com In-Reply-To: <20160414135235.GE1264@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3H4U8SC019963 > From: Corinna Vinschen > > To: cygwin> Cc: JonY > Date: 2016/4/14, Thu 22:52 > Subject: Re: multiple definition of `atan2l' on the current Cygwin > > On Apr 14 19:00, Takashi Yano wrote: >> Hi Corinna, >> >> 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? >> >> It is because optimizer removes the function call. >> >> Try: >> >> $ cat > m.cc <> #include >> #include >> >> 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 I have confirmed the mutiple definition error does not occur on gnuplot build with 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