Bug#997011: llvm-toolchain-13: FTBFS on mipsel: undefined reference to lldb_private::process_linux::NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux in lldb-server
Simon McVittie
smcv at debian.org
Fri Oct 22 11:07:41 BST 2021
Source: llvm-toolchain-13
Version: 1:13.0.0-7
Severity: important
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-13&arch=mipsel&ver=1%3A13.0.0-7&stamp=1634849868&raw=0
> [7723/7788] : && /<<PKGBUILDDIR>>/build-llvm/./bin/clang++ -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O2 -DNDEBUG -g1 -latomic -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -Wl,--build-id -Wl,-rpath-link,/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/./lib -Wl,-O3 -Wl,--gc-sections tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/Acceptor.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-gdbserver.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-platform.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-server.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/LLDBServerUtilities.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/SystemInitializerLLGS.cpp.o -o bin/lldb-server -Wl,-rpath,"\$ORIGIN/../lib" -lpthread lib/liblldbBase.a lib/liblldbHost.a lib/liblldbInitialization.a lib/liblldbPluginProcessLinux.a lib/liblldbPluginObjectFileELF.a lib/liblldbPluginInstructionARM.a lib/liblldbPluginInstructionMIPS.a lib/liblldbPluginInstructionMIPS64.a lib/liblldbPluginProcessGDBRemote.a lib/liblldbPluginPlatformMacOSX.a lib/liblldbPluginPlatformPOSIX.a lib/liblldbPluginProcessPOSIX.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a -lcurses /usr/lib/mipsel-linux-gnu/libform.so /usr/lib/mipsel-linux-gnu/libpanel.so /usr/lib/mipsel-linux-gnu/libtinfo.so lib/liblldbBase.a lib/liblldbHost.a /usr/lib/mipsel-linux-gnu/libxml2.so /usr/lib/mipsel-linux-gnu/libedit.so lib/liblldbUtility.a -lpthread lib/libclang-cpp.so.13 lib/libLLVM-13.so.1 -ldl -latomic && :
> FAILED: bin/lldb-server
> : && /<<PKGBUILDDIR>>/build-llvm/./bin/clang++ -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O2 -DNDEBUG -g1 -latomic -fPIC -Wno-unused-command-line-argument -Wno-unknown-warning-option -Wl,--build-id -Wl,-rpath-link,/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/./lib -Wl,-O3 -Wl,--gc-sections tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/Acceptor.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-gdbserver.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-platform.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/lldb-server.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/LLDBServerUtilities.cpp.o tools/lldb/tools/lldb-server/CMakeFiles/lldb-server.dir/SystemInitializerLLGS.cpp.o -o bin/lldb-server -Wl,-rpath,"\$ORIGIN/../lib" -lpthread lib/liblldbBase.a lib/liblldbHost.a lib/liblldbInitialization.a lib/liblldbPluginProcessLinux.a lib/liblldbPluginObjectFileELF.a lib/liblldbPluginInstructionARM.a lib/liblldbPluginInstructionMIPS.a lib/liblldbPluginInstructionMIPS64.a lib/liblldbPluginProcessGDBRemote.a lib/liblldbPluginPlatformMacOSX.a lib/liblldbPluginPlatformPOSIX.a lib/liblldbPluginProcessPOSIX.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a lib/liblldbCore.a lib/liblldbSymbol.a lib/liblldbTarget.a lib/liblldbPluginProcessUtility.a lib/liblldbInterpreter.a lib/liblldbBreakpoint.a lib/liblldbDataFormatters.a lib/liblldbExpression.a lib/liblldbPluginCPlusPlusLanguage.a lib/liblldbPluginObjCLanguage.a lib/liblldbCommands.a lib/liblldbPluginObjectFileJIT.a lib/liblldbPluginClangCommon.a lib/liblldbPluginCPPRuntime.a lib/liblldbPluginTypeSystemClang.a lib/liblldbPluginAppleObjCRuntime.a lib/liblldbPluginExpressionParserClang.a lib/liblldbPluginSymbolFileDWARF.a lib/liblldbPluginSymbolFilePDB.a lib/liblldbPluginObjCRuntime.a lib/liblldbPluginRenderScriptRuntime.a lib/liblldbPluginSymbolFileNativePDB.a lib/liblldbPluginObjectFilePDB.a -lcurses /usr/lib/mipsel-linux-gnu/libform.so /usr/lib/mipsel-linux-gnu/libpanel.so /usr/lib/mipsel-linux-gnu/libtinfo.so lib/liblldbBase.a lib/liblldbHost.a /usr/lib/mipsel-linux-gnu/libxml2.so /usr/lib/mipsel-linux-gnu/libedit.so lib/liblldbUtility.a -lpthread lib/libclang-cpp.so.13 lib/libLLVM-13.so.1 -ldl -latomic && :
> /usr/bin/ld: lib/liblldbPluginProcessLinux.a(NativeThreadLinux.cpp.o): in function `lldb_private::process_linux::NativeThreadLinux::NativeThreadLinux(lldb_private::process_linux::NativeProcessLinux&, unsigned long long)':
> /<<PKGBUILDDIR>>/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp:96: undefined reference to `lldb_private::process_linux::NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux(lldb_private::ArchSpec const&, lldb_private::process_linux::NativeThreadLinux&)'
> /usr/bin/ld: /<<PKGBUILDDIR>>/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp:96: undefined reference to `lldb_private::process_linux::NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux(lldb_private::ArchSpec const&, lldb_private::process_linux::NativeThreadLinux&)'
This might also happen on mips64el, I don't know (the mips64el build didn't
finish yet).
I'm filing this as important because it isn't a regression within the
source package llvm-toolchain-13, so strictly speaking it isn't usually
considered RC; but dependent packages like Mesa will be unable to move
from -12 to -13 until -13 can be built on all release architectures.
smcv
More information about the Pkg-llvm-team
mailing list