[LLVMbugs] [Bug 16076] New: clang: error: unable to execute command: Segmentation fault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 20 13:34:52 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16076

            Bug ID: 16076
           Summary: clang: error: unable to execute command: Segmentation
                    fault
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tim at mr-dog.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10548
  --> http://llvm.org/bugs/attachment.cgi?id=10548&action=edit
Preprocessed source(s)

Whilst building trunk r182306 with svn:externals set to:

tools/clang        http://llvm.org/svn/llvm-project/cfe/trunk
tools/clang/tools/extra   
http://llvm.org/svn/llvm-project/clang-tools-extra/trunk
projects/compiler-rt    http://llvm.org/svn/llvm-project/compiler-rt/trunk

I got this:

make[5]: Entering directory `/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt'
  COMPILE:   clang_linux/full-i386/i386:
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/lib/adddf3.c
0  clang           0x0000000001e1fcf2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  clang           0x0000000001e1f949
2  libpthread.so.0 0x00002aaaaacdfbd0
3  clang           0x0000000001b19467
4  clang           0x0000000001dd60e7
5  clang           0x0000000001dd6e44
6  clang           0x0000000001db43af
llvm::FPPassManager::runOnFunction(llvm::Function&) + 639
7  clang           0x0000000001db43fb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
8  clang           0x0000000001db404f
llvm::MPPassManager::runOnModule(llvm::Module&) + 655
9  clang           0x0000000001db537f llvm::PassManagerImpl::run(llvm::Module&)
+ 223
10 clang           0x00000000007f5c94
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 3604
11 clang           0x00000000007f381f
12 clang           0x0000000000973c72 clang::ParseAST(clang::Sema&, bool, bool)
+ 514
13 clang           0x00000000007f2691 clang::CodeGenAction::ExecuteAction() +
97
14 clang           0x0000000000662679 clang::FrontendAction::Execute() + 265
15 clang           0x0000000000642e45
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 357
16 clang           0x000000000062a242
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1858
17 clang           0x0000000000621c18 cc1_main(char const**, char const**, char
const*, void*) + 920
18 clang           0x000000000062947e main + 4974
19 libc.so.6       0x00002aaaab930ea5 __libc_start_main + 245
20 clang           0x0000000000620b89
Stack dump:
0.    Program arguments: /mnt.ssd/apps/src/llvm.svn/Release+Asserts/bin/clang
-cc1 -triple i386-unknown-linux-gnu -emit-obj -disable-free -main-file-name
adddf3.c -mrelocation-model pic -pic-level 2 -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu pentium4
-target-linker-version 2.23.2 -momit-leaf-frame-pointer -coverage-file
/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o
-resource-dir /mnt.ssd/apps/src/llvm.svn/Release+Asserts/bin/../lib/clang/3.4
-isysroot /mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux
-internal-isystem
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux/usr/local/include
-internal-isystem
/mnt.ssd/apps/src/llvm.svn/Release+Asserts/bin/../lib/clang/3.4/include
-internal-externc-isystem
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux/include
-internal-externc-isystem
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/SDKs/linux/usr/include -O3
-Wall -Werror -fdebug-compilation-dir
/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt -ferror-limit 19
-fmessage-length 162 -mstackrealign -fobjc-runtime=gcc
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -backend-option -vectorize-loops -o
/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o
-x c /mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/lib/adddf3.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module
'/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt/lib/adddf3.c'.
4.    Running pass 'Module Verifier' on function '@__adddf3'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4 (trunk 182306)
Target: i386-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/adddf3-4Xwlzi.c
clang: note: diagnostic msg: /tmp/adddf3-4Xwlzi.sh
clang: note: diagnostic msg: 

********************
make[5]: ***
[/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/adddf3.o]
Error 254
make[5]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/projects/compiler-rt'
make[4]: *** [BuildRuntimeLibraries] Error 2
make[4]: Leaving directory
`/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/mnt.ssd/apps/src/llvm.svn/tools'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130520/6bb6e3a3/attachment.html>


More information about the llvm-bugs mailing list