[MCOL-655] Debugging symbols are missing Created: 2017-04-05  Updated: 2017-04-18  Resolved: 2017-04-18

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: 1.0.8, 1.1.0
Fix Version/s: 1.0.9, 1.1.0

Type: Bug Priority: Critical
Reporter: Andrew Hutchings (Inactive) Assignee: Ben Thompson (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2017-7, 2017-8

 Description   

For some reason we have debugging symbols completely disabled in our release builds. This makes it many times harder to analyse core files generated by users. At most the debugging symbols cause a 1% performance difference so there is no good reason to disable them.

To fix this we need to do the following:

  • Update CMakeLists.txt in the engine tree so that we do "-g" instead of "-g0"
  • Confirm rpmbuild doesn't strip the CentOS binaries, we can either disable CPACK_STRIP_FILES or enable debuginfo packages if it does (https://gitlab.kitware.com/cmake/cmake/issues/15668)


 Comments   
Comment by Andrew Hutchings (Inactive) [ 2017-04-18 ]

Ran some tests and seems to work well. Our RPM building doesn't strip binaries so no change there.

No real testing can be done, we are good to close once merged.

Comment by Ben Thompson (Inactive) [ 2017-04-18 ]

Looks good to me, merged and closing.

Generated at Thu Feb 08 02:22:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.