| Bug #59552 | compiling from source fails on Mac OS X 10.6.6 | ||
|---|---|---|---|
| Submitted: | 17 Jan 2011 13:35 | Modified: | 16 Jan 2014 11:47 |
| Reporter: | Bjarne Mathiesen | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S1 (Critical) |
| Version: | 5.1.54, 5.1.55, 5.1.56, 5.1.59 | OS: | MacOS (10.6.6) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | _rl_abort_internal, readline, regression | ||
[17 Jan 2011 16:18]
Valeriy Kravchuk
Please, send the results of: gcc --version from your environment.
[17 Jan 2011 23:19]
Bjarne Mathiesen
i7:MySQL root# gcc --version i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) Copyright (C) 2007 Free Software Foundation, Inc. I'm getting the error on three different computers a 27" iMac with Core i7 a Core 2 Duo MacMini a Core 2 MacMini all three are on Mac OS X 10.6.6
[9 Feb 2011 14:46]
Valeriy Kravchuk
Please, check if this problem is still repeatable for you with a newer version, 5.1.55.
[9 Feb 2011 19:15]
Bjarne Mathiesen
still present in 5.1.55
[13 Mar 2011 15:29]
Bjarne Mathiesen
still present in 5.1.56
[17 Jul 2011 10:27]
Valeriy Kravchuk
Verified just as described with current mysql-5.1: ... gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror -Wdeclaration-after-statement -g -DSAFE_MUTEX -O3 -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o readline.o readline.c cc1: warnings being treated as errors readline.c: In function ‘_rl_abort_internal’: readline.c:1916: warning: no return statement in function returning non-void make[2]: *** [readline.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
[16 Jan 2014 11:46]
Ståle Deraas
Posted by developer: readline is no longer used in MySQL.

Description: When compiling from source, the build fails with this message : gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror -Wdeclaration-after-statement -g -DSAFE_MUTEX -O3 -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o readline.o readline.c cc1: warnings being treated as errors readline.c: In function '_rl_abort_internal': readline.c:1916: warning: no return statement in function returning non-void make[2]: *** [readline.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Compiling works with version 5.1.51 but fails for both 5.1.53 and 5.1.54 How to repeat: export CC="gcc" export CFLAGS="-O3" export CXX="gcc" export CXXFLAGS="-O3" ./configure \ --with-debug make