Bug #9233 If -fno-exceptions is required using gcc, it should be handled by configure
Submitted: 16 Mar 2005 23:18 Modified: 17 Apr 2005 7:24
Reporter: Kent Boortz Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.0.24 OS:
Assigned to: Assigned Account CPU Architecture:Any

[16 Mar 2005 23:18] Kent Boortz
Description:
On the page

  http://dev.mysql.com/doc/mysql/en/installing-source.html

the manual states that "-fno-exceptions" is mandatory in CXXFLAGS if
CXX=gcc, and the gcc version supports it. If this is the case, I think 
"configure.in" should set this option (together with -felide-constructors
and -fno-rtti).

A comment in http://bugs.mysql.com/bug.php?id=6554 seem to indicate
that with CXX=g++, "-fno-exceptions" is mandatory as well.

How to repeat:
Run a server compiled using a recent gcc, without "-fno-exceptions".
According to the MySQL documentation, this gives random crashes.

Suggested fix:
Change the configure script, and inform the doc team about the change,
so that the page could be simplified.
[17 Apr 2005 23: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".