<html>
<head>
<base href="http://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 --- - crash if no lib is found"
href="http://llvm.org/bugs/show_bug.cgi?id=18483">18483</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>crash if no lib is found
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dev@antonsmirnov.name
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I'm trying to run clang on ARM (Final release 3.3) and i can't figure out what
libs are needed. That's the reason it crashes for the simplest file with empty
main() functions.
01-15 12:45:42.925: INFO/System.out(15326):
/data/data/name.antonsmirnov.android.cppdroid/se/clang -c -g -DIDE=CppDroid
/data/data/name.antonsmirnov.android.cppdroid/buildSources/project_jan14b.cpp
-o /data/data/name.antonsmirnov.android.cppdroid/build/project_jan14b.cpp.o
01-15 12:45:43.085: WARN/System.err(15326): clang: error: unable to execute
command: No such file or directory
01-15 12:45:43.085: WARN/System.err(15326): clang: error: assembler (via gcc)
command failed due to signal (use -v to see invocation)
01-15 12:45:43.085: WARN/System.err(15326): clang version 3.3
(tags/RELEASE_33/final)
01-15 12:45:43.085: WARN/System.err(15326): Target: arm-unknown--eabi
01-15 12:45:43.085: WARN/System.err(15326): Thread model: posix
01-15 12:45:43.095: WARN/System.err(15326): 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.
01-15 12:45:43.125: WARN/System.err(15326): clang: note: diagnostic msg:
01-15 12:45:43.125: WARN/System.err(15326): ********************
01-15 12:45:43.125: WARN/System.err(15326): [ 01-15 12:45:43.125 15326:15532
W/System.err ]
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
01-15 12:45:43.125: WARN/System.err(15326): Preprocessed source(s) and
associated run script(s) are located at:
01-15 12:45:43.125: WARN/System.err(15326): clang: note: diagnostic msg:
/storage/sdcard0/CppDroid/temp/project_jan14b-j15530.cpp
01-15 12:45:43.135: WARN/System.err(15326): assertion "I != std::string::npos
&& "Expected to find -main-file-name"" failed: file "Driver.cpp", line 476,
function "void
clang::driver::Driver::generateCompilationDiagnostics(clang::driver::Compilation&,
const clang::driver::Command*)"
01-15 12:45:43.135: WARN/System.err(15326): Stack dump:
01-15 12:45:43.135: WARN/System.err(15326): 0. Program arguments:
/data/data/name.antonsmirnov.android.cppdroid/se/clang -c -g -DIDE=CppDroid
/data/data/name.antonsmirnov.android.cppdroid/buildSources/project_jan14b.cpp
-o /data/data/name.antonsmirnov.android.cppdroid/build/project_jan14b.cpp.o
01-15 12:45:46.659: WARN/System.err(15326):
/data/data/name.antonsmirnov.android.cppdroid/se/clang returned 11
I have done `readelf` for clang executable and copied the next libs to the
folder with clang executable:
libLTO.so
libc.so
libclang.so
libdl.so
libgnustl_shared.so
libm.so
libprofile_rt.so
libstdc++.so
libz.so
What file is also required?</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>