[LLVMbugs] [Bug 15483] New: std::future causes 'Illegal instruction'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 10 08:32:45 PDT 2013


            Bug ID: 15483
           Summary: std::future causes 'Illegal instruction'
           Product: clang
           Version: 3.2
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jobstz at yahoo.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10161
  --> http://llvm.org/bugs/attachment.cgi?id=10161&action=edit
Test case

I have found that virtually any use of std::future fails to work on my machine
using Mac OS X 10.6.8 with the c++ headers/library of gcc 4.7.1.

Compiling this simple test case works, but running it causes 'Illegal
instruction'. With g++ it compiles and runs fine.

Compilation command was:
"~/usr/bin/clang++ --std=c++11 bla.cpp -o bla"
and it was run simply using:

clang++ -v outputs:
clang version 3.2 (tags/RELEASE_32/final)
Target: i386-apple-darwin10.8.0
Thread model: posix

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/20130310/83862e69/attachment.html>

More information about the llvm-bugs mailing list