Bug 1129899
| Summary: | exception_ptr.h:143:13: error: unknown type name 'type_info' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Vinson Lee <vlee> |
| Component: | llvm | Assignee: | Dave Johansen <davejohansen> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | davejohansen, lampe |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-31 02:59:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
From looking at the code, this looks like it's an issue in the exception_ptr.h not having a #include of <typeinfo> even though it uses the class type_info. Just for completeness, 3.4.2 is in the testing repo for EPEL6 right now and you could see if using the newer version resolves the issue, but if not, then I think that this bug needs to flow upstream to either stdlibc++ or clang. "Clang's C++11 mode can be used ... with gcc's libstdc++, but patches are needed to make libstdc++-4.4 work with Clang in C++11 mode." (http://clang.llvm.org/cxx_status.html, http://clang.llvm.org/libstdc++4.4-clang0x.patch) The above patch is for libstdc++ and not llvm/clang, so it would need to be submitted to that package for it to be included in RHEL. Yes, the above links are only meant as additional info. I doubt there is a chance to get this in, because it doesn't seem to affect the system compiler. Seems fixed in 6.6: https://bugzilla.redhat.com/show_bug.cgi?id=1061435 *** This bug has been marked as a duplicate of bug 1061435 *** |
Description of problem: Unable to build Apache Mesos with clang on EL6. Version-Release number of selected component (if applicable): clang-3.4-10.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. ./bootstrap 2. 3. Actual results: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:43: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:48: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/c++allocator.h:34: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:33: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/new:40: In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception:148: /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/exception_ptr.h:143:13: error: unknown type name 'type_info' const type_info* ^ Expected results: Additional info: Apache Mesos builds with GCC on EL6. Apache Mesos builds with clang on Fedora 20.