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

Lars Tangvald lars.tangvald at oracle.com
Tue Sep 29 06:20:49 UTC 2015


Also note that both no-exceptions and no-rtti will cause compile errors 
with MySQL 5.7.8. I don't see much reason to keep either flag, as I 
assume they're just holdovers from optimizations of old versions?

--
Lars


On 09/28/2015 06:25 PM, Bjoern Boschman wrote:
> 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
>
>
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20150929/313a2315/attachment.html>


More information about the pkg-mysql-maint mailing list