[LLVMbugs] [Bug 17399] New: clang: error: unable to execute command: Killed
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 28 15:19:41 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17399
Bug ID: 17399
Summary: clang: error: unable to execute command: Killed
Product: clang
Version: 3.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: noloader at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Building cpp-netlib under sanitzers causes a panic. cpp-netlib can be
downloaded from http://cpp-netlib.org/.
==========================================
Output from build process:
...
[ 43%] Building CXX object
libs/network/test/http/CMakeFiles/cpp-netlib-http-client_get_different_port_test.dir/client_get_different_port_test.cpp.o
cd /home/jeffrey/Desktop/cpp-netlib-build/libs/network/test/http &&
/usr/local/bin/clang++ -DBOOST_NETWORK_DEBUG -DBOOST_NETWORK_ENABLE_HTTPS
-DBOOST_NETWORK_ENABLE_HTTPS -fsanitize=address -fsanitize=undefined
-fno-sanitize=vptr -g -I/usr/local/include
-I/home/jeffrey/Desktop/cpp-netlib-0.10.1 -o
CMakeFiles/cpp-netlib-http-client_get_different_port_test.dir/client_get_different_port_test.cpp.o
-c
/home/jeffrey/Desktop/cpp-netlib-0.10.1/libs/network/test/http/client_get_different_port_test.cpp
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ 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/client_get_different_port_test-J7UYRZ.cpp
clang: note: diagnostic msg: /tmp/client_get_different_port_test-J7UYRZ.sh
clang: note: diagnostic msg:
********************
make[2]: ***
[libs/network/test/http/CMakeFiles/cpp-netlib-http-client_get_different_port_test.dir/client_get_different_port_test.cpp.o]
Error 254
make[2]: Leaving directory `/home/jeffrey/Desktop/cpp-netlib-build'
make[1]: ***
[libs/network/test/http/CMakeFiles/cpp-netlib-http-client_get_different_port_test.dir/all]
Error 2
make[1]: Leaving directory `/home/jeffrey/Desktop/cpp-netlib-build'
make: *** [all] Error 2
==========================================
I can't attach requested files:
$ tar -czf /tmp/client_get_different_port_test-J7UYRZ.cpp
client_get_different_port_test-J7UYRZ.tar.gz
tar: client_get_different_port_test-J7UYRZ.tar.gz: Cannot stat: No such file or
directory
$ tar -czf /tmp/client_get_different_port_test-J7UYRZ.tar.gz
client_get_different_port_test-J7UYRZ.cpp
tar: client_get_different_port_test-J7UYRZ.cpp: Cannot stat: No such file or
directory
==========================================
Recipe to setup cpp-netlib project:
export CC="/usr/local/bin/clang"; export CXX="/usr/local/bin/clang++"
export CFLAGS="-fsanitize=address -fsanitize=undefined"; export
CXXFLAGS="-fsanitize=address -fsanitize=undefined -fno-sanitize=vptr"
export LD_LIBRARY_PATH=/usr/local/lib
# Unpack cpp-netlib
tar -xzf cpp-netlib-0.10.1.tar.gz
# Build in different directory
mkdir cpp-netlib-build
cd cpp-netlib-build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="/usr/local/bin/clang"
-DCMAKE_CXX_COMPILER="/usr/local/bin/clang++" ../cpp-netlib-0.10.1
make
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130928/e5adcdc1/attachment.html>
More information about the llvm-bugs
mailing list