This ticket came out of WT-10789, the problem is that a variable was unfortunately optimized out. Evergreen defaults to running with -0g optimization level. From the manual page:
-Og (Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience.)
In a summary it is still possible that -Og can optimize out variables and is not guarrantee for developers to make sure that a particular variable will not be optimized. Setting the level to --O0 will fix this issue, which will be helpful in case WT-10789 repros again.
Definition of Done
The aim of this ticket is to change the evergreen task to use -O0 instead.
- related to
-
WT-10789 Fix segfault when accessing parent index during recovery
- Closed