
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2015-12-12 21:20 bySami Salonen, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Messages (6) | |||
|---|---|---|---|
| msg256296 -(view) | Author: Sami Salonen (Sami Salonen) | Date: 2015-12-12 21:20 | |
MSVC 2015 Express doesn't include the 64-bit compiler [1], and this causes distutils to fail to load proper compiler settings when using a 64-bit machine to compile extensions for 64-bit python. _msvccompiler.py tries to call "vcvarsall.bat amd64", but the VC\bin\amd64 directory contains only one file "vcmeta.dll".[1]https://msdn.microsoft.com/en-us/library/hs24szh9(v=vs.140).aspx | |||
| msg256309 -(view) | Author: Zachary Ware (zach.ware)*![]() | Date: 2015-12-13 01:18 | |
I'm inclined to close this as 'not a bug'. There's not much we can do about that (if you want 64 bit extensions, you need a 64 bit compiler), and 2015 Community Edition does include the 64 bit compiler (if you select it).I'm not sure if there's anything to be done in distutils to handle things more gracefully. | |||
| msg256313 -(view) | Author: Steve Dower (steve.dower)*![]() | Date: 2015-12-13 03:08 | |
There is: we can fall back on the cross compilers if the native ones are not there.Not a huge change, and safe enough. | |||
| msg258406 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2016-01-16 20:41 | |
New changesetfc117df27143 by Steve Dower in branch '3.5':Issue#25850: Use cross-compilation by default for 64-bit Windows.https://hg.python.org/cpython/rev/fc117df27143New changeset37dc870175be by Steve Dower in branch 'default':Issue#25850: Use cross-compilation by default for 64-bit Windows.https://hg.python.org/cpython/rev/37dc870175be | |||
| msg258408 -(view) | Author: Steve Dower (steve.dower)*![]() | Date: 2016-01-16 20:43 | |
For anyone interested, there's no issue with using the cross compilers even on a 64-bit system. The same code will be generated, the only difference is that the native 64-bit compilers can keep more in memory than the 32-bit cross compilers. For most Python extensions this won't matter (it matters for building huge projects like an operating system). | |||
| msg258955 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2016-01-26 13:10 | |
test_distutils is now failing on "AMD64 Windows7 SP1 3.x" buildbot: please see issue#26207. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:24 | admin | set | github: 70037 |
| 2016-01-26 13:10:03 | vstinner | set | nosy: +vstinner messages: +msg258955 |
| 2016-01-16 20:43:13 | steve.dower | set | messages: +msg258408 |
| 2016-01-16 20:41:48 | steve.dower | set | status: open -> closed versions: + Python 3.6 resolution: fixed assignee:steve.dower type: behavior stage: resolved |
| 2016-01-16 20:41:20 | python-dev | set | nosy: +python-dev messages: +msg258406 |
| 2015-12-13 03:08:37 | steve.dower | set | messages: +msg256313 |
| 2015-12-13 01:18:38 | zach.ware | set | messages: +msg256309 |
| 2015-12-12 21:20:25 | Sami Salonen | create | |