[cfe-dev] clang crashes when running in VM

George Burgess IV via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 25 19:20:21 PDT 2017


Hello!

"error: unable to execute command: Killed" sounds a lot like what I
get when clang gets killed for eating all of my system's memory. Are
you sure that your VM has enough RAM to handle linking whatever it is
that you're linking?

Thanks,
George

On Tue, Jul 25, 2017 at 5:24 PM, chen hsu via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Hi,
>
>
> we have clang 3.6.2 on ubuntu 16.04 to build our project and it works well
> on physical machines. but when running in VM (HyperV on Windows Server
> 2012R2), it crashes quite often in linking. Is this a known issue? It seems
> possibly related to memory, as the crash happens more frequently when the
> memory size of the VM is relatively small. Thanks.
>
>
> clang-3.6: error: unable to execute command: Killed
>
> clang-3.6: error: clang frontend command failed due to signal (use -v to see
> invocation)
>
> clang version 3.6.2 (tags/RELEASE_362/final 252038)
>
> Target: x86_64-unknown-linux-gnu
>
> Thread model: posix
>
> clang-3.6: note: diagnostic msg: PLEASE submit a bug report to
> http://llvm.org/bugs/ and include the crash backtrace, preprocessed source,
> and associated run script.
>
> ********************
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list