<div class="gmail_extra">On Fri, Dec 7, 2012 at 3:29 PM, NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div id=":1u">Bruce, is it capable of selfhosting?<br>
</div></blockquote></div><br>It might be, but I'm so far failing to get the linking to work. (Simple test programs seem to compile and link fine,<br>though primarily I'm interested in running the analyser rather than regular compilation):<br>
<br>/buildslave/llvm-bin/bin/clang++ -I/buildslave/llvm-selfbuild/include -I/buildslave/llvm-selfbuild/utils/FileCheck -I/buildslave/llvm/include -I/buildslave/llvm/utils/FileCheck -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual -Wcast-qual -O3 -Wl,-R -Wl,'$ORIGIN/../lib' -Wl,-R -Wl,/buildslave/llvm-selfbuild/Release/bin -L/buildslave/llvm-selfbuild/Release/lib -L/buildslave/llvm-selfbuild/Release/lib -Wl,--version-script=/buildslave/llvm/autoconf/ExportMap.map -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default -o /buildslave/llvm-selfbuild/Release/bin/FileCheck /buildslave/llvm-selfbuild/utils/FileCheck/Release/FileCheck.o -lLLVMSupport \<br>
-lpthread -ldl -lm <br>/buildslave/llvm-selfbuild/Release/lib/libLLVMSupport.a(regerror.o): In function `__strcspn_c1':<br>/buildslave/llvm/lib/Support/regerror.c:(.text+0x310): multiple definition of `__strcspn_c1'<br>
/buildslave/llvm-selfbuild/Release/lib/libLLVMSupport.a(regcomp.o):/buildslave/llvm/lib/Support/regcomp.c:(.text+0x310): first defined here<br>/buildslave/llvm-selfbuild/Release/lib/libLLVMSupport.a(regerror.o): In function `__strcspn_c2':<br>
/buildslave/llvm/lib/Support/regerror.c:(.text+0x330): multiple definition of `__strcspn_c2'<br><br>etc.<br><br></div>