<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - unable to execute command: Broken pipe"
href="https://llvm.org/bugs/show_bug.cgi?id=26202">26202</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>unable to execute command: Broken pipe
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>frank.dittrich@mailbox.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>$ 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
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> 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"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>