Have you looked at <a href="http://llvm.linuxfoundation.org/index.php/Main_Page?">http://llvm.linuxfoundation.org/index.php/Main_Page?</a><br>They claim to build linux kernel with clang/llvm, after patching the kernel of course. May be some of these patch set can help you in the road of building uClibc with clang (last time I tried IIRC it wasn't so easy, but it is nice to see someone else interesting on doing that).<br><br>Cheers,<br><br>----- Reply message -----<br>De : "Jeffrey Walton" <noloader@gmail.com><br>Pour : "Clang Discuss" <cfe-dev@cs.uiuc.edu><br>Objet : [cfe-dev] Work around for compiler error parsing 'aligned'     attribute? (Bug 11071)?<br>Date : jeu., févr. 28, 2013 23:41<br><br><br>Hi All,<br><br>I'm using Clang 3.1, and am having problems with __aligned__ attribute<br>as reported in http://llvm.org/bugs/show_bug.cgi?id=11071 (reported<br>10/2011).<br><br>Are there any workarounds that I can apply to get past my compilation problems?<br><br>$ clang --version<br>clang version 3.1 (branches/release_31)<br>Target: x86_64-unknown-linux-gnu<br>Thread model: posix<br>_______________________________________________<br>cfe-dev mailing list<br>cfe-dev@cs.uiuc.edu<br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br>