Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

clang++ crash when compiling capnproto libkj tuple.h #18339

Open Quuxplusone opened 10 years ago

Quuxplusone commented 10 years ago
Bugzilla Link PR18340
Status NEW
Importance P normal
Reported by Benjamin Saunders (ralith@gmail.com)
Reported on 2013-12-28 22:30:41 -0800
Last modified on 2014-04-02 15:10:17 -0700
Version 3.3
Hardware PC Linux
CC llvm-bugs@lists.llvm.org, neverpanic@gmail.com
Fixed by commit(s)
Attachments clang-log (8913 bytes, application/octet-stream)
clang-log (8915 bytes, text/plain)
tuple-YA4RXK (147800 bytes, text/plain)
tuple-YA4RXK.sh (529 bytes, text/plain)
file_18340.txt (6546 bytes, text/plain)
Blocks
Blocked by
See also
Created attachment 11791
Output from clang++ -std=c++11 /usr/include/kj/tuple.h -o tuple.gch

libkj, a C++11-heavy utility library shipped with cap'n proto, causes clang++
3.3 to crash when processing its header tuple.h (
https://github.com/kentonv/capnproto/blob/master/c%2B%2B/src/kj/tuple.h ) as
part of a C++ file or to precompile. Details attached.
Quuxplusone commented 10 years ago

Attached clang-log (8913 bytes, application/octet-stream): Output from clang++ -std=c++11 /usr/include/kj/tuple.h -o tuple.gch

Quuxplusone commented 10 years ago

Attached clang-log (8915 bytes, text/plain): Output from clang++ -std=c++11 /usr/include/kj/tuple.h -o tuple.gch

Quuxplusone commented 10 years ago

Attached tuple-YA4RXK (147800 bytes, text/plain): Preprocessed source

Quuxplusone commented 10 years ago

Attached tuple-YA4RXK.sh (529 bytes, text/plain): Run script

Quuxplusone commented 10 years ago

Attached file_18340.txt (6546 bytes, text/plain): Complete log of clang run with reduced test case

Quuxplusone commented 10 years ago

What's the status of this bug? I can reproduce this every time when I try to build cap'n proto on OS X (strangely enough not with the clang compilers shipped with Xcode 5, though).