<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Check your installation. Debian has unwisely gone ahead with gcc-4.7
migration in Sid that doesn't grab the libstdc++6 for 4.7 if you
upgrade Sid on any general basis.<br>
<br>
They were testing in experimental a new clang-3.1 trunk but
mysteriously pulled it.<br>
<br>
Unfortunately, Clang isn't 4.7 clean from what I can tell and Debian
has already started moving Sid to build against gcc-4.7 leaving one
screwed until Clang handles the following:<br>
<br>
<blockquote type="cite">mdriftmeyer@horus:~/DeveloperProjects/LLVMProject/cmake-clang-llvm$
/usr/local/bin/clang++ ../Hello.World.cpp <br>
In file included from ../Hello.World.cpp:1:<br>
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/iostream:39:<br>
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/ostream:39:<br>
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/ios:42:<br>
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/ios_base.h:40:<br>
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/ext/atomicity.h:48:12:
error: first argument to<br>
atomic operation must be a pointer to _Atomic type
('volatile _Atomic_word *' (aka 'volatile int *')<br>
invalid)<br>
{ return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>
^ ~~~~~<br>
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/ext/atomicity.h:52:5:
error: first argument to <br>
atomic operation must be a pointer to _Atomic type
('volatile _Atomic_word *' (aka 'volatile int *')<br>
invalid)<br>
{ __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>
^ ~~~~~<br>
2 errors
generated.
<br>
mdriftmeyer@horus:~/DeveloperProjects/LLVMProject/cmake-clang-llvm$ </blockquote>
<br>
Backing out, by hand, down to a strict gcc-4.6 install is a pain in
the rear presently with Debian. Personally, I'm punting until stuff
gets clean up.<br>
<br>
- Marc<br>
<br>
On 04/05/2012 05:47 PM, ZigZag Maguardo wrote:
<blockquote
cite="mid:CAPLhTMJH_TD6o0sO-ito-8QVeZmveZSKWLXhpZhr8TmzhfYVPA@mail.gmail.com"
type="cite">
<div>Hello!</div>
<div><br>
</div>
<div>I compiled llvm clang according to <a moz-do-not-send="true"
href="http://clang.llvm.org/get_started.html">this guide</a> on
Unix with GNU GCC 4.6 (Debian gcc package). And I have this
error:</div>
<div><br>
</div>
<div><span style="background-color:rgb(204,204,204)">llvm[4]:
Compiling CGExprAgg.cpp for Debug+Asserts build</span></div>
<div><span style="background-color:rgb(204,204,204)">/tmp/ccE1jciA.s:
Assembler messages:</span></div>
<div><span style="background-color:rgb(204,204,204)">/tmp/ccE1jciA.s:88098:
Error: unknown pseudo-op: `.loog'</span></div>
<div><span style="background-color:rgb(204,204,204)">make[4]: ***
[/home/kron/Software/llvm/154138/tools/clang/lib/CodeGen/Debug+Asserts/CGExprAgg.o]
Error 1</span></div>
<div><span style="background-color:rgb(204,204,204)">make[4]:
Leaving directory
`/home/kron/Software/llvm/154138/tools/clang/lib/CodeGen'</span></div>
<div><span style="background-color:rgb(204,204,204)">make[3]: ***
[CodeGen/.makeall] Error 2</span></div>
<div><span style="background-color:rgb(204,204,204)">make[3]:
Leaving directory
`/home/kron/Software/llvm/154138/tools/clang/lib'</span></div>
<div><span style="background-color:rgb(204,204,204)">make[2]: ***
[all] Error 1</span></div>
<div><span style="background-color:rgb(204,204,204)">make[2]:
Leaving directory
`/home/kron/Software/llvm/154138/tools/clang'</span></div>
<div><span style="background-color:rgb(204,204,204)">make[1]: ***
[clang/.makeall] Error 2</span></div>
<div><span style="background-color:rgb(204,204,204)">make[1]:
Leaving directory `/home/kron/Software/llvm/154138/tools'</span></div>
<div><span style="background-color:rgb(204,204,204)">make: ***
[all] Error 1</span></div>
<div><br>
</div>
<div>Respectfully,</div>
<div>Itun</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<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>