[lldb-dev] Python scripting in Windows LLDB
Ted Woodward via lldb-dev
lldb-dev at lists.llvm.org
Fri Jun 30 13:34:19 PDT 2017
I’ve seen crashes on Linux when building with 2.7.6 and using the 2.7.3 .so/library directory, so I’m not willing to say building on Windows with 3.6.1 and using the 3.5.2 dll/library directory will work. Python has never been very forgiving when using a different setup than what you built with.
My point with that statement is you’ve got to make sure the runtime environment matches the build environment, something harder to do on Windows where there is no default runtime environment.
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
From: Zachary Turner [mailto:zturner at google.com]
Sent: Friday, June 30, 2017 3:05 PM
To: Ted Woodward <ted.woodward at codeaurora.org>; Jamie Madill <null77 at gmail.com>; lldb-dev at lists.llvm.org
Subject: Re: [lldb-dev] Python scripting in Windows LLDB
On Fri, Jun 30, 2017 at 12:39 PM Ted Woodward via lldb-dev <lldb-dev at lists.llvm.org <mailto:lldb-dev at lists.llvm.org> > wrote:
Python support on Windows is much more problematic than support on something like MacOS or Linux. The python you use when you run lldb must be the same python used when you build it. Bad things happen – warnings, crashes, etc – when you use a different rev of the dll/so or the library directory (which contains dlls/sos) than what was used when building lldb.
This is no longer true right? That was one of the major drivers behind moving to Python 3.5. All that matters is
a) The build configuration matches (if LLDB was built against Python debug, you must have debug libraries available)
b) The architecture matches (if it's an x64 build of LLDB, you need x64 Python libraries)
c) The version is 3.5 or higher.
Aside from that it shouldn't matter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170630/3280248e/attachment-0001.html>
More information about the lldb-dev
mailing list