Hello!
I have the following FreeBSD version:
10.0-STABLE FreeBSD 10.0-STABLE #0 r263422: Thu Mar 20 17:24:32 MSK 2014
I try to build:
URL: svn://svn.freebsd.org/base/stable/10
Relative URL: ^/stable/10
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 263769
Node Kind: directory
Schedule: normal
Last Changed Author: dim
Last Changed Rev: 263765
Last Changed Date: 2014-03-26 11:42:43 +0400 (Wed, 26 Mar 2014)
my src.conf:
WITH_LLDB=yes
WITH_SVN=yes
Error:
c++ -O2 -pipe -O2 -fno-strict-aliasing -pipe
-I/opt/WRK/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/include
-I/opt/WRK/src/usr.bin/clang/lldb/../../../contrib/llvm/i
nclude
-I/opt/WRK/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/clang/include
-I/opt/WRK/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/driver
-I. -I/opt/WRK/
src/usr.bin/clang/lldb/../../../contrib/llvm/../../lib/clang/include
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DNDEBUG -DCLANG_ENABLE_ARCMT
-DCLANG_ENABLE_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd10.0\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freeb
sd10.0\" -DDEFAULT_SYSROOT=\"\" -Qunused-arguments
-fstack-protector -std=c++11 -fno-exceptions -fno-rtti -Wno-c++11-extensions
-o lldb Driver.o IOChannel.o -ledit -lcurses -le
xecinfo -Wl,--start-group
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldb/liblldb.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbAPI/libll
dbAPI.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbBreakpoint/liblldbBreakpoint.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbCommand
s/liblldbCommands.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbCore/liblldbCore.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbDataFor
matters/liblldbDataFormatters.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbExpression/liblldbExpression.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../
lib/clang/liblldbHostFreeBSD/liblldbHostFreeBSD.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbHostCommon/liblldbHostCommon.a
/usr/obj/opt/WRK/src/usr.bin/cl
ang/lldb/../../../lib/clang/liblldbInterpreter/liblldbInterpreter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbSymbol/liblldbSymbol.a
/usr/obj/opt/WRK/src/
usr.bin/clang/lldb/../../../lib/clang/liblldbTarget/liblldbTarget.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbUtility/liblldbUtility.a
/usr/obj/opt/WRK/sr
c/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginABISysV_x86_64/liblldbPluginABISysV_x86_64.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginCXXItani
umABI/liblldbPluginCXXItaniumABI.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginDisassemblerLLVM/liblldbPluginDisassemblerLLVM.a
/usr/obj/opt/WRK/src/u
sr.bin/clang/lldb/../../../lib/clang/liblldbPluginInstructionARM/liblldbPluginInstructionARM.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginSymbolFileD
WARF/liblldbPluginSymbolFileDWARF.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginSymbolFileSymtab/liblldbPluginSymbolFileSymtab.a
/usr/obj/opt/WRK/src/
usr.bin/clang/lldb/../../../lib/clang/liblldbPluginDynamicLoaderStatic/liblldbPluginDynamicLoaderStatic.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPlugin
DynamicLoaderPosixDYLD/liblldbPluginDynamicLoaderPosixDYLD.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginObjectContainerBSDArchive/liblldbPluginObject
ContainerBSDArchive.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginObjectFileELF/liblldbPluginObjectFileELF.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/.
./../../lib/clang/liblldbPluginSymbolVendorELF/liblldbPluginSymbolVendorELF.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginPlatformFreeBSD/liblldbPlugi
nPlatformFreeBSD.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginPlatformGDB/liblldbPluginPlatformGDB.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../..
/lib/clang/liblldbPluginProcessElfCore/liblldbPluginProcessElfCore.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginProcessFreeBSD/liblldbPluginProcessFr
eeBSD.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginProcessGDBRemote/liblldbPluginProcessGDBRemote.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../
lib/clang/liblldbPluginProcessUtility/liblldbPluginProcessUtility.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginProcessPOSIX/liblldbPluginProcessPOSIX
.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginUnwindAssemblyInstEmulation/liblldbPluginUnwindAssemblyInstEmulation.a
/usr/obj/opt/WRK/src/usr.bin/cla
ng/lldb/../../../lib/clang/liblldbPluginUnwindAssemblyX86/liblldbPluginUnwindAssemblyX86.a
-Wl,--end-group
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libclangfron
tend/libclangfrontend.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libclangdriver/libclangdriver.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libc
langserialization/libclangserialization.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libclangcodegen/libclangcodegen.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../
../../lib/clang/libclangparse/libclangparse.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libclangsema/libclangsema.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../..
/../lib/clang/libclanganalysis/libclanganalysis.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libclangedit/libclangedit.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/.
./../../lib/clang/libclangast/libclangast.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libclangbasic/libclangbasic.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../..
/../lib/clang/libclanglex/libclanglex.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmoption/libllvmoption.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../
lib/clang/libllvmarmasmparser/libllvmarmasmparser.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmarmcodegen/libllvmarmcodegen.a
/usr/obj/opt/WRK/src/usr.bin/
clang/lldb/../../../lib/clang/libllvminstrumentation/libllvminstrumentation.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmirreader/libllvmirreader.a
/usr/ob
j/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmlinker/libllvmlinker.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipsasmparser/libllvmmipsasmpa
rser.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipscodegen/libllvmmipscodegen.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipsdi
sassembler/libllvmmipsdisassembler.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmobjcarcopts/libllvmobjcarcopts.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/..
/../../lib/clang/libllvmpowerpccodegen/libllvmpowerpccodegen.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86asmparser/libllvmx86asmparser.a
/usr/obj/opt/W
RK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86codegen/libllvmx86codegen.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86disassembler/libllvmx86dis
assembler.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmcjit/libllvmmcjit.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmcdisassemble
r/libllvmmcdisassembler.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmarmdisassembler/libllvmarmdisassembler.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../..
/../lib/clang/libllvmselectiondag/libllvmselectiondag.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmipo/libllvmipo.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb
/../../../lib/clang/libllvmbitwriter/libllvmbitwriter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmbitreader/libllvmbitreader.a
/usr/obj/opt/WRK/src/usr.bi
n/clang/lldb/../../../lib/clang/libllvmasmparser/libllvmasmparser.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvminterpreter/libllvminterpreter.a
/usr/obj/op
t/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmjit/libllvmjit.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmarmdesc/libllvmarmdesc.a
/usr/obj/opt/WR
K/src/usr.bin/clang/lldb/../../../lib/clang/libllvmasmprinter/libllvmasmprinter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipsdesc/libllvmmipsdesc.a
/us
r/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipsinstprinter/libllvmmipsinstprinter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmpowerpcd
esc/libllvmpowerpcdesc.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmpowerpcinstprinter/libllvmpowerpcinstprinter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/
../../../lib/clang/libllvmpowerpcasmparser/libllvmpowerpcasmparser.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmruntimedyld/libllvmruntimedyld.a
/usr/obj/o
pt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmvectorize/libllvmvectorize.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86desc/libllvmx86desc.a
/u
sr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86instprinter/libllvmx86instprinter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmexecution
engine/libllvmexecutionengine.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmcodegen/libllvmcodegen.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/cl
ang/libllvmscalaropts/libllvmscalaropts.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmarminfo/libllvmarminfo.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../..
/../lib/clang/libllvmarminstprinter/libllvmarminstprinter.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmcparser/libllvmmcparser.a
/usr/obj/opt/WRK/src/usr.
bin/clang/lldb/../../../lib/clang/libllvmmipsinfo/libllvmmipsinfo.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmpowerpcinfo/libllvmpowerpcinfo.a
/usr/obj/op
t/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86info/libllvmx86info.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86utils/libllvmx86utils.a
/usr/
obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmobject/libllvmobject.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvminstcombine/libllvminstcombi
ne.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmtransformutils/libllvmtransformutils.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmip
a/libllvmipa.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmanalysis/libllvmanalysis.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmtarg
et/libllvmtarget.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmcore/libllvmcore.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmc/libll
vmmc.a
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmsupport/libllvmsupport.a
-lncurses -lpthread
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbHostCommon/liblldbHostCommon.a(Host.o):
In function `lldb_private::Host::RunShellCommand(char const*, char const
*, int*, int*, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> >*,
unsigned int, char const*)':
/opt/WRK/src/lib/clang/liblldbHostCommon/../../../contrib/llvm/tools/lldb/source/Host/common/Host.cpp:(.text+0x1836):
warning: warning: tmpnam() possibly used unsafely; consider
using mkstemp()
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbExpression/liblldbExpression.a(ClangExpressionParser.o):
In function `lldb_private::ClangExpressionParser::Clang
ExpressionParser(lldb_private::ExecutionContextScope*,
lldb_private::ClangExpression&)':
/opt/WRK/src/lib/clang/liblldbExpression/../../../contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:(.text+0x2cc):
undefined reference to `LLVMInitializeSparcTa
rgetInfo'
/opt/WRK/src/lib/clang/liblldbExpression/../../../contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:(.text+0x2e5):
undefined reference to `LLVMInitializeSparcTa
rget'
/opt/WRK/src/lib/clang/liblldbExpression/../../../contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:(.text+0x2fe):
undefined reference to `LLVMInitializeSparcAs
mPrinter'
/opt/WRK/src/lib/clang/liblldbExpression/../../../contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:(.text+0x317):
undefined reference to `LLVMInitializeSparcTa
rgetMC'
/opt/WRK/src/lib/clang/liblldbExpression/../../../contrib/llvm/tools/lldb/source/Expression/ClangExpressionParser.cpp:(.text+0x32b):
undefined reference to `LLVMInitializeSparcDi
sassembler'
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginDisassemblerLLVM/liblldbPluginDisassemblerLLVM.a(DisassemblerLLVMC.o):
In function `DisassemblerLLVMC::Ini
tialize()':
/opt/WRK/src/lib/clang/liblldbPluginDisassemblerLLVM/../../../contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:(.text+0x1137):
undefined reference t
o `LLVMInitializeSparcTargetInfo'
/opt/WRK/src/lib/clang/liblldbPluginDisassemblerLLVM/../../../contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:(.text+0x1150):
undefined reference t
o `LLVMInitializeSparcTargetMC'
/opt/WRK/src/lib/clang/liblldbPluginDisassemblerLLVM/../../../contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:(.text+0x1169):
undefined reference t
o `LLVMInitializeSparcAsmParser'
/opt/WRK/src/lib/clang/liblldbPluginDisassemblerLLVM/../../../contrib/llvm/tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp:(.text+0x117d):
undefined reference t
o `LLVMInitializeSparcDisassembler'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[5]: stopped in /opt/WRK/src/usr.bin/clang/lldb
*** Error code 1
Stop.
make[4]: stopped in /opt/WRK/src/usr.bin/clang
*** Error code 1
Stop.
make[3]: stopped in /opt/WRK/src/usr.bin
*** Error code 1
Stop.
make[2]: stopped in /opt/WRK/src
*** Error code 1
Stop.
make[1]: stopped in /opt/WRK/src
*** Error code 1
Stop.
make: stopped in /opt/WRK/src
Previous version was built also with the same src.conf. Now it seems broken.
Probably recent update of clang broke that.