Hi, My computer is M1 pro, using Xcode 13.4.1,branch release/5.6
, and I use utils/build-script -r --lldb
to build lldb, but I get some errors:
ld: warning: ignoring file /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib, building for macOS-x86_64 but attempting to link with file built for macOS-arm64
Undefined symbols for architecture x86_64:
"_PyMemoryView_FromMemory", referenced from:
(anonymous namespace)::BinaryPythonFile::Write(void const*, unsigned long&) in liblldbPluginScriptInterpreterPython.a(PythonDataObjects.cpp.o)
"_PyErr_NormalizeException", referenced from:
lldb_private::python::PythonException::PythonException(char const*) in liblldbPluginScriptInterpreterPython.a(PythonDataObjects.cpp.o)
"_PyImport_ImportModule", referenced from:
lldb_private::python::PythonModule::Import(llvm::Twine const&) in liblldbPluginScriptInterpreterPython.a(PythonDataObjects.cpp.o)
"_PyUnicode_AsEncodedString", referenced from:
lldb_private::python::PythonException::PythonException(char const*) in liblldbPluginScriptInterpreterPython.a(PythonDataObjects.cpp.o)
"_PyUnicode_FromStringAndSize", referenced from:
lldb_private::python::PythonString::FromUTF8(llvm::StringRef) in liblldbPluginScriptInterpreterPython.a(PythonDataObjects.cpp.o)
"_PyBytes_Size", referenced from:
lldb_private::python::PythonBytes::GetSize() const in liblldbPluginScriptInterpreterPython.a(PythonDataObjects.cpp.o)
is there any thing wrong?