Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 23:28:10 +0400
From:      Dmitry Sivachenko <trtrmitya@gmail.com>
To:        stable@freebsd.org
Subject:   10/stable lldb build failure
Message-ID:  <F0E586D3-4C12-4470-886F-8079BAB38080@gmail.com>

next in thread | raw e-mail | index | archive | help
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=3Dyes
WITH_SVN=3Dyes


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/includ=
e =
-I/opt/WRK/src/usr.bin/clang/lldb/../../../contrib/llvm/tools/lldb/tools/d=
river -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=3D\"x86_64-unknown-freebsd10.0\" =
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freeb
sd10.0\" -DDEFAULT_SYSROOT=3D\"\" -Qunused-arguments -fstack-protector =
-std=3Dc++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/libl=
l
dbAPI.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbBreakpoi=
nt/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/lib=
lldbCore.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/liblldbExpressi=
on/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/liblldbHostComm=
on/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/l=
iblldbSymbol.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/liblld=
bPluginABISysV_x86_64.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginCX=
XItani

umABI/liblldbPluginCXXItaniumABI.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginDi=
sassemblerLLVM/liblldbPluginDisassemblerLLVM.a /usr/obj/opt/WRK/src/u
=
sr.bin/clang/lldb/../../../lib/clang/liblldbPluginInstructionARM/liblldbPl=
uginInstructionARM.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginSy=
mbolFileD
WARF/liblldbPluginSymbolFileDWARF.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginSy=
mbolFileSymtab/liblldbPluginSymbolFileSymtab.a /usr/obj/opt/WRK/src/
=
usr.bin/clang/lldb/../../../lib/clang/liblldbPluginDynamicLoaderStatic/lib=
lldbPluginDynamicLoaderStatic.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/liblldbPluginOb=
jectContainerBSDArchive/liblldbPluginObject
ContainerBSDArchive.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginOb=
jectFileELF/liblldbPluginObjectFileELF.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/.
=
./../../lib/clang/liblldbPluginSymbolVendorELF/liblldbPluginSymbolVendorEL=
F.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginPl=
atformFreeBSD/liblldbPlugi
nPlatformFreeBSD.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginPl=
atformGDB/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/liblldbPluginPr=
ocessFreeBSD/liblldbPluginProcessFr
eeBSD.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginPr=
ocessGDBRemote/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/liblldbPluginPr=
ocessPOSIX/liblldbPluginProcessPOSIX
.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbPluginUn=
windAssemblyInstEmulation/liblldbPluginUnwindAssemblyInstEmulation.a =
/usr/obj/opt/WRK/src/usr.bin/cla
=
ng/lldb/../../../lib/clang/liblldbPluginUnwindAssemblyX86/liblldbPluginUnw=
indAssemblyX86.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/li=
bclangsema.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/li=
bclangedit.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/l=
ibclangbasic.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/l=
ibllvmoption.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/libllvmarmcodeg=
en/libllvmarmcodegen.a /usr/obj/opt/WRK/src/usr.bin/
=
clang/lldb/../../../lib/clang/libllvminstrumentation/libllvminstrumentatio=
n.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/libllvml=
inker.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipsasmp=
arser/libllvmmipsasmpa
rser.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmipscode=
gen/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/libllvmobjcarco=
pts/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/libllvmx86asmpa=
rser/libllvmx86asmparser.a /usr/obj/opt/W
=
RK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86codegen/libllvmx86c=
odegen.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86disas=
sembler/libllvmx86dis
assembler.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmcjit/li=
bllvmmcjit.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmmcdisass=
emble
r/libllvmmcdisassembler.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmarmdisas=
sembler/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/libl=
lvmipo.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/libllvmbitreade=
r/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/libllvminterpre=
ter/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/libllvmasmpr=
inter.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/libllvmmipsinstpri=
nter/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/libllvmpowerpci=
nstprinter/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/libllvmruntimed=
yld/libllvmruntimedyld.a /usr/obj/o
=
pt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmvectorize/libllvmv=
ectorize.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/libllvmx86instpri=
nter/libllvmx86instprinter.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmexecutio=
n
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/libllvmpowerpci=
nfo/libllvmpowerpcinfo.a /usr/obj/op
=
t/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmx86info/libllvmx86i=
nfo.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/libllv=
mobject.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvminstcomb=
ine/libllvminstcombi
ne.a =
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/libllvmtransfor=
mutils/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/lib=
llvmcore.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/liblldbHostComm=
on/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=20
using mkstemp() =20
=
/usr/obj/opt/WRK/src/usr.bin/clang/lldb/../../../lib/clang/liblldbExpressi=
on/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/liblldbPluginDi=
sassemblerLLVM/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=20

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F0E586D3-4C12-4470-886F-8079BAB38080>