boostorg / core

Boost Core Utilities
132 stars 87 forks source link

__cxxabi_config.h missing in clang-6 ubuntu 16.04 #55

Closed djarek closed 5 years ago

djarek commented 5 years ago

https://dev.azure.com/damianjarek93/beast/_build/results?buildId=173&view=logs&jobId=e6838eee-2986-5b9a-5774-6c1eb3295bb2&taskId=1e9160d2-1b74-53b9-3c18-236685ff9951&lineStart=109&lineEnd=120&colStart=1&colEnd=29


...failed clang-linux.compile.c++.without-pch bin.v2/libs/beast/test/doc/clang-linux-6.0.1/debug/cxxstd-11-iso/threadapi-pthread/threading-multi/visibility-hidden/websocket_6_timeouts.o...
clang-linux.compile.c++.without-pch bin.v2/libs/beast/test/doc/clang-linux-6.0.1/debug/cxxstd-11-iso/threadapi-pthread/threading-multi/visibility-hidden/websocket_7_teardown.o
In file included from libs/beast/test/doc/websocket_7_teardown.cpp:17:
In file included from ./boost/beast.hpp:15:
In file included from ./boost/beast/core.hpp:16:
In file included from ./boost/beast/core/basic_stream.hpp:26:
In file included from ./boost/enable_shared_from_this.hpp:16:
In file included from ./boost/smart_ptr/enable_shared_from_this.hpp:16:
In file included from ./boost/smart_ptr/weak_ptr.hpp:17:
In file included from ./boost/smart_ptr/detail/shared_count.hpp:29:
In file included from ./boost/smart_ptr/detail/sp_counted_base.hpp:45:
In file included from ./boost/smart_ptr/detail/sp_counted_base_clang.hpp:18:
In file included from ./boost/detail/sp_typeinfo.hpp:20:
In file included from ./boost/core/typeinfo.hpp:135:
In file included from ./boost/core/demangle.hpp:32:
/usr/include/c++/v1/cxxabi.h:21:10: fatal error: '__cxxabi_config.h' file not found
#include <__cxxabi_config.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
Lastique commented 5 years ago

That file is part of libc++abi-dev package, you need to have it installed.

djarek commented 5 years ago

It is installed (note that the final error is from /usr/include/c++/v1/cxxabi.h).

Lastique commented 5 years ago

I that case, libc++/libc++abi is broken on that system. There's nothing we can do about it.

pdimov commented 5 years ago

It's a bit of a problem because everything that includes core/typeinfo.hpp, even indirectly as in the above, breaks.

Still not clear whether we can do anything about it, of course.