Bug #25873 | Compile fails on CYGWIN_NT-5.1 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 C | ||
---|---|---|---|
Submitted: | 26 Jan 2007 16:02 | Modified: | 6 May 2007 17:18 |
Reporter: | Sebastian Nohn | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.0.34, 5.0.33 | OS: | Any (Cygwin) |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[26 Jan 2007 16:02]
Sebastian Nohn
[29 Jan 2007 9:35]
Sveta Smirnova
Thank you for the report. I can not repeat it on Linux.
[3 Feb 2007 12:38]
Sebastian Nohn
Then try it on Cygwin, it's reproducable.
[3 Feb 2007 13:17]
Valeriy Kravchuk
Bug #26048 was marked as a duplicate of this one. Formally we do not support compiling in Cygwin, that is why this bug report was closed when Sveta was not able to repeat it on Linux. But I'll try to get some comments from our build team on this.
[13 Feb 2007 15:56]
Sebastian Nohn
Same problem with 5.1.15-beta: /usr/bin/rm -f example1.r /usr/bin/rm -f example2.r /usr/bin/sed -e 's!\\!\\\\!g' example1.c > example1.r /usr/bin/sed -e 's!\\!\\\\!g' example2.c > example2.r /usr/bin/rm -f example3.r /usr/bin/sed -e 's!\\!\\\\!g' example3.c > example3.r /usr/bin/rm -f main.r /usr/bin/sed -e 's!\\!\\\\!g' main.c > main.r /usr/bin/rm -f factorial.r gcc -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wunused-parameter -O3 -fno-omit-frame-pointer factorial.c -o factorial /usr/bin/sed -e 's!\\!\\\\!g' factorial.c > factorial.r rm -f libdbug.a ar cru libdbug.a dbug.o sanity.o factorial.c:12:23: my_global.h: No such file or directory factorial.c: In function `factorial': factorial.c:17: warning: implicit declaration of function `DBUG_ENTER' factorial.c:18: warning: implicit declaration of function `DBUG_PRINT' factorial.c:18: warning: left-hand operand of comma expression has no effect factorial.c:22: warning: left-hand operand of comma expression has no effect factorial.c:23: warning: implicit declaration of function `DBUG_RETURN' factorial.c:24: warning: no return statement in function returning non-void factorial.c:24: warning: control reaches end of non-void function make[2]: *** [factorial] Error 1 make[2]: *** Waiting for unfinished jobs.... ranlib libdbug.a make[2]: Leaving directory `/tmp/mysql-5.1.15-beta/dbug' make[1]: *** [all-recursive] Error 1 make[1]: Leaving direct
[13 Feb 2007 16:35]
Sebastian Nohn
Same for 5.2.3-falcon-alpha: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wunused-parameter -O3 -fno-omit-frame-pointer -MT dbug_analyze.o -MD -MP -MF ".deps/dbug_analyze.Tpo" -c -o dbug_analyze.o dbug_analyze.c; \ then mv -f ".deps/dbug_analyze.Tpo" ".deps/dbug_analyze.Po"; else rm -f ".deps/dbug_analyze.Tpo"; exit 1; fi In file included from dbug_analyze.c:52: ../include/my_global.h:634: warning: weak declaration of '__cxa_pure_virtual' not supported dbug_analyze.c: In function `main': dbug_analyze.c:583: warning: statement with no effect /usr/bin/rm -f example1.r /usr/bin/rm -f example2.r /usr/bin/sed -e 's!\\!\\\\!g' example1.c > example1.r /usr/bin/sed -e 's!\\!\\\\!g' example2.c > example2.r /usr/bin/rm -f example3.r /usr/bin/rm -f main.r /usr/bin/sed -e 's!\\!\\\\!g' example3.c > example3.r /usr/bin/sed -e 's!\\!\\\\!g' main.c > main.r /usr/bin/rm -f factorial.r gcc -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wunused-parameter -O3 -fno-omit-frame-pointer factorial.c -o factorial /usr/bin/sed -e 's!\\!\\\\!g' factorial.c > factorial.r factorial.c:5:23: my_global.h: No such file or directory factorial.c: In function `factorial': factorial.c:10: warning: implicit declaration of function `DBUG_ENTER' factorial.c:11: warning: implicit declaration of function `DBUG_PRINT' factorial.c:11: warning: left-hand operand of comma expression has no effect factorial.c:15: warning: left-hand operand of comma expression has no effect factorial.c:16: warning: implicit declaration of function `DBUG_RETURN' factorial.c:17: warning: no return statement in function returning non-void factorial.c:17: warning: control reaches end of non-void function rm -f libdbug.a make[2]: *** [factorial] Error 1 make[2]: *** Waiting for unfinished jobs.... ar cru libdbug.a dbug.o sanity.o ranlib libdbug.a make[2]: Leaving directory `/tmp/mysql-5.2.3-falcon-alpha/dbug' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mysql-5.2.3-falcon-alpha' make: *** [all] Error 2
[4 May 2007 7:00]
Valeriy Kravchuk
Please, try to repeat with a newer versions, 5.1.17 and 5.0.37, and inform about the results.
[5 May 2007 11:00]
Sebastian Nohn
Works fine with 5.0.37.
[5 May 2007 15:49]
Sebastian Nohn
5.1.17 works fine as well.
[6 May 2007 17:17]
Valeriy Kravchuk
So, I think, we can close this report as "Can't repeat" with current versions.
[6 May 2007 17:18]
Sebastian Nohn
I would call it fixed, whatever the fix was.
[26 Mar 2008 22:11]
Anton Anikin
Same problem again with 5.1.23-rc version