abrt version: 1.1.17 architecture: x86_64 Attached file: backtrace, 19871 bytes cmdline: /usr/bin/clang -cc1 -triple x86_64-redhat-linux-gnu -S -disable-free -disable-llvm-verifier -main-file-name q-voter-3d.cpp -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.20.51.0.7 -resource-dir /usr/lib/clang/2.8 -std=c++0x -ferror-limit 19 -fmessage-length 80 -fexceptions -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-vAnjic.s -x c++ q-voter-3d.cpp component: llvm Attached file: coredump, 16998400 bytes crash_function: clang::ASTContext::getCanonicalType(clang::QualType) executable: /usr/bin/clang kernel: 2.6.35.11-83.fc14.x86_64 package: clang-2.8-5.fc14 rating: 4 reason: Process /usr/bin/clang was killed by signal 11 (SIGSEGV) release: Fedora release 14 (Laughlin) time: 1300200841 uid: 500 How to reproduce ----- 1. Include <random> with clang++
Created attachment 485313 [details] File: backtrace
clang 2.8 does not have complete support for c++0x; however, the -5 release we did does have a problem in which the 'bits' includes are not accessible by clang++. The -9 update will fix that. I sometimes get a crash and sometimes just an error message with clang-2.8-9, of this sort: $ clang++ test2.cpp In file included from test2.cpp:1: In file included from /usr/include/c++/4.6.0/random:34: /usr/include/c++/4.6.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. #error This file requires compiler and library support for the upcoming \ ^ 1 error generated. (and more errors if I pass -std=c++0x) Do you always see a crash? Could you retest with 2.8-9 once it lands? Thanks.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
*** This bug has been marked as a duplicate of bug 694896 ***