Title Add build configuration for debugging LP builds
Priority bug Status chatting
Superseder Nosy List florian, jendrik, malte
Assigned To Keywords
Optional summary

Created on 2020-10-01.12:13:56 by florian, last changed by malte.

msg9729 (view) Author: malte Date: 2020-10-01.12:18:45
LP debug builds being broken is a serious issue that warrants removing _GLIBCXX_DEBUG. I'm of course happy with more advanced solutions that enable _GLIBCXX_DEBUG when it's safe.
msg9727 (view) Author: florian Date: 2020-10-01.12:13:56
issue837 introduced the flag _GLIBCXX_DEBUG which makes debug builds incompatible with libraries that are compiled without the flag. This means that currently, we have no way to run a debug build with an LP configuration.

We discussed a build configuration that disables _GLIBCXX_DEBUG. In issue837 we also discussed disabling the LP components in the (normal) debug build. Maybe we should combine the two suggestions and change the normal debug mode, so it enables _GLIBCXX_DEBUG if and only if no LP component is enabled? An alternative would be to have two debug builds: one with _GLIBCXX_DEBUG that forces all LP components to be disabled, and one without _GLIBCXX_DEBUG. What do you prefer?

(I'm classifying this as a bug because of the undefined behavior that can currently happen in debug LP builds but feel free to demote it if you disagree.)
Date User Action Args
2020-10-01 12:18:45maltesetmessages: + msg9729
2020-10-01 12:13:56floriancreate