[issue33125] Windows 10 ARM64 platform support

2018-03-23 Thread Steven Noonan

Steven Noonan <ste...@uplinklabs.net> added the comment:

I originally tagged this issue against 3.6 just because that's what I was 
attempting to build. But I'm not super concerned about what release these 
changes actually land in, I can always backport it to my own builds (and at my 
own risk).

Even though I'm super interested in seeing these changes done, I'm not sure I'm 
the right person to do the heavy lifting on this. I don't know if the seemingly 
undocumented (?) Windows ARM64 ABI matches the well-documented Linux AArch64 
ABI, for example. If it does match, that would make porting the asm bits pretty 
straightforward (mostly just translating GNU assembler AT syntax to MASM, I 
suppose). I could do that. But if it doesn't match then I'd probably need to 
dig into ARM architecture manuals. Someone else could likely do it in their 
sleep.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33125>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33125] Windows 10 ARM64 platform support

2018-03-22 Thread Steven Noonan

Steven Noonan <ste...@uplinklabs.net> added the comment:

Oh, another change I had to make was remove all the BaseAddress elements in the 
Link sections. The linker complains if these are used (the lower 4GB of memory 
are apparently reserved for the x86 emulation). Also, from what I was told by 
someone over at Microsoft, the BaseAddress options don't do anything useful on 
modern Windows versions unless you build with -fixed as well, because 
everything gets relocated anyway.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33125>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33125] Windows 10 ARM64 platform support

2018-03-22 Thread Steven Noonan

New submission from Steven Noonan <ste...@uplinklabs.net>:

The Windows 10 ARM64 release is out along with a bunch of ARM64 devices. This 
version of Windows has full support for building native Win32 applications 
(this isn't just some rehash of Windows RT). It also can run x86 (but not 
x86_64) apps under a transparent emulation layer.

I would like to see a native build of Python on Windows 10 ARM64.

I did some very basic work to get it compiling (add 10.0.16299.0 as 
DefaultWindowsSDKVersion, add WindowsSDKDesktopARM64Support property). But 
there's still a lot missing: ssl, tk, and ctypes don't build.

ssl/ctypes have some assembly that needs writing/porting.

tk has some kind of build failure with the newer Windows SDK: 
https://core.tcl.tk/tk/tktview?name=3d34589aa0

--
components: Windows
messages: 314295
nosy: Steven Noonan, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows 10 ARM64 platform support
type: enhancement
versions: Python 3.6

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33125>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com