[cfe-dev] !!! 3.2 Release RC3 source code available for download and testing
Marc J. Driftmeyer
mjd at reanimality.com
Mon Dec 10 21:35:13 PST 2012
Alas Resolution and it's all my fault.
I made the mistake of updating eglibc from 2.13-37 in Debian to the
newly released 2.16 available in experimental.
Solution: I downgraded gcc-4.7.2-13 to gcc-4.7.2-4 across the board and
downgraded libc6 from 2.16 to 2.13-37.
Clean start of trunk against gcc-4.7.2-4 and presto!
100% clean build.
Lesson learned with Debian once again about dealing with libc6 and gcc
outside of Unstable/Sid branch.
- My apologies for all the frustration,
- Marc
On 12/10/2012 12:33 AM, Alexey Samsonov wrote:
>
>
> On Sun, Dec 9, 2012 at 11:10 PM, Marc J. Driftmeyer
> <mjd at reanimality.com <mailto:mjd at reanimality.com>> wrote:
>
> With the latest from Debian 4.7.2-13 for GCC.
>
> Checkout of llvm trunk, clang trunk, compiler-rt, test-suite,
> lldb, libcxx [neither lldb/libcxx impacted as they aren't
> presently ready for llvm/clang on Linux] at revision 169724
> <tel:169724>
>
> Given: defaults to x86 amd64 but using a default build of all
> available targets in cmake's configuration.
>
> Results:
>
> [100%] [100%] Generating asan_benchmarks_test.cc.asan.o
> Generating asan_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:
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test_config.h:20:10:
> fatal error:
> 'vector' file not found
> #include <vector>
> ^
> In file included from
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test.cc:31:
>
>
> In file included from
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test_utils.h:19:
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/trunk/llvm/projects/compiler-rt/lib/asan/tests/asan_test_config.h:20:10:
> fatal error:
> 'vector' file not found
> #include <vector>
> ^
> Linking CXX executable ../../../../bin/c-index-test
> [100%] Built target c-index-test
> [100%] 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....
> Generating asan_globals_test.cc.asan.o
>
> 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$
>
>
>
> I run into the error of not finding <vector>
>
>
> What would happen if you:
> 1) configure cmake build directory
> 2) run "make clang" in it
> 3) try to use fresh ./bin/clang to compile some random file which has
> "#include <vector>" or "#include <stdio.h>"?
>
>
>
>
> On 12/08/2012 10:50 AM, Alexey Samsonov wrote:
>> 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 <mailto: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 <http://www.netbsd.org/%7Ejoerg/ToolChains.cpp.diff> as workaround.
>>>
>>> Joerg
>>> _______________________________________________
>>> cfe-dev mailing list
>>> cfe-dev at cs.uiuc.edu <mailto: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
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu <mailto:cfe-dev at cs.uiuc.edu>
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
>>
>>
>> --
>> Alexey Samsonov, MSK
>>
>
> --
> Marc J. Driftmeyer
> Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
> Web :: http://www.reanimality.com
> Cell :: (509) 435-5212
>
>
>
>
> --
> Alexey Samsonov, MSK
>
--
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/20121210/bb8e0acb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjd.vcf
Type: text/x-vcard
Size: 317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121210/bb8e0acb/attachment.vcf>
More information about the cfe-dev
mailing list