<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Upstream, this was actually changed in 5.6.4, for MySQL worklog
#5825:<br>
<a href="http://dev.mysql.com/worklog/task/?id=5825">http://dev.mysql.com/worklog/task/?id=5825</a><br>
Accompanying commit:<br>
<span style="font-weight: bold;color: #cc0000;"> </span><a
href="https://github.com/mysql/mysql-server/commit/a5ee7278a16a6a5e6e90c56c13fdda7f6f30ebad"><a class="moz-txt-link-freetext" href="https://github.com/mysql/mysql-server/commit/a5ee7278a16a6a5e6e90c56c13fdda7f6f30ebad">https://github.com/mysql/mysql-server/commit/a5ee7278a16a6a5e6e90c56c13fdda7f6f30ebad</a></a><br>
<br>
So the flags should probably just be removed. From what I can see
this actually applies to the other flags as well. They all seem to
be outdated.<br>
<br>
The commit causing the compile error:<br>
<a
href="https://github.com/mysql/mysql-server/commit/0ff896b063916e46d3ab175594f5507756c08adb"><a class="moz-txt-link-freetext" href="https://github.com/mysql/mysql-server/commit/0ff896b063916e46d3ab175594f5507756c08adb">https://github.com/mysql/mysql-server/commit/0ff896b063916e46d3ab175594f5507756c08adb</a></a><br>
<br>
<br>
--<br>
Lars<br>
<br>
<div class="moz-cite-prefix">On 09/29/2015 08:20 AM, Lars Tangvald
wrote:<br>
</div>
<blockquote cite="mid:560A2DC1.7000009@oracle.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
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?<br>
<br>
--<br>
Lars<br>
<br>
<br>
<div class="moz-cite-prefix">On 09/28/2015 06:25 PM, Bjoern
Boschman wrote:<br>
</div>
<blockquote
cite="mid:CAOE+QgSbs8=+6PxXTezj8dw9kjF-E-y9FNQRhD=oLsV4xi9mgw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>while compiling 5.6.26 I got the following error:</div>
<div><br>
</div>
<div>
<div>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</div>
<div>d_validation/validate_password.cc</div>
<div>/home/jesusch/git/mysql/mysql-5.6/plugin/password_validation/validate_password.cc:
In function ‘void read_dictionary_file()’:</div>
<div>/home/jesusch/git/mysql/mysql-5.6/plugin/password_validation/validate_password.cc:183:10:
error: exception handling disabled, use -fexceptions to
enable</div>
</div>
<div><br>
</div>
<div>Is there any reason why we
have CXXFLAGS="... -fno-exceptions"?</div>
<div><br>
</div>
<div>Cheers</div>
<div>B</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pkg-mysql-maint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:pkg-mysql-maint@lists.alioth.debian.org">pkg-mysql-maint@lists.alioth.debian.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
pkg-mysql-maint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pkg-mysql-maint@lists.alioth.debian.org">pkg-mysql-maint@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint</a></pre>
</blockquote>
<br>
</body>
</html>