* 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ 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; 16+ 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] 16+ messages in thread
* Mintty font problem
@ 2016-04-04 23:54 Paul Ausbeck
2016-04-10 19:50 ` john refling
0 siblings, 1 reply; 16+ 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] 16+ messages in thread
* Re: Mintty font problem
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
0 siblings, 1 reply; 16+ 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] 16+ messages in thread
* Postinstall script errors on cygwin x86 install
2016-04-10 19:50 ` john refling
@ 2016-04-10 20:18 ` Tatsuro MATSUOKA
2016-04-11 6:37 ` Achim Gratz
0 siblings, 1 reply; 16+ 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] 16+ 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-11 6:37 ` Achim Gratz
2016-04-11 20:42 ` Tatsuro MATSUOKA
0 siblings, 1 reply; 16+ 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] 16+ 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:56 ` Ken Brown
0 siblings, 1 reply; 16+ 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] 16+ messages in thread
end of thread, other threads:[~2016-04-18 23:33 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
-- 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
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).