public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Mintty font problem
@ 2016-04-04 23:54 Paul Ausbeck
  2016-04-05  0:41 ` Thomas Wolff
  2016-04-10 19:50 ` Mintty font problem john refling
  0 siblings, 2 replies; 33+ messages in thread
From: Paul Ausbeck @ 2016-04-04 23:54 UTC (permalink / raw)
  To: cygwin

Cygwin setup just updated some older packages while installing a 
requested new component and now mintty does not recognize fonts 
properly. I was previously using lucinda-console but now some default 
font is being used. When I try to change the mintty font through the 
Options... dialog, the following message appears when I press Select...:

"There are no fonts installed.
  Open the Fonts folder from the Control Panel to install fonts."

I've looked through the cygwin announce history and mintty v2.3.3 
advertises some font support changes. I'm still running Windows XP on 
this machine and I'm wondering if it could be that this new version of 
mintty has not been tested on XP?


--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Mintty font problem
  2016-04-04 23:54 Mintty font problem Paul Ausbeck
@ 2016-04-05  0:41 ` Thomas Wolff
  2016-04-07 19:26   ` Mintty font selection problem on Windows XP Thomas Wolff
  2016-04-10 19:50 ` Mintty font problem john refling
  1 sibling, 1 reply; 33+ messages in thread
From: Thomas Wolff @ 2016-04-05  0:41 UTC (permalink / raw)
  To: cygwin

Am 05.04.2016 um 01:54 schrieb Paul Ausbeck:
> Cygwin setup just updated some older packages while installing a 
> requested new component and now mintty does not recognize fonts 
> properly. I was previously using lucinda-console but now some default 
> font is being used. When I try to change the mintty font through the 
> Options... dialog, the following message appears when I press Select...:
>
> "There are no fonts installed.
>  Open the Fonts folder from the Control Panel to install fonts."
>
> I've looked through the cygwin announce history and mintty v2.3.3 
> advertises some font support changes. I'm still running Windows XP on 
> this machine and I'm wondering if it could be that this new version of 
> mintty has not been tested on XP?
It hasn't, in fact. I'll check that.

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Mintty font selection problem on Windows XP
  2016-04-05  0:41 ` Thomas Wolff
@ 2016-04-07 19:26   ` Thomas Wolff
  0 siblings, 0 replies; 33+ messages in thread
From: Thomas Wolff @ 2016-04-07 19:26 UTC (permalink / raw)
  To: cygwin, paula

Am 05.04.2016 um 02:40 schrieb Thomas Wolff:
> Am 05.04.2016 um 01:54 schrieb Paul Ausbeck:
>> Cygwin setup just updated some older packages while installing a 
>> requested new component and now mintty does not recognize fonts 
>> properly. I was previously using lucinda-console but now some default 
>> font is being used. When I try to change the mintty font through the 
>> Options... dialog, the following message appears when I press Select...:
>>
>> "There are no fonts installed.
>>  Open the Fonts folder from the Control Panel to install fonts."
>>
>> I've looked through the cygwin announce history and mintty v2.3.3 
>> advertises some font support changes. I'm still running Windows XP on 
>> this machine and I'm wondering if it could be that this new version 
>> of mintty has not been tested on XP?
> It hasn't, in fact. I'll check that.
This is fixed in the repository. Can you compile 
https://github.com/mintty/mintty/archive/master.zip and retry?
Thomas

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Mintty font problem
  2016-04-04 23:54 Mintty font problem Paul Ausbeck
  2016-04-05  0:41 ` Thomas Wolff
@ 2016-04-10 19:50 ` john refling
  2016-04-10 20:18   ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
  2016-04-11 20:25   ` Mintty font problem Thomas Wolff
  1 sibling, 2 replies; 33+ messages in thread
From: john refling @ 2016-04-10 19:50 UTC (permalink / raw)
  To: cygwin

Paul Ausbeck <paula <at> soe.ucsc.edu> writes:

> 
> Cygwin setup just updated some older packages while installing a 
> requested new component and now mintty does not recognize fonts 
> properly. I was previously using lucinda-console but now some default 
> font is being used. When I try to change the mintty font through the 
> Options... dialog, the following message appears when I press Select...:
> 
> "There are no fonts installed.
>   Open the Fonts folder from the Control Panel to install fonts."
> 
> I've looked through the cygwin announce history and mintty v2.3.3 
> advertises some font support changes. I'm still running Windows XP on 
> this machine and I'm wondering if it could be that this new version of 
> mintty has not been tested on XP?
> 
> 


I'm having the same problem with a new XP install and cygwin, where it 
worked before.  Tried v 2.3.3, v2.3.5, and older archived v2.2.4 which 
certainly worked fine on previous XP machine.  Nothing works now, so not 
sure if it is mintty or XP setup.  Exact same XP install disk as previous.  
Different hardware.

One MS forum suggested to make sure that at least 1 printer was installed to 
make fonts visible in some applications.

Another suggested checking permissions on the font directory.

A cygwin forum suggested that there might be no monospace fonts installed 
and that mintty needs monospaced fonts only (make sense).

I've tried all the above, and no luck.

Something else suggested using tweakui to rebuild certain system folders.

I'll try that next.

John Refling


--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Postinstall script errors on cygwin x86 install
  2016-04-10 19:50 ` Mintty font problem john refling
@ 2016-04-10 20:18   ` Tatsuro MATSUOKA
  2016-04-10 22:12     ` Ken Brown
                       ` (2 more replies)
  2016-04-11 20:25   ` Mintty font problem Thomas Wolff
  1 sibling, 3 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-10 20:18 UTC (permalink / raw)
  To: cygwin

Hello
I have tried to install Cygwin x86 in my netbook (win 10 32bit).
Only default packages were installed.
In the final panel, I saw  the following:
Postinstall script errors
<snip>
Package: 0/Perpetual
 0p_000_autorebase.dash exit code 2
 0p_update-info-dir.dash exit code 2
Package: _/base-cygwin
 000-cygwin-post-install.sh exit code 254
Package: _/coreutils
 coreutils.sh exit code 127
Package: _/bash
 bash.sh exit code 254
Package: _/base-files
 base-files-mketc.sh exit code 254
 base-files-profile.sh exit code 254
Package: _/ca-certificates
 ca-certificates.sh exit code 254
Package: _/lynx
 lynx.sh exit code 254
Package: _/man-db
 man-db.sh exit code 254
What were happened?
As expecteded from the errors above installed Cywin were buggy 
and colud not be usable

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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-10 20:18   ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
@ 2016-04-10 22:12     ` Ken Brown
  2016-04-10 22:54       ` Tatsuro MATSUOKA
  2016-04-11  6:37     ` Achim Gratz
  2016-04-16 15:51     ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
  2 siblings, 1 reply; 33+ messages in thread
From: Ken Brown @ 2016-04-10 22:12 UTC (permalink / raw)
  To: cygwin

On 4/10/2016 4:18 PM, Tatsuro MATSUOKA wrote:
> Hello
> I have tried to install Cygwin x86 in my netbook (win 10 32bit).
> Only default packages were installed.
> In the final panel, I saw  the following:
> Postinstall script errors
> <snip>
> Package: 0/Perpetual
>   0p_000_autorebase.dash exit code 2
>   0p_update-info-dir.dash exit code 2
> Package: _/base-cygwin
>   000-cygwin-post-install.sh exit code 254
> Package: _/coreutils
>   coreutils.sh exit code 127
> Package: _/bash
>   bash.sh exit code 254
> Package: _/base-files
>   base-files-mketc.sh exit code 254
>   base-files-profile.sh exit code 254
> Package: _/ca-certificates
>   ca-certificates.sh exit code 254
> Package: _/lynx
>   lynx.sh exit code 254
> Package: _/man-db
>   man-db.sh exit code 254
> What were happened?
> As expecteded from the errors above installed Cywin were buggy
> and colud not be usable

Take a look at var/log/setup.log.full and see if it gives any clues as 
to why the postinstall scripts are failing.  You could also try running 
them manually.

Ken


--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-10 22:12     ` Ken Brown
@ 2016-04-10 22:54       ` Tatsuro MATSUOKA
  0 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-10 22:54 UTC (permalink / raw)
  To: Ken Brown, cygwin

> From: Ken Brown 
> To: cygwin
           > Cc: 
> Date: 2016/4/11, Mon 07:12
> Subject: Re: Postinstall script errors on cygwin x86 install
> 
> On 4/10/2016 4:18 PM, Tatsuro MATSUOKA wrote:
>>  Hello
>>  I have tried to install Cygwin x86 in my netbook (win 10 32bit).
>>  Only default packages were installed.
>>  In the final panel, I saw  the following:
>>  Postinstall script errors
>>  <snip>
>>  Package: 0/Perpetual
>>    0p_000_autorebase.dash exit code 2
>>    0p_update-info-dir.dash exit code 2
>>  Package: _/base-cygwin
>>    000-cygwin-post-install.sh exit code 254
>>  Package: _/coreutils
>>    coreutils.sh exit code 127
>>  Package: _/bash
>>    bash.sh exit code 254
>>  Package: _/base-files
>>    base-files-mketc.sh exit code 254
>>    base-files-profile.sh exit code 254
>>  Package: _/ca-certificates
>>    ca-certificates.sh exit code 254
>>  Package: _/lynx
>>    lynx.sh exit code 254
>>  Package: _/man-db
>>    man-db.sh exit code 254
>>  What were happened?
>>  As expecteded from the errors above installed Cywin were buggy
>>  and colud not be usable
> 
> Take a look at var/log/setup.log.full and see if it gives any clues as to why 
> the postinstall scripts are failing.  You could also try running them manually.
> 
Thanks!
I will try when I will be back to my home.
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-10 20:18   ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
  2016-04-10 22:12     ` Ken Brown
@ 2016-04-11  6:37     ` Achim Gratz
  2016-04-11 20:42       ` Tatsuro MATSUOKA
  2016-04-16 15:51     ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
  2 siblings, 1 reply; 33+ messages in thread
From: Achim Gratz @ 2016-04-11  6:37 UTC (permalink / raw)
  To: cygwin

>
[Please don't reply to some totally unrelated message when you're starting a
new thread.]

Tatsuro MATSUOKA <tmacchant2 <at> yahoo.co.jp> writes:
> I have tried to install Cygwin x86 in my netbook (win 10 32bit).
> Only default packages were installed.

Please check /var/log/setup.log.full for what those errors were
specifically.  What is the user you are running setup under?


Regards,
Achim.



^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Mintty font problem
  2016-04-10 19:50 ` Mintty font problem john refling
  2016-04-10 20:18   ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
@ 2016-04-11 20:25   ` Thomas Wolff
  1 sibling, 0 replies; 33+ messages in thread
From: Thomas Wolff @ 2016-04-11 20:25 UTC (permalink / raw)
  To: cygwin

Am 10.04.2016 um 21:35 schrieb john refling:
> Paul Ausbeck <paula <at> soe.ucsc.edu> writes:
>
>> "There are no fonts installed.
>>    Open the Fonts folder from the Control Panel to install fonts."
>> ... on XP?
> I'm having the same problem with a new XP install and cygwin, where it
> worked before.  Tried v 2.3.3, v2.3.5, and older archived v2.2.4 which
> certainly worked fine on previous XP machine.  Nothing works now, so not
> sure if it is mintty or XP setup.  Exact same XP install disk as previous.
> Different hardware.
>
> One MS forum suggested to make sure that at least 1 printer was installed to
> make fonts visible in some applications.
>
> Another suggested checking permissions on the font directory.
>
> A cygwin forum suggested that there might be no monospace fonts installed
> and that mintty needs monospaced fonts only (make sense).
>
> I've tried all the above, and no luck.
>
> Something else suggested using tweakui to rebuild certain system folders.
>
> I'll try that next.
Don't try so much. As I had responded before, this has been fixed in the 
repository.
Thomas

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-11  6:37     ` Achim Gratz
@ 2016-04-11 20:42       ` Tatsuro MATSUOKA
  2016-04-11 20:51         ` Achim Gratz
  2016-04-11 20:56         ` Ken Brown
  0 siblings, 2 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-11 20:42 UTC (permalink / raw)
  To: Achim Gratz, cygwin

> From: Achim Gratz
> To: cygwin
> Cc: 
> Date: 2016/4/11, Mon 15:37
> Subject: Re: Postinstall script errors on cygwin x86 install
           
> [Please don't reply to some totally unrelated message when you're 
> starting a
> new thread.]

> [Please don't reply to some totally unrelated message when you're 
> starting a
> new thread.]
Sorry I will take care for that.
> Please check /var/log/setup.log.full for what those errors were
> specifically.  What is the user you are running setup under?
> 
Today number of errors is reduced.
*******************************************
Package: 0/Perpetual
 0p_000_autorebase.dash exit code 2
 0p_update-info-dir.dash exit code 2
Package: _/Unknown package
 000-cygwin-post-install.sh exit code 254
 base-files-mketc.sh exit code 1
 base-files-profile.sh exit code 254
 bash.sh exit code 254
 ca-certificates.sh exit code 254
 coreutils.sh exit code 254
 lynx.sh exit code 254
 man-db.sh exit code 127
***************************************
/var/log/setup.log.full
is uploaded below (zipped)
http://www.geocities.jp/tmacchant2/setup.log.full.20160412.zip
Typical message;

3are unable to find another cygwin DLL.installed the cygwin distribution.  Rebooting is also suggested if youreside in x:\cygwin\bin, where 'x' is the drive on which you haveand delete all but the most recent version.  The most recent version *should*Search for cygwin1.dll using the Windows Start->Find/Search facilityThis problem is probably due to using incompatible versions of the cygwin DLL.      6 [main] bash (7088) c:\cygwin\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0xC0F400/0xBDF400.
However, I have only one x\cygwin\bin and x is C.
Tatsuro
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-11 20:42       ` Tatsuro MATSUOKA
@ 2016-04-11 20:51         ` Achim Gratz
  2016-04-11 20:56         ` Ken Brown
  1 sibling, 0 replies; 33+ messages in thread
From: Achim Gratz @ 2016-04-11 20:51 UTC (permalink / raw)
  To: cygwin

Tatsuro MATSUOKA writes:
> 6 [main] bash (7088) c:\cygwin\bin\bash.exe: *** fatal error
> - cygheap base mismatch detected - 0xC0F400/0xBDF400.
> However, I have only one x\cygwin\bin and x is C.

Well, since that cygheap base address is changing, I guess this comes
down to BLODA.  What malware scanner are you using?  Can you exempt the
Cygwin installation from its actions?

But please try to install Cygwin into some other directory
that is not directly in the root of your drive (something like
C:\Freeware\Cygwin).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-11 20:42       ` Tatsuro MATSUOKA
  2016-04-11 20:51         ` Achim Gratz
@ 2016-04-11 20:56         ` Ken Brown
  2016-04-12  1:41           ` Warning: Mismatch between the program and library build versions detted. (WxWidgets) Tatsuro MATSUOKA
                             ` (3 more replies)
  1 sibling, 4 replies; 33+ messages in thread
From: Ken Brown @ 2016-04-11 20:56 UTC (permalink / raw)
  To: cygwin

On 4/11/2016 4:42 PM, Tatsuro MATSUOKA wrote:
> 3are unable to find another cygwin DLL.installed the cygwin distribution.  Rebooting is also suggested if youreside in x:\cygwin\bin, where 'x' is the drive on which you haveand delete all but the most recent version.  The most recent version *should*Search for cygwin1.dll using the Windows Start->Find/Search facilityThis problem is probably due to using incompatible versions of the cygwin DLL.      6 [main] bash (7088) c:\cygwin\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0xC0F400/0xBDF400.
> However, I have only one x\cygwin\bin and x is C.

cygcheck output as requested at http://cygwin.com/problems.html might 
help diagnose the problem:

"Run cygcheck -s -v -r > cygcheck.out and include that file *as an 
attachment* in your report. Please do not compress or otherwise encode 
the output. Just attach it as a straight text file so that it can be 
easily viewed."

Ken

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Warning: Mismatch between the program and library build versions detted. (WxWidgets)
  2016-04-11 20:56         ` Ken Brown
@ 2016-04-12  1:41           ` Tatsuro MATSUOKA
  2016-04-12  8:43             ` Marco Atzeri
  2016-04-12  3:01           ` Tatsuro MATSUOKA
                             ` (2 subsequent siblings)
  3 siblings, 1 reply; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-12  1:41 UTC (permalink / raw)
  To: cygwin

Hello
I have met the following waring gnuplot with wxt terminal
Terminal type set to 'wxt'
gnuplot> plot sin(x)
10:33:39: Warning: Mismatch between the program and library build versions detted.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatie with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,coatible with 2.8).
I do not have enough knowldge of difference between C++ ABI 1009 and C++ ABI 1002.
Any suggestions?
# For the program execution, I do not have troubles from the warining.
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Warning: Mismatch between the program and library build versions detted. (WxWidgets)
  2016-04-11 20:56         ` Ken Brown
  2016-04-12  1:41           ` Warning: Mismatch between the program and library build versions detted. (WxWidgets) Tatsuro MATSUOKA
@ 2016-04-12  3:01           ` Tatsuro MATSUOKA
  2016-04-12  3:07           ` multiple definition of `atan2l' on the current Cygwin Tatsuro MATSUOKA
  2016-04-12  8:15           ` Tatsuro MATSUOKA
  3 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-12  3:01 UTC (permalink / raw)
  To: cygwin

> From: Tatsuro MATSUOKA
>To: cygwin
> Cc: 
> Date: 2016/4/12, Tue 10:41
> Subject: Warning: Mismatch between the program and library build versions detted. (WxWidgets)
> 
> Hello
> I have met the following waring gnuplot with wxt terminal
> Terminal type set to 'wxt'
> gnuplot> plot sin(x)
> 10:33:39: Warning: Mismatch between the program and library build versions 
> detted.
> The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatie 
> with 2.8),
> and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx 
> containers,coatible with 2.8).
> I do not have enough knowldge of difference between C++ ABI 1009 and C++ ABI 
> 1002.
> Any suggestions?
> # For the program execution, I do not have troubles from the warining.
> Tatsuro

I have forgetton to execute setup_x86-64 before gnuplot buliding.
Setup seems to upgrade the cygwin and gcc-5.3.0 (to 5.3.0-3).
After setup, the warning was disappeared.
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* multiple definition of `atan2l' on the current Cygwin
  2016-04-11 20:56         ` Ken Brown
  2016-04-12  1:41           ` Warning: Mismatch between the program and library build versions detted. (WxWidgets) Tatsuro MATSUOKA
  2016-04-12  3:01           ` Tatsuro MATSUOKA
@ 2016-04-12  3:07           ` Tatsuro MATSUOKA
  2016-04-12 17:03             ` Warren Young
  2016-04-12  8:15           ` Tatsuro MATSUOKA
  3 siblings, 1 reply; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-12  3:07 UTC (permalink / raw)
  To: cygwin

I have updated Cygwin_x86 and Cygwin_x86-64 today.
In building the gnuplot I have met the error of "multiple definition of `atan2l'".
/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
Makefile:777: recipe for target 'gnuplot.exe' failed
This did not occur yesterday.
Perhaps the latest change gcc-5.3.0 give this results.
At the moment a workaroud is :
LDFLAGS='-Wl,--allow-multiple-definition' \
at configure.
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-11 20:56         ` Ken Brown
                             ` (2 preceding siblings ...)
  2016-04-12  3:07           ` multiple definition of `atan2l' on the current Cygwin Tatsuro MATSUOKA
@ 2016-04-12  8:15           ` Tatsuro MATSUOKA
  3 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-12  8:15 UTC (permalink / raw)
  To: cygwin

Please inore this post.
I have made a mistake to post under the different thread.

       
       
> From: Tatsuro MATSUOKA 
> To: cygwin
> Cc: 
> Date: 2016/4/12, Tue 12:06
> Subject: multiple definition of `atan2l' on the current Cygwin
> 
> I have updated Cygwin_x86 and Cygwin_x86-64 today.
> In building the gnuplot I have met the error of "multiple definition of 
> `atan2l'".
> /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
> Makefile:777: recipe for target 'gnuplot.exe' failed
> This did not occur yesterday.
> Perhaps the latest change gcc-5.3.0 give this results.
> At the moment a workaroud is :
> LDFLAGS='-Wl,--allow-multiple-definition' \
> at configure.
> 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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Warning: Mismatch between the program and library build versions detted. (WxWidgets)
  2016-04-12  1:41           ` Warning: Mismatch between the program and library build versions detted. (WxWidgets) Tatsuro MATSUOKA
@ 2016-04-12  8:43             ` Marco Atzeri
  0 siblings, 0 replies; 33+ messages in thread
From: Marco Atzeri @ 2016-04-12  8:43 UTC (permalink / raw)
  To: cygwin

On 12/04/2016 03:41, Tatsuro MATSUOKA wrote:
> Hello
> I have met the following waring gnuplot with wxt terminal
> Terminal type set to 'wxt'
> gnuplot> plot sin(x)
> 10:33:39: Warning: Mismatch between the program and library build versions detted.
> The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatie with 2.8),
> and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,coatible with 2.8).
> I do not have enough knowldge of difference between C++ ABI 1009 and C++ ABI 1002.
> Any suggestions?
> # For the program execution, I do not have troubles from the warining.
> Tatsuro
>
>

Tatsuro,
can you please stop to reply to different unrelated threads
instead of starting a new one ?

It mess up the archives
https://cygwin.com/ml/cygwin/2016-04/threads.html

and mail reading.

Regards
Marco


--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-12  3:07           ` multiple definition of `atan2l' on the current Cygwin Tatsuro MATSUOKA
@ 2016-04-12 17:03             ` Warren Young
  0 siblings, 0 replies; 33+ messages in thread
From: Warren Young @ 2016-04-12 17:03 UTC (permalink / raw)
  To: The Cygwin Mailing List

On Apr 11, 2016, at 9:06 PM, Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp> wrote:
> 
> In building the gnuplot

Why aren’t you using the gnuplot package in the Cygwin package repository?

> I have met the error of "multiple definition of `atan2l’".

This is doubtless because that function was just added to Cygwin in 2.5.0.

Perhaps gnuplot is providing its own copy due to a naive platform test?  Have you tried a clean reconfigure and rebuild?
--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
@ 2016-04-16 15:51     ` Tatsuro MATSUOKA
  2016-04-16 15:58       ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-16 15:51 UTC (permalink / raw)
  To: cygwin

Sorry for I have posted to the unrelated thread.
Here the links to the previous post and replies.
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126120
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126121
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126124
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126127
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126152
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126154
http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-td125968.html#a126155
My problem is solved but I do not do detailed action.
Only things are done.
 1. Windows Update
 2. Reinstall Cygwin
Perhaps 1 or 2 and both is or are related to the solving issue.
Anyway, thanks for replies.
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: Postinstall script errors on cygwin x86 install
  2016-04-16 15:51     ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
@ 2016-04-16 15:58       ` Tatsuro MATSUOKA
  0 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-16 15:58 UTC (permalink / raw)
  To: cygwin

Sorry I have again misoperate the post.

Anyway my problem is solved and I will not post for this topic any longer.

Tatsuro



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Mintty-font-problem-tp125968p126351.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-14 13:52           ` Corinna Vinschen
                               ` (2 preceding siblings ...)
  2016-04-17  5:15             ` Tatsuro MATSUOKA
@ 2016-04-18 23:33             ` Tatsuro MATSUOKA
  3 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-18 23:33 UTC (permalink / raw)
  To: cygwin

> 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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-14 13:52           ` Corinna Vinschen
  2016-04-14 22:32             ` JonY
  2016-04-17  4:29             ` Tatsuro MATSUOKA
@ 2016-04-17  5:15             ` Tatsuro MATSUOKA
  2016-04-18 23:33             ` Tatsuro MATSUOKA
  3 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-17  5:15 UTC (permalink / raw)
  To: 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


--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-14 13:52           ` Corinna Vinschen
  2016-04-14 22:32             ` JonY
@ 2016-04-17  4:29             ` Tatsuro MATSUOKA
  2016-04-17  5:15             ` Tatsuro MATSUOKA
  2016-04-18 23:33             ` Tatsuro MATSUOKA
  3 siblings, 0 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-17  4:29 UTC (permalink / raw)
  To: cygwin

> 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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-14 13:52           ` Corinna Vinschen
@ 2016-04-14 22:32             ` JonY
  2016-04-17  4:29             ` Tatsuro MATSUOKA
                               ` (2 subsequent siblings)
  3 siblings, 0 replies; 33+ messages in thread
From: JonY @ 2016-04-14 22:32 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 340 bytes --]

On 4/14/2016 21:52, Corinna Vinschen wrote:
> 
> 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?
> 

Already on it, uploads should start over the weekends.



[-- Attachment #1.2: 0xD4EBC740.asc --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-14 10:00         ` Takashi Yano
@ 2016-04-14 13:52           ` Corinna Vinschen
  2016-04-14 22:32             ` JonY
                               ` (3 more replies)
  0 siblings, 4 replies; 33+ messages in thread
From: Corinna Vinschen @ 2016-04-14 13:52 UTC (permalink / raw)
  To: cygwin; +Cc: JonY

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

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

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-14  7:52       ` Corinna Vinschen
@ 2016-04-14 10:00         ` Takashi Yano
  2016-04-14 13:52           ` Corinna Vinschen
  0 siblings, 1 reply; 33+ messages in thread
From: Takashi Yano @ 2016-04-14 10:00 UTC (permalink / raw)
  To: cygwin

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

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  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
  1 sibling, 1 reply; 33+ messages in thread
From: Corinna Vinschen @ 2016-04-14  7:52 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

On Apr 13 11:55, René Berber wrote:
> On 4/12/2016 7:08 PM, Tatsuro MATSUOKA wrote:
> 
> [snip]
> > /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
> 
> Those lines point to the double definition very clearly.
> 
> In Linux, libstdc++ doesn't include atan2l, only libm has it.  The
> question then is: why is libstdc++ different?

If it's that simple, why does my STC (or a simple variation thereof) not
complain?


Corinna

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-13 16:57     ` René Berber
@ 2016-04-13 17:26       ` Marco Atzeri
  2016-04-14  7:52       ` Corinna Vinschen
  1 sibling, 0 replies; 33+ messages in thread
From: Marco Atzeri @ 2016-04-13 17:26 UTC (permalink / raw)
  To: cygwin

On 13/04/2016 18:55, René Berber wrote:
> On 4/12/2016 7:08 PM, Tatsuro MATSUOKA wrote:
>
> [snip]
>> /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
>
> Those lines point to the double definition very clearly.
>
> In Linux, libstdc++ doesn't include atan2l, only libm has it.  The
> question then is: why is libstdc++ different?
>

likely because it was built before that libm had it.
Only latest cygwin 2.5.0 has it.

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  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
  1 sibling, 2 replies; 33+ messages in thread
From: René Berber @ 2016-04-13 16:57 UTC (permalink / raw)
  To: cygwin

On 4/12/2016 7:08 PM, Tatsuro MATSUOKA wrote:

[snip]
> /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

Those lines point to the double definition very clearly.

In Linux, libstdc++ doesn't include atan2l, only libm has it.  The
question then is: why is libstdc++ different?
-- 
René Berber


--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-13  0:09   ` Tatsuro MATSUOKA
@ 2016-04-13  8:11     ` Corinna Vinschen
  2016-04-13 16:57     ` René Berber
  1 sibling, 0 replies; 33+ messages in thread
From: Corinna Vinschen @ 2016-04-13  8:11 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

On Apr 13 09:08, Tatsuro MATSUOKA wrote:
> > From: Corinna Vinschen > To: cygwin@cygwin.com
> > Cc: 
> > Date: 2016/4/12, Tue 22:39
> > Subject: Re: multiple definition of `atan2l' on the current Cygwin
> > 
> > On Apr 12 17:11, Tatsuro MATSUOKA wrote:
> >>  Hello
> >>  I have updated Cygwin_x86 and Cygwin_x86-64 today.
> >>  In building the gnuplot I have met the error of "multiple definition 
> > of `atan2l'".
> > I can't reproduce this with a simple testcase:
> > 
> >   $ cat > m.cc <<EOF
> >   #include <math.h>
> > 
> >   int main ()
> >   {
> >     atan2l (1.0, 2.0);
> >   }
> >   EOF
> >   $ g++ -g -o m m.cc -lm -lstdc++ -lm -lstdc++
> > 
> > This builds and links fine for me.
> > 
> > Is there a chance that gnuplot accidentally provides its own atan2l on
> > Cygwin, despite Cygwin 2.5.0 now providing it per C99?  Or did you, by
> > any chance, try to rebuild gnuplot without reconfiguring the build?
> > 
> > Can you please provide a simple, self-contained testcase?
> Your testcase also works here.
> I tried to make the test but I could not make a simple, self-contained testcase.
> Instead I copy and paste full compile command and output at the link.

That's not helpful, unfortunately.  What about my other questions?


Corinna

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  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
  0 siblings, 2 replies; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-13  0:09 UTC (permalink / raw)
  To: cygwin

> From: Corinna Vinschen > To: cygwin@cygwin.com
> Cc: 
> Date: 2016/4/12, Tue 22:39
> Subject: Re: multiple definition of `atan2l' on the current Cygwin
> 
> On Apr 12 17:11, Tatsuro MATSUOKA wrote:
>>  Hello
>>  I have updated Cygwin_x86 and Cygwin_x86-64 today.
>>  In building the gnuplot I have met the error of "multiple definition 
> of `atan2l'".
> I can't reproduce this with a simple testcase:
> 
>   $ cat > m.cc <<EOF
>   #include <math.h>
> 
>   int main ()
>   {
>     atan2l (1.0, 2.0);
>   }
>   EOF
>   $ g++ -g -o m m.cc -lm -lstdc++ -lm -lstdc++
> 
> This builds and links fine for me.
> 
> Is there a chance that gnuplot accidentally provides its own atan2l on
> Cygwin, despite Cygwin 2.5.0 now providing it per C99?  Or did you, by
> any chance, try to rebuild gnuplot without reconfiguring the build?
> 
> Can you please provide a simple, self-contained testcase?
Your testcase also works here.
I tried to make the test but I could not make a simple, self-contained testcase.
Instead I copy and paste full compile command and output at the link.
Tatsuro
*******************************************
c++  -g -O2 -I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -DWXUSINGDLL -D__WXGTK__  -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16  -L/usr/local/lib -lcerf  -o gnuplot.exe alloc.o axis.o breaders.o
 boundary.o color.o command.o contour.o datablock.o datafile.o dynarray.o eval.o external.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o jitter.o libcerf.o matrix.o misc.o mouse.o multiplot.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stats.o stdfn.o tables.o tabulate.o term.o time.o unset.o util.o util3d.o variable.o version.o wxterminal/wxt_gui.o wxterminal/gp_cairo.o wxterminal/gp_cairo_helpers.o   -lz -lgd -lgd -ljpeg -lz -lpng16 -lm -lz -lfreetype -lbz2 -lz -lpng16 -lm -lz -lfontconfig -lexpat -lfreetype -lbz2 -lz -lpng16 -lm -lz -lexpat -lfreetype -lbz2 -lz -lpng16 -lm -lz -lfontconfig -lXpm -lX11 -lxcb -lXau -lXdmcp -lvpx -lm -lpthread -ltiff -llzma -ljbig -ljpeg -lz -liconv -llua -lcaca  -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_webview-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0
 -lwx_baseu_net-3.0 -lwx_baseu-3.0  -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype  -lcaca -lcerf  -lz -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lcairo -lglib-2.0 -lintl
/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

--
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

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: multiple definition of `atan2l' on the current Cygwin
  2016-04-12  8:11 multiple definition of `atan2l' on the current Cygwin Tatsuro MATSUOKA
@ 2016-04-12 13:39 ` Corinna Vinschen
  2016-04-13  0:09   ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 33+ messages in thread
From: Corinna Vinschen @ 2016-04-12 13:39 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

On Apr 12 17:11, Tatsuro MATSUOKA wrote:
> Hello
> I have updated Cygwin_x86 and Cygwin_x86-64 today.
> In building the gnuplot I have met the error of "multiple definition of `atan2l'".
> /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
> Makefile:777: recipe for target 'gnuplot.exe' failed
> This did not occur yesterday.
> Perhaps the latest change gcc-5.3.0 give this results.
> At the moment a workaroud is :
> LDFLAGS='-Wl,--allow-multiple-definition' \
> at configure.

I can't reproduce this with a simple testcase:

  $ cat > m.cc <<EOF
  #include <math.h>

  int main ()
  {
    atan2l (1.0, 2.0);
  }
  EOF
  $ g++ -g -o m m.cc -lm -lstdc++ -lm -lstdc++

This builds and links fine for me.

Is there a chance that gnuplot accidentally provides its own atan2l on
Cygwin, despite Cygwin 2.5.0 now providing it per C99?  Or did you, by
any chance, try to rebuild gnuplot without reconfiguring the build?

Can you please provide a simple, self-contained testcase?


Thanks,
Corinna

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* multiple definition of `atan2l' on the current Cygwin
@ 2016-04-12  8:11 Tatsuro MATSUOKA
  2016-04-12 13:39 ` Corinna Vinschen
  0 siblings, 1 reply; 33+ messages in thread
From: Tatsuro MATSUOKA @ 2016-04-12  8:11 UTC (permalink / raw)
  To: cygwin; +Cc: anrdaemon

Hello
I have updated Cygwin_x86 and Cygwin_x86-64 today.
In building the gnuplot I have met the error of "multiple definition of `atan2l'".
/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
Makefile:777: recipe for target 'gnuplot.exe' failed
This did not occur yesterday.
Perhaps the latest change gcc-5.3.0 give this results.
At the moment a workaroud is :
LDFLAGS='-Wl,--allow-multiple-definition' \
at configure.

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

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2016-04-18 23:33 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-04 23:54 Mintty font problem Paul Ausbeck
2016-04-05  0:41 ` Thomas Wolff
2016-04-07 19:26   ` Mintty font selection problem on Windows XP Thomas Wolff
2016-04-10 19:50 ` Mintty font problem john refling
2016-04-10 20:18   ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
2016-04-10 22:12     ` Ken Brown
2016-04-10 22:54       ` Tatsuro MATSUOKA
2016-04-11  6:37     ` Achim Gratz
2016-04-11 20:42       ` Tatsuro MATSUOKA
2016-04-11 20:51         ` Achim Gratz
2016-04-11 20:56         ` Ken Brown
2016-04-12  1:41           ` Warning: Mismatch between the program and library build versions detted. (WxWidgets) Tatsuro MATSUOKA
2016-04-12  8:43             ` Marco Atzeri
2016-04-12  3:01           ` Tatsuro MATSUOKA
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
2016-04-16 15:51     ` Postinstall script errors on cygwin x86 install Tatsuro MATSUOKA
2016-04-16 15:58       ` Tatsuro MATSUOKA
2016-04-11 20:25   ` Mintty font problem Thomas Wolff
2016-04-12  8:11 multiple definition of `atan2l' on the current Cygwin 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
2016-04-17  5:15             ` Tatsuro MATSUOKA
2016-04-18 23:33             ` Tatsuro MATSUOKA

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).