[MCOL-5308] debug build : line numbers , "-O0", and other improvements Created: 2022-11-11  Updated: 2022-11-15  Resolved: 2022-11-15

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: alexey vorovich (Inactive) Assignee: Leonid Fedorov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MCOL-5265 TupleHashJoin::segregateJoiners doubl... Closed

 Description   

We need more information
1. Build debug build with "-O0" and "-fno-omit-framepointer" so we can analyze "bactrace" by symbolizing it using debug info. Otherwise we got random source code lines, because actual code is optimized by compiler and not mapped one to one (binary to source).
2. Think how we can dump "sql query" for debug build, at least we can dump Execution Plan which is available in ExeMgr.
3. How about other information like memory RAM memory available, process memory map.



 Comments   
Comment by Roman [ 2022-11-15 ]

The debug version has already -O0 flags enabled. We won't send pure Debug build to the customer b/c it will be multiple times slower. There are plenty ways to dump sql query.

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