[lldb-dev] [Bug 17910] New: test fails to build on FreeBSD w/ clang & libstdc++
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 13 10:49:39 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=17910
Bug ID: 17910
Summary: test fails to build on FreeBSD w/ clang & libstdc++
Product: lldb
Version: unspecified
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: emaste at freebsd.org
Classification: Unclassified
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131113/6248d096/attachment.html>
More information about the lldb-dev
mailing list