Bug #95076 | MySQL build fails with latest icu | ||
---|---|---|---|
Submitted: | 22 Apr 2019 17:42 | Modified: | 23 May 2019 8:32 |
Reporter: | Tomasz Kłoczko | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 8.0.15 | OS: | Fedora |
Assigned to: | CPU Architecture: | Any |
[22 Apr 2019 17:42]
Tomasz Kłoczko
[22 Apr 2019 20:53]
MySQL Verification Team
Please provide the complete cmake options you applied. Thanks.
[22 Apr 2019 21:51]
Tomasz Kłoczko
+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -DBUILD_CONFIG=mysql_release '-DCMAKE_C_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto ' '-DCMAKE_CXX_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto ' -DCMAKE_INSTALL_PREFIX=/usr '-DCMAKE_C_LINK_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto ' '-DCMAKE_CXX_LINK_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto ' '-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing ' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -std=gnu++03 -DDBUG_OFF' -DDAEMON_NAME=mysqld -DDAEMON_NO_PREFIX=mysqld -DENABLED_LOCAL_INFILE=ON -DENABLE_DTRACE=OFF -DFEATURE_SET=community -DINSTALL_DOCDIR=share/doc/community-mysql -DINSTALL_DOCREADMEDIR=share/doc/community-mysql -DINSTALL_INCLUDEDIR=include/mysql -DINSTALL_INFODIR=share/info -DINSTALL_LAYOUT=RPM -DINSTALL_LIBDIR=lib64/mysql -DINSTALL_MANDIR=share/man -DINSTALL_MYSQLSHAREDIR=share/community-mysql -DINSTALL_MYSQLTESTDIR=share/mysql-test -DINSTALL_PLUGINDIR=lib64/mysql/plugin -DINSTALL_SBINDIR=libexec -DINSTALL_SCRIPTDIR=bin -DINSTALL_SUPPORTFILESDIR=share/community-mysql -DLOG_LOCATION=/var/log/mysqld.log -DMYSQL_DATADIR=/var/lib/mysql -DMYSQL_UNIX_ADDR=/var/lib/mysql/mysql.sock -DNICE_PROJECT_NAME=MySQL -DPID_FILE_DIR=/run/mysqld -DSYSCONF2DIR=/etc/my.cnf.d -DSYSCONFDIR=/etc -DSYSTEMD_PID_DIR=/run/mysqld -DSYSTEMD_SERVICE_NAME=mysqld -DTMPDIR=/var/tmp -DWITH_BOOST=../boost/boost_1_68_0 -DWITH_DEBUG=0 -DWITH_EDITLINE=system -DWITH_EMBEDDED_SERVER=ON -DWITH_EMBEDDED_SHARED_LIBRARY=ON -DWITH_INNODB_MEMCACHED=ON -DWITH_LIBEVENT=system -DWITH_LZ4=system -DWITH_MECAB=system '-DWITH_MYSQLD_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin' -DWITH_SSL=system -DWITH_SYSTEMD=1 -DWITH_ZLIB=system -DWITH_NUMA=ON
[23 Apr 2019 8:32]
Terje Røsten
Hi! Please remove: -std=gnu++03 MySQL 8 requires C++11 (and future release might go to C++14), better to let MySQL 8 decide these options.
[24 May 2019 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".