Bug #80536 | cmake problem with 5.6.x mysql_config and -fno-rtti | ||
---|---|---|---|
Submitted: | 26 Feb 2016 21:01 | Modified: | 1 Mar 2016 5:00 |
Reporter: | David Bennett | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / C++ | Severity: | S2 (Serious) |
Version: | 1.1.7 | OS: | Ubuntu (15.04) |
Assigned to: | CPU Architecture: | Any | |
Tags: | cmake make gcc no-rtti typeid |
[26 Feb 2016 21:01]
David Bennett
[29 Feb 2016 13:07]
MySQL Verification Team
Hello David, Thank you for the report. I'm not seeing this issue at my end on Ubuntu 15.04/15.10 with/without -fno-rtti. Only thing I'm seeing is as reported in Bug #80539. Any other info which help me to trigger this issue? I'll join the worklog shortly. Thanks, Umesh
[29 Feb 2016 13:07]
MySQL Verification Team
test results
Attachment: 80536.results (application/octet-stream, text), 9.92 KiB.
[29 Feb 2016 16:07]
David Bennett
Umesh, Here is the compiler command that is being generated with make VERBOSE=1 before the failure occurs, it looks as though /usr/bin/g++-4.9 -DCPPCONN_SO_BUILD=\"\" -DDBUG_OFF -Dmysqlcppconn_EXPORTS -fPIC -I/root/git/MetricBench.perclab/build/MetricBench_boost/include -I/usr/include/mysql -I/tmp/mysql-connector-cpp -I/tmp/mysql-connector-cpp/cppconn -I/tmp/driver/nativeapi -Wall -fPIC -Woverloaded-virtual -I/usr/include/mysql -DBIG_JOINS=1 -felide-constructors -fpermissive -fno-rtti -fno-strict-aliasing -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -o CMakeFiles/mysqlcppconn.dir/mysql_connection.cpp.o -c /tmp/mysql-connector-cpp/driver/mysql_connection.cpp
[1 Mar 2016 5:00]
David Bennett
I am closing this and will delete the PR. I believe the problem was already fixed in commit c7a14129b9cdff14797ed73753c4b1083dd51c7a
[1 Mar 2016 5:06]
MySQL Verification Team
Thank you David for confirming! Thanks, Umesh