On Fri, Dec 7, 2012 at 3:29 PM, NAKAMURA Takumi <[email protected]>wrote:
> Bruce, is it capable of selfhosting?
>
It might be, but I'm so far failing to get the linking to work. (Simple
test programs seem to compile and link fine,
though primarily I'm interested in running the analyser rather than regular
compilation):
/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 \
-lpthread -ldl -lm
/buildslave/llvm-selfbuild/Release/lib/libLLVMSupport.a(regerror.o): In
function `__strcspn_c1':
/buildslave/llvm/lib/Support/regerror.c:(.text+0x310): multiple definition
of `__strcspn_c1'
/buildslave/llvm-selfbuild/Release/lib/libLLVMSupport.a(regcomp.o):/buildslave/llvm/lib/Support/regcomp.c:(.text+0x310):
first defined here
/buildslave/llvm-selfbuild/Release/lib/libLLVMSupport.a(regerror.o): In
function `__strcspn_c2':
/buildslave/llvm/lib/Support/regerror.c:(.text+0x330): multiple definition
of `__strcspn_c2'
etc.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits