Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 23:31:06 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Alexander Best <alexbestms@uni-muenster.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Import of clang/LLVM about to start
Message-ID:  <20100609213106.GA99939@freebsd.org>
In-Reply-To: <AANLkTilsqH4iw8VP46ALxdxY5z_jBNLdVJk_CU20NrFw@mail.gmail.com>
References:  <AANLkTilsqH4iw8VP46ALxdxY5z_jBNLdVJk_CU20NrFw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I dont see the error message but I guess you dont have tblgen
built (a necessary part for building clang/LLVM)

buildworld should be fine

On Wed, Jun 09, 2010 at 11:30:10PM +0200, Alexander Best wrote:
> that's great news! :)
> 
> just tried to do `make depend all` in usr.bin/clang and got:
> 
> ===> clang (depend)
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Driver
>  -gen-opt-parser-defs
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Driver/CC1AsOptions.td
> > CC1AsOptions.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Driver
>  -gen-opt-parser-defs
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Driver/CC1Options.td
> > CC1Options.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic
>  -gen-clang-diags-defs -clang-component=Common
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
> > DiagnosticCommonKinds.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic
>  -gen-clang-diags-defs -clang-component=Driver
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
> > DiagnosticDriverKinds.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic
>  -gen-clang-diags-defs -clang-component=Frontend
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
> > DiagnosticFrontendKinds.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic
>  -gen-clang-diags-defs -clang-component=Lex
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
> > DiagnosticLexKinds.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic
>  -gen-clang-diags-defs -clang-component=Sema
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Basic/Diagnostic.td
> > DiagnosticSemaKinds.inc.h
> tblgen -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Driver
>  -gen-opt-parser-defs
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include/clang/Driver/Options.td
> > Options.inc.h
> rm -f .depend
> mkdep -f .depend -a
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../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\"
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver/cc1_main.cpp
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver/driver.cpp
> echo clang: /usr/lib/libc.a CC1AsOptions.inc.h CC1Options.inc.h
> DiagnosticCommonKinds.inc.h DiagnosticDriverKinds.inc.h
> DiagnosticFrontendKinds.inc.h DiagnosticLexKinds.inc.h
> DiagnosticSemaKinds.inc.h Options.inc.h
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangfrontend/libclangfrontend.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangdriver/libclangdriver.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangcodegen/libclangcodegen.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangsema/libclangsema.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangchecker/libclangchecker.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclanganalysis/libclanganalysis.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangrewrite/libclangrewrite.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangast/libclangast.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangparse/libclangparse.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclanglex/libclanglex.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangbasic/libclangbasic.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvminstcombine/libllvminstcombine.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmipo/libllvmipo.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmbitwriter/libllvmbitwriter.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmbitreader/libllvmbitreader.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpccodegen/libllvmpowerpccodegen.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpcasmprinter/libllvmpowerpcasmprinter.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpcinfo/libllvmpowerpcinfo.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86asmparser/libllvmx86asmparser.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86asmprinter/libllvmx86asmprinter.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86codegen/libllvmx86codegen.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86info/libllvmx86info.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsasmprinter/libllvmmipsasmprinter.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipscodegen/libllvmmipscodegen.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsinfo/libllvmmipsinfo.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmasmparser/libllvmarmasmparser.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmasmprinter/libllvmarmasmprinter.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmcodegen/libllvmarmcodegen.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmselectiondag/libllvmselectiondag.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmasmprinter/libllvmasmprinter.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmcodegen/libllvmcodegen.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmscalaropts/libllvmscalaropts.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmtransformutils/libllvmtransformutils.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmc/libllvmmc.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmcparser/libllvmmcparser.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmipa/libllvmipa.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmanalysis/libllvmanalysis.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmtarget/libllvmtarget.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmc/libllvmmc.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmcore/libllvmcore.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarminfo/libllvmarminfo.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmsupport/libllvmsupport.a
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmsystem/libllvmsystem.a
> >> .depend
> echo clang: /usr/lib/libstdc++.a >> .depend
> ===> clang (all)
> Warning: Object directory not changed from original /usr/src/usr.bin/clang/clang
> c++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../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\" -g
> -fstack-protector -fconserve-space -g -c
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver/cc1_main.cpp
> c++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../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\" -g
> -fstack-protector -fconserve-space -g -c
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver/cc1as_main.cpp
> c++ -O2 -pipe -fno-strict-aliasing -funroll-loops -march=nocona
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include
> -I/usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver
> -I. -I/usr/src/usr.bin/clang/clang/../../../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\" -g
> -fstack-protector -fconserve-space -g -c
> /usr/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver/driver.cpp
> make: don't know how to make
> /usr/src/usr.bin/clang/clang/../../../lib/clang/libclangfrontend/libclangfrontend.a.
> Stop
> *** Error code 2
> 
> Stop in /usr/src/usr.bin/clang.
> 
> but i'll be testing buildworld/buildkernel next.
> 
> cheers.
> 
> -- 
> Alexander Best
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100609213106.GA99939>