https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82985
--- Comment #2 from BlenderEi at LwTV dot de --- Created attachment 42601 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42601&action=edit This is an archive containing the preprocessed File that triggered the Bug (FullSystemOptimize.ii) as well as my console history, because after I added CMAKE_CXX_FLAGS "-save-temps" it compiles?!?! Thank you for your fast reply. Ok, I have no experience if this is correct, but what I did was: Added this line to the CMakeLists.txt in the main directory "/dso": set (CMAKE_CXX_FLAGS "-save-temps") And with this, it actually compiled the code!!! o.O But it definitely didnt work before. To prove that, I attached my console history as well. You can see, that in the beginning the make-command failed. After I changed the file, the compilation succeeded! Naturally, now I am even more confused. Could you tell me if I missed a step? I checked the instruction website you referred me to, but it didnt tell me how to do this with cmake. So I googled and did my best. Maybe I did a mistake (although, I don't think so). If you need anything, please just let me know. Thanks a lot for your help!