Bug#665499: clang: code using std::stack crashes with SIGILL when compiled with clang++

Amos Jeffries amos at treenet.co.nz
Wed May 8 16:50:36 UTC 2013


Package: clang-3.2
Version: 1:3.2repack-2

I am seeing this bug still in the clang-3.2 package.

# clang++ -o test test.cc
# ./test
Illegal instruction

# clang++ -o test test.cc -march=native
# ./test

# clang++ -v
Debian clang version 3.2-2 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: i386-pc-linux-gnu
Thread model: posix


test.cc contains:

#include <string>
#include <stack>

int main(int,char *[])
{
     std::stack<std::string> diesoftly;
     return 0;
}



More information about the Pkg-llvm-team mailing list