Says "internal compiler error" and asks to submit a bug report, so this looks like a gcc bug.
- Alon On Mon, Mar 10, 2014 at 5:28 AM, Floh <[email protected]> wrote: > Hi, > > I'm having difficulties compiling the fastcomp backend with gcc4.6 in a VM > running Linux. Maybe somebody had the same problem before I'm digging > deeper. I'm following the build instructions here ( > https://github.com/kripken/emscripten/wiki/LLVM-Backend), and on OSX with > Xcode's clang this worked fine. I'm now trying to get this to compile in a > VM running 64-bit Ubuntu 12.04 and gcc4.6. > > Configuring works fine, compiling with 'make -j2' starts normal until at > some point: > > llvm[2]: Compiling IfConversion.cpp for Release build > make[3]: Leaving directory > `/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib/CodeGen/SelectionDAG' > make[2]: Leaving directory > `/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib/CodeGen' > make[1]: Leaving directory > `/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib' > STDERR: > /home/vagrant/emscripten-sdk/emscripten-fastcomp/lib/AsmParser/Parser.cpp: > In function 'llvm::Module* llvm::ParseAssembly(llvm::MemoryBuffer*, > llvm::Module*, llvm::SMDiagnostic&, llvm::LLVMContext&)': > > > /home/vagrant/emscripten-sdk/emscripten-fastcomp/lib/AsmParser/Parser.cpp:33:6: > warning: suggest e > xplicit braces to avoid ambiguous 'else' [-Wparentheses] > g++: internal compiler error: Killed (program cc1plus) > Please submit a full bug report, > with preprocessed source if appropriate. > See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. > /bin/rm: cannot remove > `/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib/Transforms/Vectorize/Release/LoopVectorize.d.tmp': > No such file or directory > make[3]: *** > [/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib/Transforms/Vectorize/Release/LoopVectorize.o] > Error 1 > make[2]: *** [Vectorize/.makeall] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [Transforms/.makeall] Error 2 > make[1]: *** Waiting for unfinished jobs.... > g++: internal compiler error: Killed (program cc1plus) > Please submit a full bug report, > with preprocessed source if appropriate. > See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. > /bin/rm: cannot remove > `/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib/CodeGen/SelectionDAG/Release/SelectionDAGISel.d.tmp': > No such file or directory > make[3]: *** > [/home/vagrant/emscripten-sdk/emscripten-fastcomp/build/lib/CodeGen/SelectionDAG/Release/SelectionDAGISel.o] > Error 1 > make[2]: *** [SelectionDAG/.makeall] Error 2 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [CodeGen/.makeall] Error 2 > make: *** [all] Error 1 > ---- End output of "bash" "/tmp/chef-script20140310-4298-13631kl" > ---- > Ran "bash" "/tmp/chef-script20140310-4298-13631kl" returned 2 > > Anyone else had the same problem and figured out a workaround? First thing > I'll try is to try a different GCC version (older or newer), and if nothing > try compiling with a vanilla clang. > > Cheers, > -Floh. > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
