Post AMdkdbPcRNZIP2wwWe by Archivist@social.linux.pizza
 (DIR) More posts by Archivist@social.linux.pizza
 (DIR) Post #AMdkdaKcSTyV3FbR5s by groovestomp@social.linux.pizza
       2022-08-17T18:41:50Z
       
       0 likes, 0 repeats
       
       I'm using C++ 17 with GCC as the compiler.If I specify no optimizations, it runs fine.If I specify O1 or O2 then I get a failure to initialize the vulkan instance.If I explicitly specify all the flags that O1 and/or O2 imply, then it works without issue.
       
 (DIR) Post #AMdkdau4KgKapCBkLg by groovestomp@social.linux.pizza
       2022-08-17T18:47:28Z
       
       0 likes, 0 repeats
       
       Seeing similar behavior with llvm, although I haven't tried explicitly specifying all the optimization flags there.Time to run valgrind and some other tools to see what's up.
       
 (DIR) Post #AMdkdbPcRNZIP2wwWe by Archivist@social.linux.pizza
       2022-08-18T03:45:15Z
       
       0 likes, 0 repeats
       
       @groovestomp yeah, valgrind and UB sanitizer may unveil that mystery