Bug #92477 Always inline boost/geometry for /OPT/DEVELOPERSTUDIO12.6/BIN/CC
Submitted: 18 Sep 2018 11:39 Modified: 19 Sep 2018 19:16
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.14 OS:Any
Assigned to: CPU Architecture:Any

[18 Sep 2018 11:39] Tor Didriksen
Description:
Link time is excessive with developer studio compilers.
Always enable -g0 for files using boost/geometry.
This will inline lots of template functions.

See also Bug#28367121

How to repeat:
Build on Solaris.

Suggested fix:
IF(CMAKE_CXX_COMPILER_ID MATCHES "SunPro")
  ADD_COMPILE_FLAGS(
    ${SQL_GIS_SOURCES}
    sql_exception_handler.cc
    COMPILE_FLAGS " -g0 -xdebuginfo=no%decl")
ENDIF()
[19 Sep 2018 19:16] Paul DuBois
Posted by developer:
 
Fixed in 8.0.14.

Configuration/build cleanup. No changelog entry needed.