Re: [TESTING]: updated clang/LLVM needs testing in ClangBSD

From: Rene Ladan <rene_at_freebsd.org>
Date: Fri, 16 Jul 2010 23:55:32 +0200
On 15-07-2010 19:42, Roman Divacky wrote:
> I updated clang/LLVM in clangbsd to a newer version which I believe
> will fix thas. can you rene (and everyone else) please retest with
> updated ClangBSD and report back?
> 
The updated version builds and installs fine, I'm now running the
clangbsd kernel. The clangbsd world (chrooted with "make distribution
DESTDIR=/usr/clangbsd" and "mount -t devfs devfs /usr/clangbsd/dev")
seems to work fine, some basic commands work.

Using a clang kernel with gcc kernel modules also works fine :)

Regards,
Rene
> 
> On Thu, Jul 15, 2010 at 01:33:04PM +0200, Ren? Ladan wrote:
>> 2010/7/14 Roman Divacky <rdivacky_at_freebsd.org>:
>>> hi,
>>>
>>> ClangBSD was updated to LLVM/clang revision r108243 which we plan to
>>> merge into HEAD. We would like that revision to be tested as much as possible
>>> and therefore we ask you to test ClangBSD to assure that the revision
>>> we are updating to does not have some really embarassing bugs.
>>>
>>> How to do it (on i386 and amd64):
>>>
>>> 0) install fresh devel/llvm-devel port
>>>
>>> 1) svn co http://svn.freebsd.org/base/projects/clangbsd src
>>>
>>> 2) echo NO_WERROR= >> /etc/src.conf ; echo WERROR= >> /etc/src.conf
>>>
>>> 3) cd src && make buildworld
>>>
>> And here my buildworld fails with:
>>
>> ===> lib/clang/libclanglex (depend)
>> tblgen -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex
>> -I. -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/../../lib/clang/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include/clang/Basic
>>  -gen-clang-diags-defs -clang-component=Common
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
>>> DiagnosticCommonKinds.inc.h
>> tblgen -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex
>> -I. -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/../../lib/clang/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include/clang/Basic
>>  -gen-clang-diags-defs -clang-component=Lex
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
>>> DiagnosticLexKinds.inc.h
>> rm -f .depend
>> CC='clang -isysroot /usr/obj/usr/home/rene/freebsd/clangbsd/tmp
>> -B/usr/obj/usr/home/rene/freebsd/clangbsd/tmp/usr/lib/
>> -L/usr/obj/usr/home/rene/freebsd/clangbsd/tmp/usr/lib/' mkdep -f
>> .depend -a    -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/include
>> -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex
>> -I. -I/usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/../../lib/clang/include
>> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS
>> -D__STDC_CONSTANT_MACROS
>> -DLLVM_HOSTTRIPLE=\"amd64-undermydesk-freebsd9.0\"
>> -DCLANG_VENDOR=\"FreeBSD\ \" -DSVN_REVISION=\"108243\"
>> -DCLANG_VENDOR_SUFFIX=\"\ 20100713\"
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/HeaderMap.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/HeaderSearch.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/Lexer.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/LiteralSupport.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/MacroArgs.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/MacroInfo.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PPCaching.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PPDirectives.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PPExpressions.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PPLexerChange.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PPMacroExpansion.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PTHLexer.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/Pragma.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PreprocessingRecord.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/Preprocessor.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/PreprocessorLexer.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/ScratchBuffer.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/TokenConcatenation.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/TokenLexer.cpp
>> /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex/../../../contrib/llvm/tools/clang/lib/Lex/Lexer.cpp:1110:10:
>> fatal error:
>>       'emmintrin.h' file not found
>> #include <emmintrin.h>
>>          ^
>> 1 error generated.
>> mkdep: compile failed
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd/lib/clang/libclanglex.
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd/lib/clang.
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd/lib.
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd.
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd.
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd.
>> *** Error code 1
>>
>> Stop in /usr/home/rene/freebsd/clangbsd.
>>
>> I do have CPUTYPE=nocona in /etc/make.conf, but apart from that /etc/make.conf
>> only contains port-related stuff. /etc/src.conf only contains the two
>> WERROR lines.
>>
>> acer# locate emmintrin.h
>> /usr/home/rene/freebsd/clangbsd/contrib/gcc/config/i386/.svn/prop-base/emmintrin.h.svn-base
>> /usr/home/rene/freebsd/clangbsd/contrib/gcc/config/i386/.svn/text-base/emmintrin.h.svn-base
>> /usr/home/rene/freebsd/clangbsd/contrib/gcc/config/i386/emmintrin.h
>> /usr/home/rene/freebsd/clangbsd/contrib/llvm/tools/clang/lib/Headers/.svn/text-base/emmintrin.h.svn-base
>> /usr/home/rene/freebsd/clangbsd/contrib/llvm/tools/clang/lib/Headers/emmintrin.h
>> /usr/include/clang/2.0/emmintrin.h
>> /usr/include/gcc/4.2/emmintrin.h
>> /usr/local/lib/gcc44/gcc/x86_64-portbld-freebsd9.0/4.4.5/include/emmintrin.h
>> /usr/obj/usr/src/tmp/usr/include/clang/2.0/emmintrin.h
>> /usr/obj/usr/src/tmp/usr/include/gcc/4.2/emmintrin.h
>> acer# ls -l /usr/obj/usr/home/rene/freebsd/clangbsd/tmp/usr/include/*/*/emmintrin.h
>> -rwxr-xr-x  1 root  wheel  36913 Jul 15 11:24
>> /usr/obj/usr/home/rene/freebsd/clangbsd/tmp/usr/include/clang/2.8/emmintrin.h
>> -rwxr-xr-x  1 root  wheel  42617 Oct 14  2009
>> /usr/obj/usr/home/rene/freebsd/clangbsd/tmp/usr/include/gcc/4.2/emmintrin.h
>>
>> acer# uname -a
>> FreeBSD acer 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r209980M: Tue Jul 13
>> 11:48:03 CEST 2010     rene_at_acer:/usr/obj/usr/src/sys/GENERIC  amd64
>>

-- 
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
Received on Fri Jul 16 2010 - 19:55:38 UTC

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