www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/18/19:33:54

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:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=VtSY/AL3V3hROOIwOHtsU6JD6Ty9IMGqjpZiJH+G1T3
5bkk7msxqR+FpypVa3mKnriLZ6K2PSxXxH3naGFC5eqhOiFzfOBDSZjLaFN49bJZ
b3mUVSTpK/kdsUgpg5KD149BRho601NC9jLtwI2+Odp6zX7iECdz6bR3c+mJ7N8Q
=
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:mime-version:content-type:content-transfer-encoding;
s=default; bh=TfVMlBXxByaMSl63ByDKrHIyzEw=; b=IrQMBnKLne5LvjfSk
k8NTTBqShVzrAE2H8clbf8dj/EiMSRcaaeyg3N2let20/CrhZH5kGiv0EdWAIYHK
+4jmcWz6aE3I5elwf3w67AIqVcBzTF9w2QcOpe/jpJ066VYYeNezveWL+fmjkIJz
adQpFQqkDFYmDlCjYSaum4F+Vc=
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=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS,URI_HEX autolearn=no version=3.3.2 spammy=UD:n5.nabble.com, matsuoka, MATSUOKA, UD:1069669.n5.nabble.com
X-HELO: nh603-vm2.bullet.mail.ssk.yahoo.co.jp
Message-ID: <723160.53695.qm@web101116.mail.kks.yahoo.co.jp>
X-YMail-JAS: jEup7rUVM1kylNE3GpC993U9t.pZgvcFqk0LpLc3kf4vdddjts16Ph3UF9iOcqnmJDvMN4omf.3XuzZlAFXgsvQIVi.rSw8x49FoDiyaMZpcjUSF1fA1kVhOT5LW1jVGYMta
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> <20160414135235 DOT GE1264 AT calimero DOT vinschen DOT de>
Date: Tue, 19 Apr 2016 08:33:22 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp>
Reply-To: Tatsuro MATSUOKA <matsuoka AT nuce DOT nagoya-u DOT ac DOT jp>
Subject: Re: multiple definition of `atan2l' on the current Cygwin
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3INXnmA014973

> From: Tatsuro MATSUOKA
> To: cygwin
           > Cc: 
> Date: 2016/4/17, Sun 14:15
> Subject: Re: multiple definition of `atan2l' on the current Cygwin
> 
>>  I have confirmed the mutiple definition error does not occur on gnuplot 
> build 
>>  with 
>>  gcc-5.3.0-4 today.
>>  Thanks!
>>  Tatsuro
> 
> The above is for Cygwin X86.
> Cygwin 64 still has problem
> // m.cc
> #include <cstdio> 
> #include <cmath> 
> 
> int main() 
> { 
>   long double x, y; 
>   scanf("%Lf %Lf", &x, &y); 
>   printf("%Lf\n", atan2l(x,y)); 
>   return 0; 
> } 
> //m.cc
> LANG=C g++ m.cc -lm
> /usr/lib/gcc/x86_64-pc-cygwin/5.3.0/libstdc++.dll.a(d005836.o):(.text+0x0): 
> multiple definition of `atan2l'
> /usr/lib/../lib/libm.a(t-d000195.o):fake:(.text+0x0): first defined here
> collect2: error: ld returned 1 exit status
> Tatsuro

gcc-5.3.0 for x86 has been updated to gcc-5.3.0-5
http://cygwin.1069669.n5.nabble.com/Updated-gcc-5-3-0-5-x64-td126377.html  
I confirmed this update resolve this issue.
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


- Raw text -


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