<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:tfiala@google.com" title="Todd Fiala <tfiala@google.com>"> <span class="fn">Todd Fiala</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - ubuntu 12.04 x86_64 failing to find architecture for native binaries"
href="http://llvm.org/bugs/show_bug.cgi?id=20400">bug 20400</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - ubuntu 12.04 x86_64 failing to find architecture for native binaries"
href="http://llvm.org/bugs/show_bug.cgi?id=20400#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - ubuntu 12.04 x86_64 failing to find architecture for native binaries"
href="http://llvm.org/bugs/show_bug.cgi?id=20400">bug 20400</a>
from <span class="vcard"><a class="email" href="mailto:tfiala@google.com" title="Todd Fiala <tfiala@google.com>"> <span class="fn">Todd Fiala</span></a>
</span></b>
<pre>I just set up a clean Ubuntu 12.04 x86_64 vm.
I have not been able to reproduce this.
Steps:
1. Install Ubuntu 12.04 x86_64 VM.
2. Install these packages:
sudo apt-get install build-essential gcc-multilib git libedit-dev ncurses-dev
libmpc-dev libmpfr-dev python-dev swig
3. Install gcc 4.9.1 source, build and install locally.
4. Do a git clone on the latest ninja source, build and install on path
somewhere.
5. Grab the latest cmake 3.0.0 source, build and install locally.
6. Make sure ninja, cmake, and gcc/g++ 4.9.1 show up on path. gcc/g++ must
come on path before system gcc.
7. Grab latest llvm/clang/lldb code. I'm synched to this revision on all 3:
r213671
8. create a directory alongside llvm for building:
mkdir build
cd build
9. configure with cmake
cmake -GNinja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
-DCMAKE_BUILD_TYPE=Debug ../llvm
10. Build
time ninja
11. Run the reported failure case
tfiala@ubuntu:~/lldb/git/build$ bin/lldb /bin/ls
Current executable set to '/bin/ls' (x86_64).
(lldb) run
Process 2282 launching
Process 2282 launched: '/bin/ls' (x86_64)
Process 2282 stopped
* thread #1: tid = 2282, 0x00007f0f0cea26b0, name = 'ls', stop reason = trace
frame #0: 0x00007f0f0cea26b0
error: No such process
bin cmake_install.cmake examples rules.ninja utils
build.ninja CPackConfig.cmake include share
cmake CPackSourceConfig.cmake lib test
CMakeCache.txt docs LLVMBuild.cmake tools
CMakeFiles DummyConfigureOutput projects unittests
Process 2282 exited with status = 0 (0x00000000)
(lldb)
Keno - can you have a look and see if you might be doing something different?
Also, can you try to use the steps above and see if that unblocks you?
Thanks! I'm not able to repro this from the info you've given me. I'll leave
this open until I hear back that you are able to repeat this fix.
-Todd</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>