Ryan Gonzalez via llvm-dev
2017-Feb-20 21:38 UTC
[llvm-dev] LLVM nightly installer for Windows is missing lldb's python35.dll
Hello! After having a large feud with gdb, I decided to switch over to lldb under Windows like I already had under Linux. However, when I installed it using the 64-bit LLVM nightly installer, it kept crashing upon startup. Popping it in WinDbg (oh the irony) showed that it was trying to load Python35.dll, but it was loading the 32-bit version I had installed separately. The fix was simple: download the Python 3.5 binary ZIP and copy python35.dll to the LLVM bin directory. TL;DR: The nightly installer is missing python35.dll, meaning that lldb will try to use the first one it comes across, regardless of whether or not it's the right architecture. -- Ryan (ライアン) Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else http://refi64.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170220/c5f92079/attachment.html>
Hans Wennborg via llvm-dev
2017-Feb-21 21:59 UTC
[llvm-dev] LLVM nightly installer for Windows is missing lldb's python35.dll
On Mon, Feb 20, 2017 at 1:38 PM, Ryan Gonzalez via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hello! > > After having a large feud with gdb, I decided to switch over to lldb under > Windows like I already had under Linux. However, when I installed it using > the 64-bit LLVM nightly installer, it kept crashing upon startup. Popping it > in WinDbg (oh the irony) showed that it was trying to load Python35.dll, but > it was loading the 32-bit version I had installed separately. > > The fix was simple: download the Python 3.5 binary ZIP and copy python35.dll > to the LLVM bin directory. > > TL;DR: The nightly installer is missing python35.dll, meaning that lldb will > try to use the first one it comes across, regardless of whether or not it's > the right architecture.I don't think we want to include the python dll in the installer(?). Could lldb be more graceful in how it loads the python dll?
Zachary Turner via llvm-dev
2017-Feb-21 22:08 UTC
[llvm-dev] LLVM nightly installer for Windows is missing lldb's python35.dll
LLDB simply links against python35.lib, I'm not sure there's a better way? On Tue, Feb 21, 2017 at 2:00 PM Hans Wennborg <hans at chromium.org> wrote:> On Mon, Feb 20, 2017 at 1:38 PM, Ryan Gonzalez via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Hello! > > > > After having a large feud with gdb, I decided to switch over to lldb > under > > Windows like I already had under Linux. However, when I installed it > using > > the 64-bit LLVM nightly installer, it kept crashing upon startup. > Popping it > > in WinDbg (oh the irony) showed that it was trying to load Python35.dll, > but > > it was loading the 32-bit version I had installed separately. > > > > The fix was simple: download the Python 3.5 binary ZIP and copy > python35.dll > > to the LLVM bin directory. > > > > TL;DR: The nightly installer is missing python35.dll, meaning that lldb > will > > try to use the first one it comes across, regardless of whether or not > it's > > the right architecture. > > I don't think we want to include the python dll in the installer(?). > Could lldb be more graceful in how it loads the python dll? >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170221/6f6a521b/attachment.html>