Skip to content

Instantly share code, notes, and snippets.

@brucespang
Created December 6, 2013 06:34
Show Gist options
  • Save brucespang/7819500 to your computer and use it in GitHub Desktop.
Save brucespang/7819500 to your computer and use it in GitHub Desktop.
bspang@ubuntu:~/code/cs630/remodel$ make
clang -I. -g -Wall -Wextra -Werror -c src/remodel.c -o build/remodel.o
0 libLLVM-3.0.so.1 0x00002b006eb5bfcf
1 libLLVM-3.0.so.1 0x00002b006eb5c591
2 libpthread.so.0 0x00002b006f47ecb0
3 clang 0x0000000000dd89d4
4 clang 0x0000000000ddbed0 clang::SourceManager::getLineNumber(clang::FileID, unsigned int, bool*) const + 480
5 clang 0x0000000000de093c clang::SourceManager::getPresumedLoc(clang::SourceLocation) const + 396
6 clang 0x00000000006f4785 clang::CodeGen::CGDebugInfo::getOrCreateFile(clang::SourceLocation) + 53
7 clang 0x00000000006fe8dd clang::CodeGen::CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable*, clang::VarDecl const*) + 45
8 clang 0x00000000006b75fc clang::CodeGen::CodeGenModule::EmitGlobalVarDefinition(clang::VarDecl const*) + 412
9 clang 0x00000000006b90f4 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 148
10 clang 0x00000000006b970d clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 1293
11 clang 0x00000000006ba0eb
12 clang 0x00000000006a77ac
13 clang 0x00000000006a7247 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 151
14 clang 0x00000000007bcc14 clang::ParseAST(clang::Sema&, bool) + 292
15 clang 0x00000000006a6253 clang::CodeGenAction::ExecuteAction() + 51
16 clang 0x00000000005adc7f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 319
17 clang 0x000000000059653a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1114
18 clang 0x000000000058e1c4 cc1_main(char const**, char const**, char const*, void*) + 820
19 clang 0x000000000058cb3c main + 620
20 libc.so.6 0x00002b006fbc476d __libc_start_main + 237
21 clang 0x000000000058dd39
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name remodel.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.22 -momit-leaf-frame-pointer -g -coverage-file build/remodel.o -resource-dir /usr/bin/../lib/clang/3.0 -I . -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include -Wall -Wextra -Werror -ferror-limit 19 -fmessage-length 181 -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -fcolor-diagnostics -o build/remodel.o -x c src/remodel.c
1. clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.
clang: error: unable to execute command: Segmentation fault
clang: note: diagnostic msg: Error generating preprocessed source(s).
make: *** [build/remodel.o] Error 254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment