[cfe-dev] [3.5 Release] <cxxabi.h> not found by clang-3.5 rc1 with libc++
Marc J. Driftmeyer
mjd at reanimality.com
Mon Aug 4 02:22:33 PDT 2014
This has been broken on Linux [Debian Linux in my case], as in it has
never worked on Linux that I've tested, but it magically works [for
obvious reasons] on OS X.
Debian has LLVM/Clang 3.4.2 with /usr/include/c++/v1/
Building from trunk having /usr/local/include/c++/v1
Both are broken.
I don't even bother building trunk with the following turned on:
//Use libc++ if available.
LLVM_ENABLE_LIBCXX:BOOL=ON
I default to the following:
//Use libc++ if available.
LLVM_ENABLE_LIBCXX:BOOL=OFF
Otherwise, the damn stack won't compile. By off it just defaults to
GCC's libstc++ stack and compiles as expected. Everything else with
compiling a fresh libc++ builds when turned on in cmake, but this part.
- Marc
On 08/04/2014 01:41 AM, Ben Pope wrote:
> On 08/04/2014 03:41 AM, Dan Albert wrote:
>> Does the following work?
>>
>> $ clang++ -nostdinc++ -I/usr/include/c++/v1/ -stdlib=c++ abi.cpp
>
> ben:~/development/test$ clang++-3.5 -std=c++11 -stdlib=libc++ abi.cpp
> -nostdinc -I/usr/include/c++/v1
> In file included from abi.cpp:1:
> /usr/include/c++/v1/cxxabi.h:18:10: fatal error: 'stddef.h' file not
> found
> #include <stddef.h>
>
> So, yes, it finds the file at least.
>
> Ben
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
--
Marc J. Driftmeyer
Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140804/f9b9e778/attachment.html>
More information about the cfe-dev
mailing list