public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp>
To: cygwin@cygwin.com
Subject: Re: multiple definition of `atan2l' on the current Cygwin
Date: Sun, 17 Apr 2016 04:29:00 -0000	[thread overview]
Message-ID: <68849.3623.qm@web101119.mail.kks.yahoo.co.jp> (raw)
In-Reply-To: <20160414135235.GE1264@calimero.vinschen.de>

> 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 <<EOF
>>  #include <cstdio>
>>  #include <cmath>
>> 
>>  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

  parent reply	other threads:[~2016-04-17  4:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12  8:11 Tatsuro MATSUOKA
2016-04-12 13:39 ` Corinna Vinschen
2016-04-13  0:09   ` Tatsuro MATSUOKA
2016-04-13  8:11     ` Corinna Vinschen
2016-04-13 16:57     ` René Berber
2016-04-13 17:26       ` Marco Atzeri
2016-04-14  7:52       ` Corinna Vinschen
2016-04-14 10:00         ` Takashi Yano
2016-04-14 13:52           ` Corinna Vinschen
2016-04-14 22:32             ` JonY
2016-04-17  4:29             ` Tatsuro MATSUOKA [this message]
2016-04-17  5:15             ` Tatsuro MATSUOKA
2016-04-18 23:33             ` Tatsuro MATSUOKA
  -- strict thread matches above, loose matches on Subject: below --
2016-04-04 23:54 Mintty font problem Paul Ausbeck
2016-04-10 19:50 ` john refling
2016-04-10 20:18   ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
2016-04-11  6:37     ` Achim Gratz
2016-04-11 20:42       ` Tatsuro MATSUOKA
2016-04-11 20:56         ` Ken Brown
2016-04-12  3:07           ` multiple definition of `atan2l' on the current Cygwin Tatsuro MATSUOKA
2016-04-12 17:03             ` Warren Young
2016-04-12  8:15           ` Tatsuro MATSUOKA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68849.3623.qm@web101119.mail.kks.yahoo.co.jp \
    --to=tmacchant2@yahoo.co.jp \
    --cc=cygwin@cygwin.com \
    --cc=matsuoka@nuce.nagoya-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).