Re: [cfe-users] clang frontend command failed due to signal

2018-01-08 Thread Dan Čermák via cfe-users
Since clang segfaults, it could be a bug in clang. I am not a clang expert, but I'd suggest trying to remove some of the compiler flags and observe if the output changes. Or you could try to use a different version of clang/llvm. And then file a bug for clang if you can reproduce the crash. 01_Ty

[cfe-users] Cross compiling a bare metal Cortex M4 Application with LTO

2018-01-04 Thread Dan Čermák via cfe-users
Hello everyone, I am developing bare metal applications on a Cortex M4 CPU mostly with gcc but wanted to also use clang, as I do for all my programs targeting an OS-environment. After a lot of fiddling around I finally managed to get clang to successfully compile & link my projects. I have achiev