<div dir="ltr">Out of curiosity, did you guys get Python 2.7 building with VS2015?  How did you solve the compiler error?  (I had a few ideas myself for how to fix it, but I wasn't sure of the implications)</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 4, 2016 at 8:01 AM Pavel Labath <<a href="mailto:labath@google.com">labath@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
<br>
we (android lldb team) are starting to transition to VS2015 as well.<br>
For now, the plan is to stick to python 2.7, but if we encounter<br>
problems there, the backup plan is to go to python 3 as well. Until<br>
then (I estimate that will take 1--2 weeks) our buildbot<br>
<<a href="http://lab.llvm.org:8011/builders/lldb-windows7-android" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/builders/lldb-windows7-android</a>> will<br>
continue building 2.7+2013 and we will be making sure it works, so<br>
please don't check in any VS2013 incompatible code (yet).<br>
<br>
Ted: If you can't switch to the 3+2015 combination (which I *do*<br>
recommend you try), maybe you can go half-way and switch to 2.7+2015<br>
(I can show you how to build python 2.7 with VS2015). If you stick<br>
with 2.7+2013 combo, it will soon be up to you to chase anyone who<br>
adds 2013-breaking changes...<br>
<br>
pl<br>
<br>
<br>
On 2 February 2016 at 23:42, Ted Woodward via lldb-dev<br>
<<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<br>
> No, it turned red Friday night/Saturday morning.<br>
><br>
><br>
><br>
> Last good build:<br>
><br>
> <a href="http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc/builds/15167" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc/builds/15167</a><br>
><br>
><br>
><br>
> First bad build:<br>
><br>
> <a href="http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc/builds/15168" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc/builds/15168</a><br>
><br>
><br>
><br>
> It went red because of the change to VS2015/Python 3.5.<br>
><br>
><br>
><br>
> --<br>
><br>
> Qualcomm Innovation Center, Inc.<br>
><br>
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a<br>
> Linux Foundation Collaborative Project<br>
><br>
><br>
><br>
> From: Zachary Turner [mailto:<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>]<br>
> Sent: Tuesday, February 02, 2016 5:28 PM<br>
><br>
><br>
> To: Ted Woodward; LLDB<br>
> Subject: Re: [lldb-dev] MSVC 2013 w/ Python 2.7 is moving to an unsupported<br>
> toolchain<br>
><br>
><br>
><br>
> BTW, I expect that your buildbot has been experiencing the problems with the<br>
> x86 / x64 toolchain for quite some time, because it's not really relevant to<br>
> how much memory your machine has, but just that it was using an x86<br>
> toolchain at all.  Has it been red for a long time?<br>
><br>
><br>
><br>
> On Tue, Feb 2, 2016 at 1:48 PM Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br>
><br>
> You may have to make some changes to the zorg scripts to keep that working.<br>
> I didn't realize there were any other bots building LLDB, so I made some<br>
> changes that will default everything to VS2015 and Py3.<br>
><br>
><br>
><br>
> BTW, is your builder doing a debug build or a release build?  When doing a<br>
> debug build clang now requires more memory than can fit in a 4GB address<br>
> space to link, so using an x86 toolchain won't work anymore.  I forced a<br>
> change to use the amd64_x86 toolchain, but this won't work unless the<br>
> version of python used by buildbot is a 64-bit Python distro (because<br>
> Python.exe is what ultimately calls vcvarsall and cmake and it inherits the<br>
> environment of the parent).<br>
><br>
><br>
><br>
> So I think you will need to do all this as well.<br>
><br>
><br>
><br>
> On Tue, Feb 2, 2016 at 1:44 PM Ted Woodward <<a href="mailto:ted.woodward@codeaurora.org" target="_blank">ted.woodward@codeaurora.org</a>><br>
> wrote:<br>
><br>
> Then maybe we should keep it 2013/py2.7, until llvm requires 2015.<br>
><br>
><br>
><br>
> --<br>
><br>
> Qualcomm Innovation Center, Inc.<br>
><br>
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a<br>
> Linux Foundation Collaborative Project<br>
><br>
><br>
><br>
> From: Zachary Turner [mailto:<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>]<br>
> Sent: Tuesday, February 02, 2016 3:43 PM<br>
><br>
><br>
> To: Ted Woodward; LLDB<br>
> Subject: Re: [lldb-dev] MSVC 2013 w/ Python 2.7 is moving to an unsupported<br>
> toolchain<br>
><br>
><br>
><br>
> It's Server 2008 R2 technically, which is the server version of Win 7 (same<br>
> API set, same OS features, etc).  So yea, I'm pretty confident that test<br>
> coverage is going to be 100% the same across both.  It's just a matter of if<br>
> you want to have something that you maintain / have control over, or if you<br>
> want to test something in a different way than what we're testing.<br>
><br>
><br>
><br>
> On Tue, Feb 2, 2016 at 1:29 PM Ted Woodward <<a href="mailto:ted.woodward@codeaurora.org" target="_blank">ted.woodward@codeaurora.org</a>><br>
> wrote:<br>
><br>
> Yours is Win Server 2008; ours is Win 7. I don’t know if that matters.<br>
><br>
><br>
><br>
> --<br>
><br>
> Qualcomm Innovation Center, Inc.<br>
><br>
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a<br>
> Linux Foundation Collaborative Project<br>
><br>
><br>
><br>
> From: Zachary Turner [mailto:<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>]<br>
> Sent: Tuesday, February 02, 2016 2:48 PM<br>
> To: Ted Woodward; LLDB<br>
><br>
><br>
> Subject: Re: [lldb-dev] MSVC 2013 w/ Python 2.7 is moving to an unsupported<br>
> toolchain<br>
><br>
><br>
><br>
> If I remember correctly your bot isn't actually doing anything differently<br>
> than my bot [<a href="http://lab.llvm.org:8011/builders/lldb-x86-windows-msvc2015" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/builders/lldb-x86-windows-msvc2015</a>].<br>
> If you want you could just remove your bot.  If you want to keep it, then<br>
> yea getting it on VS2015 and Python 3 would be the best idea.<br>
><br>
><br>
><br>
> On Tue, Feb 2, 2016 at 12:20 PM Ted Woodward via lldb-dev<br>
> <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<br>
><br>
> It looks like our bot, <a href="http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/builders/lldb-x86-win7-msvc</a><br>
> , has tried to update to Python 3.5 and MSVC 2015, but it can’t find python<br>
> or VC. I’ll talk to our buildmiester about it.<br>
><br>
><br>
><br>
> Should we run this guy with 2013/py2.7 or 2015/py3.5?<br>
><br>
><br>
><br>
> --<br>
><br>
> Qualcomm Innovation Center, Inc.<br>
><br>
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a<br>
> Linux Foundation Collaborative Project<br>
><br>
><br>
><br>
> From: lldb-dev [mailto:<a href="mailto:lldb-dev-bounces@lists.llvm.org" target="_blank">lldb-dev-bounces@lists.llvm.org</a>] On Behalf Of Zachary<br>
> Turner via lldb-dev<br>
> Sent: Tuesday, February 02, 2016 1:55 PM<br>
> To: Tamas Berghammer; LLDB<br>
> Subject: Re: [lldb-dev] MSVC 2013 w/ Python 2.7 is moving to an unsupported<br>
> toolchain<br>
><br>
><br>
><br>
><br>
><br>
> On Tue, Feb 2, 2016 at 11:42 AM Tamas Berghammer <<a href="mailto:tberghammer@google.com" target="_blank">tberghammer@google.com</a>><br>
> wrote:<br>
><br>
> Hi Zachary,<br>
><br>
><br>
><br>
> We are still using MSVC 2013 and Python 2.7 to compile LLDB on Windows for<br>
> Android Studio and we also have a buildbot what is testing this<br>
> configuration (without sending e-mail at the moment) here:<br>
> <a href="http://lab.llvm.org:8011/builders/lldb-windows7-android" rel="noreferrer" target="_blank">http://lab.llvm.org:8011/builders/lldb-windows7-android</a><br>
><br>
><br>
><br>
> We are in the discussion to decide what is our plan for going forward both<br>
> in terms of Visual Studio version and Python version and I expect that we<br>
> will make a decision this week. Until then please don't remove any hack we<br>
> have in the code because of MSVC 2013 (e.g. alias template workarounds) and<br>
> if adding new code then please try not to break MSVC 2013. I will send out<br>
> an update about our decision hopefully at the end of this week.<br>
><br>
> Yea I mentioned already that I'm not planning on removing anything related<br>
> to MSVC 2013, just that I'm personally not supporting it.  Which means that<br>
> if anyone asks for help, or wants to make it work, or if it breaks<br>
> accidentally, they're on their own :)  I don't even have MSVC 2013 installed<br>
> on my machine anymore, so I can't fix any MSVC 2013 specific issues that<br>
> arise.<br>
><br>
><br>
><br>
> Of course if someone else comes along and wants to help, I have no problem<br>
> with that, but due to the difficulty of dealing with incompatibility between<br>
> Python 2 and MSVC 2015, it's just going to be up to someone else to continue<br>
> making that work if they need it.<br>
><br>
><br>
><br>
><br>
><br>
> You mentioned that LLVM plan to bump the minimum version of MSVC to 2015. Do<br>
> you have any link to the place where they discussed it or do you know<br>
> anything about the schedule?<br>
><br>
><br>
><br>
> As far as I know the discussion hasn't started yet, but historically LLVM<br>
> has always been pretty consistent about bumping the required MSVC version<br>
> every 12-18 months.   I know some of the Windows people on the LLVM side are<br>
> already "unoficially" using MSVC 2015 on a regular basis, and that's usually<br>
> a sign that people are getting an early start to see what kind of issues<br>
> might be encountered by the general public when bumping the required<br>
> version.<br>
><br>
> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
><br>
</blockquote></div>