[cfe-commits] [PATCH] Fix GCC triple for preview gcc4.4 on CentOS 32 bit

Bruce Stephens bruce.r.stephens at gmail.com
Fri Dec 7 07:54:34 PST 2012


On Fri, Dec 7, 2012 at 3:29 PM, NAKAMURA Takumi <geek4civic at gmail.com>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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121207/a433103f/attachment.html>


More information about the cfe-commits mailing list