<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Error occured during tensorflow demo apk build using bazel"
href="https://bugs.llvm.org/show_bug.cgi?id=42687">42687</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Error occured during tensorflow demo apk build using bazel
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>C++11
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dongwoo1995@naver.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22261" name="attach_22261" title="Error in bazel with tensorflow demo">attachment 22261</a> <a href="attachment.cgi?id=22261&action=edit" title="Error in bazel with tensorflow demo">[details]</a></span>
Error in bazel with tensorflow demo
I was following the instructions in
<a href="https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android">https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android</a>
I installed bazel 0.26.1, NDK r18b, SDK 29 on Ubuntu 16.04 by VirtualBox. Bazel
gave me this error:
#####
ERROR: /home/algensrain/tf/tensorflow/tensorflow/core/kernels/BUILD:6521:1: C++
compilation of rule '//tensorflow/core/kernels:android_tensorflow_kernels'
failed (Exit 254)
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Android (4751641 based on r328903) clang version 7.0.2
(<a href="https://android.googlesource.com/toolchain/clang">https://android.googlesource.com/toolchain/clang</a>
003100370607242ddd5815e4a043907ea9004281)
(<a href="https://android.googlesource.com/toolchain/llvm">https://android.googlesource.com/toolchain/llvm</a>
1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
Target: armv7-none-linux-android
Thread model: posix
InstalledDir: external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</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/cwise_op_div-fa0869.cpp
clang: note: diagnostic msg: /tmp/cwise_op_div-fa0869.sh
clang: note: diagnostic msg:
********************
Target //tensorflow/examples/android:tensorflow_demo failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1806.650s, Critical Path: 612.95s
INFO: 776 processes: 776 local.
FAILED: Build did NOT complete successfully
#####
I'm really bad at those things and I couldn't find any answers for this. Please
help.</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>