<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/30/2013 04:50 AM, Sylvestre Ledru
wrote:<br>
</div>
<blockquote cite="mid:51A6DA93.8050002@debian.org" type="cite">
<pre wrap="">Hello,
On 30/05/2013 00:33, Marc J. Driftmeyer wrote:> Package: clang-3.3
</pre>
<blockquote type="cite">
<pre wrap="">Version: 1:3.3~svn179851-1~exp1
Severity: normal
Dear Maintainer,
In file included from
</pre>
</blockquote>
<pre wrap="">/home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/ADT/SmallVector.h:17:
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">/home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/include/llvm/Support/AlignOf.h:19:10:
fatal error:
</pre>
<blockquote type="cite">
<pre wrap=""> 'cstddef' file not found
#include <cstddef>
^
1 error generated.
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o]
</pre>
</blockquote>
<pre wrap="">Error 1
</pre>
<blockquote type="cite">
<pre wrap="">make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make: *** [all] Error 2
----------------
</pre>
</blockquote>
<pre wrap="">
Could you try to build the same way the package it built ? For now, I do
not support cmake build.
Thanks
Sylvestre
</pre>
</blockquote>
Cmake aside which is going to be the defacto standard within the
LLVM/Clang system, I found out the error with cstddef: After
installing libstdc++6-4.7-pic this error is gone compiling
LLVM/Clang/LLDB/Compiler-RT/Libcxx trunk against llvm-3.3 latest
[have not yet tested bleeding edge 3.4] in Debian.<br>
<br>
Now that <cstddef> no longer fails I've got this presently
from trunk:<br>
<br>
<blockquote type="cite">Linking CXX executable ToolingTests<br>
CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o:/home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/tools/clang/unittests/Tooling/ToolingTest.cpp:function
clang::tooling::newFrontendActionFactory_CreatesFrontendActionFactoryFromType_Test::TestBody():
error: undefined reference to
'clang::SyntaxOnlyAction::~SyntaxOnlyAction()'<br>
clang: error: linker command failed with exit code 1 (use -v to
see invocation)<br>
make[2]: *** [tools/clang/unittests/Tooling/ToolingTests] Error 1<br>
make[1]: ***
[tools/clang/unittests/Tooling/CMakeFiles/ToolingTests.dir/all]
Error 2<br>
make: *** [all] Error 2<br>
mdriftmeyer@horus:~/DeveloperProjects/LLVMProject/cmake-clang-trunk$</blockquote>
<br>
I'm going to track down and see if the latest checkout resolves this
issue or not. I wish I had a deeper knowledge of both GCC and
LLVM/Clang [though in this area I am gaining in] so as to not waste
your time.<br>
<br>
<br>
<br>
The other `error' I had with assembly [I alluded to as being a
different bug] was the fact with a mixed gcc-4.7/gcc-4.8 transition
from Experimental I checked more closely the cmake config and noted
gcc-> gcc-4.8 while g++ -> g++-4.7 thus the error.<br>
<br>
With the standard: -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.7
-DCMAKE_C_COMPILER=/usr/bin/gcc-4.7 ../llvm in a simple cmake config
everything built from trunk.<br>
<br>
I'm not sure what reason gcc-4.8 is set to default for gcc and thus
cc compiler option, but the symlink states Feb 18, 2013 on this
change, while the g++ symlink dates back to September 12, 2012.<br>
<br>
Sincerely,<br>
<br>
Marc J. Driftmeyer<br>
<br>
<div class="moz-signature">-- <br>
Marc J. Driftmeyer<br>
Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a><br>
Web :: <a href="http://www.reanimality.com">http://www.reanimality.com</a><br>
Cell :: (509) 435-5212
</div>
</body>
</html>