<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 --- - clang: error: clang frontend command failed due to signal"
href="https://llvm.org/bugs/show_bug.cgi?id=27499">27499</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang: error: clang frontend command failed due to signal
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</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>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>s.singapati@gmail.com
</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>Hello,
I am building Android content_shell_apk on my Ubuntu 16.04 LTS machine.
(Build instructions:
<a href="https://www.chromium.org/developers/how-tos/android-build-instructions">https://www.chromium.org/developers/how-tos/android-build-instructions</a>)
GN config:
+++++++++
target_os = "android"
target_cpu = "arm" # (default)
is_debug = false # (default)
# Other args you may want to set:
is_component_build = true
enable_nacl = false
is_clang = true
symbol_level = 0
+++++++++++++++++
Build failed 2 times with clang crash and then succeeded.
1. ../../mojo/public/cpp/bindings/lib/interface_endpoint_client.h:127:53:
current parser token ';'
2. ../../mojo/public/cpp/bindings/lib/interface_endpoint_client.h:22:1:
parsing namespace 'mojo'
3. ../../mojo/public/cpp/bindings/lib/interface_endpoint_client.h:26:1:
parsing namespace 'internal'
4. ../../mojo/public/cpp/bindings/lib/interface_endpoint_client.h:34:1:
parsing struct/union/class body 'InterfaceEndpointClient'
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.9.0 (trunk 266460)
Target: arm--linux-android
Thread model: posix
InstalledDir:
/home/sarath/WORK/CHROMIUM/chromium_android/src/out/Default/../../third_party/llvm-build/Release+Asserts/bin
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/service_worker_storage-fdc0b3.cpp
clang: note: diagnostic msg: /tmp/service_worker_storage-fdc0b3.sh
clang: note: diagnostic msg:
********************
[11030/15230] CXX obj/content/browser/browser/service_worker_version.o
ninja: build stopped: subcommand failed.
Please see the attachments. Thank you.</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>