[llvm-bugs] [Bug 26202] New: unable to execute command: Broken pipe

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 18 14:05:40 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26202

            Bug ID: 26202
           Summary: unable to execute command: Broken pipe
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: frank.dittrich at mailbox.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ clang -dM -E -x c /dev/null |grep
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
clang: error: unable to execute command: Broken pipe
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-redhat-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/null-a7a941.c
clang: note: diagnostic msg: /tmp/null-a7a941.sh
clang: note: diagnostic msg: 

********************


$ cat /tmp/null-a7a941.c
# 1 "<built-in>"
# 1 "/dev/null"

$ cat /tmp/null-a7a941.sh 
# Crash reproducer for clang version 3.7.0 (tags/RELEASE_370/final)
# Driver args: "-dM" "-E" "-x" "c" "/dev/null"
# Original command:  "/usr/bin/clang" "-cc1" "-triple"
"x86_64-redhat-linux-gnu" "-E" "-disable-free" "-disable-llvm-verifier"
"-main-file-name" "null" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64"
"-target-linker-version" "2.25" "-dwarf-column-info" "-resource-dir"
"/usr/bin/../lib/clang/3.7.0" "-internal-isystem" "/usr/local/include"
"-internal-isystem" "/usr/bin/../lib/clang/3.7.0/include"
"-internal-externc-isystem" "/include" "-internal-externc-isystem"
"/usr/include" "-fdebug-compilation-dir" "/home/fd" "-ferror-limit" "19"
"-fmessage-length" "190" "-mstackrealign" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-fcolor-diagnostics" "-dM" "-o" "-" "-x" "c"
"/dev/null"
 "/usr/bin/clang" "-cc1" "-triple" "x86_64-redhat-linux-gnu" "-E"
"-disable-free" "-disable-llvm-verifier" "-main-file-name" "null"
"-mrelocation-model" "static" "-mthread-model" "posix" "-mdisable-fp-elim"
"-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables"
"-fuse-init-array" "-target-cpu" "x86-64" "-target-linker-version" "2.25"
"-dwarf-column-info" "-ferror-limit" "19" "-fmessage-length" "190"
"-mstackrealign" "-fobjc-runtime=gcc" "-fdiagnostics-show-option"
"-fcolor-diagnostics" "-dM" "-x" "c" "null-a7a941.c"

-- 
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/20160118/1b4680cc/attachment.html>


More information about the llvm-bugs mailing list