<div dir="ltr">So I'm not running on real hardware. but in VM. I allowed VMWare Fusion (version 7.1.1) to set the defaults for creating a new Ubuntu image. Here's what the VM is currently set to.<div><br></div><div>RAM: 1 GB (The host system has 16 GB total, so I could allocate more)</div><div>Processors: 4 cores: The host system has 8 cores). However, I also tried running the VM with only 1 core, and ran into the same issue.</div><div>Disk Image: 20 GB total, 9.5 GB Free. (The host system has a 1 TB drive, but it's partitioned to boot multiple versions of OS X and Windows, each with full development environments, to 20 GB was really all I could spare.)</div><div>Swap: VMWare seems to have created a 1.1 GB Swap partition (in addition to the 20 GB disk), and a 1.1 GB extended partition)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 1:49 PM, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for checking! It could be a different problem. For<br>
example, how many cores, and how much memory and swap does your<br>
machine have?<br>
<span class="HOEnZb"><font color="#888888"><br>
Dmitri<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Wed, Mar 2, 2016 at 1:47 PM, Michael Buckley <<a href="mailto:michael@buckleyisms.com">michael@buckleyisms.com</a>> wrote:<br>
> I switched to clang-3.7, and ran into the same problem<br>
><br>
> [1484/2025] Building CXX object<br>
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o<br>
> FAILED: /usr/bin/clang++-3.7 -DCLANG_ENABLE_ARCMT<br>
> -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER<br>
> -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS<br>
> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-stack-protector -fPIC<br>
> -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings<br>
> -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long<br>
> -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor<br>
> -std=c++11 -fcolor-diagnostics -ffunction-sections -fdata-sections<br>
> -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3<br>
> -Itools/clang/lib/ASTMatchers/Dynamic<br>
> -I/home/buckley/swift/llvm/tools/clang/lib/ASTMatchers/Dynamic<br>
> -I/home/buckley/swift/llvm/tools/clang/include -Itools/clang/include<br>
> -Iinclude -I/home/buckley/swift/llvm/include -UNDEBUG -fno-exceptions<br>
> -fno-rtti -MMD -MT<br>
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o<br>
> -MF<br>
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o.d<br>
> -o<br>
> tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o<br>
> -c /home/buckley/swift/llvm/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp<br>
> clang: error: unable to execute command: Killed<br>
> clang: error: clang frontend command failed due to signal (use -v to see<br>
> invocation)<br>
> Ubuntu clang version 3.7.0-2ubuntu4 (tags/RELEASE_370/final) (based on LLVM<br>
> 3.7.0)<br>
> Target: x86_64-pc-linux-gnu<br>
> Thread model: posix<br>
> clang: note: diagnostic msg: PLEASE submit a bug report to<br>
> <a href="http://bugs.debian.org/" rel="noreferrer" target="_blank">http://bugs.debian.org/</a> and include the crash backtrace, preprocessed<br>
> source, and associated run script.<br>
> clang: note: diagnostic msg:<br>
> ********************<br>
><br>
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>
> Preprocessed source(s) and associated run script(s) are located at:<br>
> clang: note: diagnostic msg: /tmp/Registry-f30d0f.cpp<br>
> clang: note: diagnostic msg: /tmp/Registry-f30d0f.sh<br>
> clang: note: diagnostic msg:<br>
><br>
> ********************<br>
> [1484/2025] Building CXX object<br>
> tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/ASTMatchFinder.cpp.o<br>
> ninja: build stopped: subcommand failed.<br>
> ./swift/utils/build-script: command terminated with a non-zero exit status<br>
> 1, aborting<br>
><br>
><br>
> On Wed, Mar 2, 2016 at 12:42 PM, Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>><br>
> wrote:<br>
>><br>
>> On Wed, Mar 2, 2016 at 12:25 PM, Michael Buckley<br>
>> <<a href="mailto:michael@buckleyisms.com">michael@buckleyisms.com</a>> wrote:<br>
>> > Thanks. Apt-get reports that my clang is up to date (Ubuntu clang<br>
>> > version<br>
>> > 3.6.2-1), but I'm happy to wait for a newer version. I was just<br>
>> > attempting<br>
>> > to compile it to make sure a change I made worked on Linux, but it's not<br>
>> > urgent.<br>
>><br>
>> There's clang-3.7 in the repo, could you try that?<br>
>><br>
>> Dmitri<br>
>><br>
>> --<br>
>> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
>> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
><br>
><br>
<br>
<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br>
</div></div></blockquote></div><br></div>