Open amal-khailtash opened 2 weeks ago
Yes, would be on Cling; never seen it crash like that before, though. Given that it's unloading code, I presume there was a different error first, which caused the transaction to be rolled back.
Which C++ standard do you need? Default is 20 (as far as supported by Clang13). If 17 will do, then maybe moving to that standard makes the cause of the unloading go away. Something like:
export EXTRA_CLING_ARGS='-O2 -march=native -std=c++17'
export CLING_REBUILD_PCH=1
(The second envar should be unset after the PCH was rebuild on first use.)
Aside, I'm 3 failing tests away from moving to Clang16, so if this is indeed a parsing issue, that move may solve it.
I am trying to load a number of header files and I use
cppdef
, but I see this crash. Unfortunately, I cannot share the header files, but I can try and debug this if you have switches, or other ways to debug.Is this a cling issue maybe?