[debian-mysql] mysql-5.6.26 build fails "exception handling disabled"

Bjoern Boschman bjoern at boschman.de
Mon Sep 28 16:25:10 UTC 2015


Hi,

while compiling 5.6.26 I got the following error:

cd /home/jesusch/git/mysql/mysql-5.6/builddir/plugin/password_validation &&
/usr/bin/x86_64-linux-gnu-g++   -DHAVE_CONFIG_H -DMYSQL_DYNAMIC_PLUGIN
-D_FORTIFY_SOURCE=2 -Dvalidate_password_EXPORTS -O3 -DBIG_JOINS=1
-felide-constructors -fno-exceptions -fpermissive -fno-rtti
 -fno-strict-aliasing  -Wall -Wextra -Wformat-security -Wvla
-Woverloaded-virtual -Wno-unused-parameter -O3 -g -fabi-version=2
-fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -fPIC
-I/home/jesusch/git/mysql/mysql-5.6/builddir/include
-I/home/jesusch/git/mysql/mysql-5.6/include
-I/home/jesusch/git/mysql/mysql-5.6/sql
-I/home/jesusch/git/mysql/mysql-5.6/regex
-I/home/jesusch/git/mysql/mysql-5.6/extra/yassl/include
-I/home/jesusch/git/mysql/mysql-5.6/extra/yassl/taocrypt/include    -o
CMakeFiles/validate_password.dir/validate_password.cc.o -c
/home/jesusch/git/mysql/mysql-5.6/plugin/passwor
d_validation/validate_password.cc
/home/jesusch/git/mysql/mysql-5.6/plugin/password_validation/validate_password.cc:
In function ‘void read_dictionary_file()’:
/home/jesusch/git/mysql/mysql-5.6/plugin/password_validation/validate_password.cc:183:10:
error: exception handling disabled, use -fexceptions to enable

Is there any reason why we have CXXFLAGS="... -fno-exceptions"?

Cheers
B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20150928/e9a66ffc/attachment.html>


More information about the pkg-mysql-maint mailing list