From owner-freebsd-current@FreeBSD.ORG Thu Jan 9 21:28:23 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA85799D; Thu, 9 Jan 2014 21:28:23 +0000 (UTC) Received: from aussmtpmrkpc120.us.dell.com (aussmtpmrkpc120.us.dell.com [143.166.82.159]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 65A4B10AF; Thu, 9 Jan 2014 21:28:23 +0000 (UTC) X-Loopcount0: from 64.238.244.148 X-IronPort-AV: E=Sophos;i="4.95,633,1384322400"; d="scan'208,217";a="67213942" Message-ID: <52CF146E.3070900@vangyzen.net> Date: Thu, 9 Jan 2014 15:28:14 -0600 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ed Maste , FreeBSD Current Subject: lldb build failure: undefined reference to `vtable for lldb_private::TypeFormatImpl_Format' References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 21:28:23 -0000 Ed and -current: I followed the instructions on the wiki for building lldb (r198872) on 9.1-RELEASE amd64. I'm using clang in the base system (3.1). I get this failure: [1/2] Linking CXX executable bin/lldb-3.5 [...snip...] lib/liblldb.so.3.5: undefined reference to `vtable for lldb_private::TypeFormatImpl_Format' lib/liblldb.so.3.5: undefined reference to `vtable for lldb_private::TypeFormatImpl_EnumType' The complete output is below. Any ideas? What other info can I provide? Thanks, Eric On 12/17/2013 16:15, Ed Maste wrote: > The in-tree snapshot of LLDB is at a point where it's usable and > suitable for wider testing on amd64, and so I intend to enable it by > default in the near future. > > Further information on the FreeBSD port of LLDB is on the wiki, at > https://wiki.freebsd.org/lldb > > On my desktop LLDB added about 5 minutes to a buildworld and 80MB to > objdir (over a baseline of about an hour and 1.8GB). If you wish to > avoid building it, you can add 'WITHOUT_LLDB=' to src.conf. > > -Ed > _______________________________________________ > 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" > $ ninja lldb [1/2] Linking CXX executable bin/lldb-3.5 FAILED: : && /usr/bin/clang++ -std=c++11 -stdlib=libc++ -I/usr/local/include/python2.7 -g -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -fcolor-diagnostics -fno-rtti tools/lldb/tools/driver/CMakeFiles/lldb.dir/Driver.cpp.o tools/lldb/tools/driver/CMakeFiles/lldb.dir/IOChannel.cpp.o tools/lldb/tools/driver/CMakeFiles/lldb.dir/ELWrapper.cpp.o tools/lldb/tools/driver/CMakeFiles/lldb.dir/Platform.cpp.o tools/lldb/tools/driver/CMakeFiles/lldb.dir/GetOptWrapper.cpp.o -o bin/lldb-3.5 -L/usr/local/lib lib/liblldb.so.3.5 -Wl,--start-group lib/liblldbAPI.a lib/liblldbBreakpoint.a lib/liblldbCommands.a lib/liblldbDataFormatters.a lib/liblldbHostCommon.a lib/liblldbCore.a lib/liblldbExpression.a lib/liblldbInterpreter.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbUtility.a lib/liblldbPluginDisassemblerLLVM.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFileSymtab.a lib/liblldbPluginDynamicLoaderStatic.a lib/liblldbPluginDynamicLoaderPosixDYLD.a lib/liblldbPluginObjectFileMachO.a lib/liblldbPluginObjectFileELF.a lib/liblldbPluginSymbolVendorELF.a lib/liblldbPluginObjectContainerBSDArchive.a lib/liblldbPluginObjectContainerMachOArchive.a lib/liblldbPluginProcessGDBRemote.a lib/liblldbPluginProcessMachCore.a lib/liblldbPluginProcessUtility.a lib/liblldbPluginPlatformGDB.a lib/liblldbPluginPlatformFreeBSD.a lib/liblldbPluginPlatformLinux.a lib/liblldbPluginPlatformPOSIX.a lib/liblldbPluginPlatformWindows.a lib/liblldbPluginPlatformMacOSX.a lib/liblldbPluginDynamicLoaderMacOSXDYLD.a lib/liblldbPluginUnwindAssemblyInstEmulation.a lib/liblldbPluginUnwindAssemblyX86.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginCXXItaniumABI.a lib/liblldbPluginABIMacOSX_arm.a lib/liblldbPluginABIMacOSX_i386.a lib/liblldbPluginABISysV_x86_64.a lib/liblldbPluginInstructionARM.a lib/liblldbPluginObjectFilePECOFF.a lib/liblldbPluginOSPython.a lib/liblldbHostFreeBSD.a lib/liblldbPluginProcessFreeBSD.a lib/liblldbPluginProcessPOSIX.a lib/liblldbPluginProcessElfCore.a -Wl,--end-group lib/libclangCodeGen.a lib/libLLVMIRReader.a lib/libLLVMInstrumentation.a lib/libLLVMLinker.a lib/libLLVMObjCARCOpts.a lib/libclangRewriteFrontend.a lib/libclangFrontend.a lib/libclangDriver.a lib/libclangParse.a lib/libclangRewriteCore.a lib/libclangSerialization.a lib/libclangSema.a lib/libclangAnalysis.a lib/libclangEdit.a lib/libclangAST.a lib/libclangLex.a lib/libclangBasic.a lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64AsmParser.a lib/libLLVMAArch64Disassembler.a lib/libLLVMARMCodeGen.a lib/libLLVMARMAsmParser.a lib/libLLVMARMDisassembler.a lib/libLLVMCppBackendCodeGen.a lib/libLLVMHexagonCodeGen.a lib/libLLVMMipsCodeGen.a lib/libLLVMMipsAsmParser.a lib/libLLVMMipsDisassembler.a lib/libLLVMMSP430CodeGen.a lib/libLLVMNVPTXCodeGen.a lib/libLLVMPowerPCCodeGen.a lib/libLLVMPowerPCAsmParser.a lib/libLLVMPowerPCDisassembler.a lib/libLLVMR600CodeGen.a lib/libLLVMSparcCodeGen.a lib/libLLVMSparcAsmParser.a lib/libLLVMSparcDisassembler.a lib/libLLVMSystemZCodeGen.a lib/libLLVMSystemZAsmParser.a lib/libLLVMSystemZDisassembler.a lib/libLLVMX86AsmParser.a lib/libLLVMX86Disassembler.a lib/libLLVMXCoreCodeGen.a lib/libLLVMXCoreDisassembler.a lib/libLLVMJIT.a lib/libLLVMInterpreter.a lib/libLLVMX86CodeGen.a lib/libLLVMAsmParser.a lib/libLLVMBitWriter.a lib/libLLVMipo.a lib/libLLVMBitReader.a lib/libLLVMMCJIT.a lib/libLLVMMCDisassembler.a lib/libLLVMOption.a lib/libLLVMAArch64Desc.a lib/libLLVMARMDesc.a lib/libLLVMCppBackendInfo.a lib/libLLVMHexagonAsmPrinter.a lib/libLLVMMipsDesc.a lib/libLLVMMSP430Desc.a lib/libLLVMNVPTXDesc.a lib/libLLVMPowerPCDesc.a lib/libLLVMR600Desc.a lib/libLLVMSparcDesc.a lib/libLLVMSystemZDesc.a lib/libLLVMXCoreDesc.a lib/libLLVMAsmPrinter.a lib/libLLVMSelectionDAG.a lib/libLLVMX86Desc.a lib/libLLVMVectorize.a lib/libLLVMExecutionEngine.a lib/libLLVMRuntimeDyld.a lib/libLLVMAArch64AsmPrinter.a lib/libLLVMAArch64Info.a lib/libLLVMARMAsmPrinter.a lib/libLLVMARMInfo.a lib/libLLVMHexagonDesc.a lib/libLLVMMipsAsmPrinter.a lib/libLLVMMipsInfo.a lib/libLLVMMSP430AsmPrinter.a lib/libLLVMMSP430Info.a lib/libLLVMNVPTXAsmPrinter.a lib/libLLVMNVPTXInfo.a lib/libLLVMPowerPCAsmPrinter.a lib/libLLVMPowerPCInfo.a lib/libLLVMR600AsmPrinter.a lib/libLLVMR600Info.a lib/libLLVMSparcAsmPrinter.a lib/libLLVMSparcInfo.a lib/libLLVMSystemZAsmPrinter.a lib/libLLVMSystemZInfo.a lib/libLLVMXCoreAsmPrinter.a lib/libLLVMXCoreInfo.a lib/libLLVMMCParser.a lib/libLLVMCodeGen.a lib/libLLVMX86AsmPrinter.a lib/libLLVMX86Info.a lib/libLLVMAArch64Utils.a lib/libLLVMHexagonInfo.a lib/libLLVMScalarOpts.a lib/libLLVMX86Utils.a lib/libLLVMInstCombine.a lib/libLLVMTransformUtils.a lib/libLLVMipa.a lib/libLLVMAnalysis.a lib/libLLVMTarget.a lib/libLLVMCore.a lib/libLLVMMC.a lib/libLLVMObject.a lib/libLLVMSupport.a -lexecinfo -lrt -ltinfo -lpthread -lz -ledit -lpython2.7 -Wl,-rpath,/usr/local/lib:/home/evangyzen/upstream/llvm/build/lib: && : clang++: warning: argument unused during compilation: '-g' lib/liblldb.so.3.5: undefined reference to `vtable for lldb_private::TypeFormatImpl_Format' lib/liblldb.so.3.5: undefined reference to `vtable for lldb_private::TypeFormatImpl_EnumType' clang++: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.