Bug #79550 ADD SUPPORT FOR -DCMAKE_BUILD_TYPE=RELEASE
| Submitted: | 7 Dec 2015 21:17 | Modified: | 25 Oct 2018 9:40 |
|---|---|---|---|
| Reporter: | Mark Callaghan | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 5.6.24, 5.6.28 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any |
[7 Dec 2015 21:17]
Mark Callaghan
[8 Dec 2015 2:06]
Mark Callaghan
-DCMAKE_BUILD_TYPE=Release does not use -fno-strict-aliasing while -DCMAKE_BUILD_TYPE=RelWithDebInfo does use it which explains why I saw the warnings but others might now.
[8 Dec 2015 8:09]
Jon Olav Hauglid
Hi Mark, We only support and test "RelWithDebInfo" and "Debug". Documented here: http://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html#option_cmake_cmak... Do you still get any errors with either two of these? Should we consider this bug report a feature request to add support for "Release"?
[10 Dec 2015 17:15]
Mark Callaghan
Yes, consider this a request to support Release or remove support for it.
[25 Oct 2018 9:40]
Erlend Dahl
Fixed in 8.0.13. The CMAKE_BUILD_TYPE CMake option now supports a Release build type, which is like the RelWithDebInfo build type but omits debugging information to reduce the build size.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.