[cfe-dev] !!! 3.2 Release RC3 source code available for download and testing

Alexey Samsonov samsonov at google.com
Sat Dec 8 10:50:00 PST 2012


If this helps: compilation of asan_globals_test.cc and asan_test.cc differ
in the sense that they are
compiled with just-built Clang. Don't know if it makes any difference for
header lookup.
Can you check if fresh Clang can build regular .cc file which includes
stdio.h?


On Fri, Dec 7, 2012 at 8:27 PM, Marc J. Driftmeyer <mjd at reanimality.com>wrote:

>  Unfortunately that just produced more errors:
>
> Generating asan_globals_test.cc.asan.o
>
> In file included from
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_benchmarks_test.cc:15:
> In file included from
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test_utils.h:19:
> In file included from
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test_config.h:20:
> In file included from
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/vector:60:
> In file included from
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algobase.h:60:
> In file included from
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7/bits/c++config.h:414:
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/x86_64-linux-gnu/c++/4.7/bits/os_defines.h:40:10:
> fatal error:
>       'features.h' file not found
> #include <features.h>
>
>          ^
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test.cc:13:10:
> fatal error:
>       'stdio.h' file not found
> #include <stdio.h>
>          ^
> 1 error generated.
> make[2]: ***
> [projects/compiler-rt/lib/asan/tests/asan_benchmarks_test.cc.asan.o] Error 1
> make[1]: ***
> [projects/compiler-rt/lib/asan/tests/CMakeFiles/AsanBenchmark.dir/all]
> Error 2
> make[1]: *** Waiting for unfinished jobs....
> 1 error generated.
> make[2]: *** [projects/compiler-rt/lib/asan/tests/asan_test.cc.asan.o]
> Error 1
> make[1]: ***
> [projects/compiler-rt/lib/asan/tests/CMakeFiles/AsanTest.dir/all] Error 2
> make: *** [all] Error 2
> mdriftmeyer at horus:~/DeveloperProjects/LLVMProject/cmake-gcc-llvm$
>
> This is how Debian experimental currently has their stdc++ headers:
>
> http://packages.debian.org/experimental/amd64/libstdc++6-4.7-dev/filelist
>
> I imagine the maintainer at Debian will pick this up with your patch and
> test to get this resolved.
>
>
> - Marc
>
>
> On 12/07/2012 04:04 PM, Joerg Sonnenberger wrote:
>
> On Fri, Dec 07, 2012 at 03:29:25PM -0800, Marc J. Driftmeyer wrote:
>
>  For a couple weeks on trunk since Debian made some pathway changes
> with GCC I can't compile the Unit Tests for LLVM because the pathway
> to bits/c++config.h cannot be found.
>
>  http://www.netbsd.org/~joerg/ToolChains.cpp.diff as workaround.
>
> Joerg
> _______________________________________________
> cfe-dev mailing listcfe-dev at cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> --
> Marc J. Driftmeyer
> Email :: mjd at reanimality.com
> Web :: http://www.reanimality.com
> Cell :: (509) 435-5212
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>


-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121208/92eee892/attachment.html>


More information about the cfe-dev mailing list