Re: ClangBSD build failures

From: Dominic Fandrey <kamikaze_at_bsdforen.de>
Date: Tue, 27 Apr 2010 10:38:39 +0200
On 27/04/2010 09:08, Roman Divacky wrote:
> On Tue, Apr 27, 2010 at 08:21:41AM +0200, Dominic Fandrey wrote:
>> I cannot make this comparison for buildworld, because buildworld
>> with CC=cc, CXX=c++ fails:
>>
>> ===> usr.bin/clang/lib/libclanglex (all)
>> c++  -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/include -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/include/c++/4.2 -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/include/c++/4.2/backward -B/root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/lib/ -L/root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/lib/ -O2 -pipe -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/include -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/include -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex -I. -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_C
ONS
>> TANT_MACROS -fno-rtti -DLLVM_HOSTTRIPLE=\"amd64-undermydesk-freebsd9.0\" -fstack-protector -c /root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex/HeaderMap.cpp
>> c++  -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/include -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/include/c++/4.2 -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/include/c++/4.2/backward -B/root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/lib/ -L/root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/lib/ -O2 -pipe -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/include -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/include -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex -I. -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_C
ONS
>> TANT_MACROS -fno-rtti -DLLVM_HOSTTRIPLE=\"amd64-undermydesk-freebsd9.0\" -fstack-protector -c /root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex/HeaderSearch.cpp
>> c++  -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/include -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/include/c++/4.2 -isystem /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/include/c++/4.2/backward -B/root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/lib/ -L/root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/lib/ -O2 -pipe -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/include -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/include -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex -I. -I/root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_C
ONS
>> TANT_MACROS -fno-rtti -DLLVM_HOSTTRIPLE=\"amd64-undermydesk-freebsd9.0\" -fstack-protector -c /root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex/Lexer.cpp
>> In file included from /root/clangbsd.gcc.1272316273/clangbsd/usr.bin/clang/lib/libclanglex/../../../../contrib/llvm/tools/clang/lib/Lex/Lexer.cpp:1116:
>> In file included from /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/include/emmintrin.h:34:
>> In file included from /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/include/xmmintrin.h:39:
>> /root/clangbsd.gcc.1272316273/obj/root/clangbsd.gcc.1272316273/clangbsd/tmp/usr/include/mmintrin.h:63:18: error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
>>   return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
> 
> 
> you are using old clangbsd.. please update and this will go away

"Old" as in less than 12 hours. :)

I'll retry and report.

Regards

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
Received on Tue Apr 27 2010 - 06:39:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC