<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 --- - test fails to build on FreeBSD w/ clang & libstdc++"
href="http://llvm.org/bugs/show_bug.cgi?id=17910">17910</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>test fails to build on FreeBSD w/ clang & libstdc++
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>We include clang and libc++ in the FreeBSD 9.x base tree, but the default
standard c++ lib for both compilers is libstdc++, and a rather old version at
that. This causes some tests that build with clang but without -stdlib=libc++
to fail to build - e.g.:
Building LLDB Driver (test_listener_event_process_state) from sources
driver.cpp listener_test.cpp test_listener_event_process_state.cpp
os command: [['/bin/sh', '-c', "gmake clean
LD_EXTRAS='-L/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin
-L/tank/emaste/src/llvm/build/lib -Wl,-rpath,/tank/emaste/src/llvm/build/lib
-llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11
-I/tank/emaste/src/llvm/tools/lldb/test/../include' CXX_SOURCES='driver.cpp
listener_test.cpp test_listener_event_process_state.cpp';gmake ARCH=amd64
CC=/usr/bin/clang
LD_EXTRAS='-L/tank/emaste/src/llvm/tools/lldb/test/../../../build-nodebug/bin
-L/tank/emaste/src/llvm/build/lib -Wl,-rpath,/tank/emaste/src/llvm/build/lib
-llldb' EXE='test_listener_event_process_state' CFLAGS_EXTRAS='-std=c++11
-I/tank/emaste/src/llvm/tools/lldb/test/../include' CXX_SOURCES='driver.cpp
listener_test.cpp test_listener_event_process_state.cpp'"]]
with pid: 50512
stdout: rm -rf "test_listener_event_process_state" "" driver.o listener_test.o
test_listener_event_process_state.o *.d.* *.d *.o *.pyc *.dSYM driver.d
listener_test.d test_listener_event_process_state.d *.d.[0-9] *.d.[0-9][0-9]
*.d.[0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9] *.d.[0-9][0-9][0-9][0-9][0-9]
/usr/bin/clang++ -g -O0 -mamd64 -std=c++11
-I/tank/emaste/src/llvm/tools/lldb/test/../include -c -o
test_listener_event_process_state.o test_listener_event_process_state.cpp
stderr: clang++: warning: argument unused during compilation: '-mamd64'
test_listener_event_process_state.cpp:6:10: fatal error: 'atomic' file not
found
#include <atomic>
^
1 error generated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>