Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97033

Re: problem building python 3.5 extensions for windows

From Robin Becker <robin@reportlab.com>
Subject Re: problem building python 3.5 extensions for windows
Date 2015-09-23 11:20 +0100
References (3 earlier) <7f633007-1391-4172-a022-262899537981@googlegroups.com> <56012A0C.5040805@chamonix.reportlab.co.uk> <56015904.8050608@chamonix.reportlab.co.uk> <mailman.70.1442954934.28679.python-list@python.org> <d5ad328a-1bef-4185-b17c-4303357683e4@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.98.1443003624.28679.python-list@python.org> (permalink)

Show all headers | View raw


On 22/09/2015 22:37, cjgohlke@gmail.com wrote:
> On Tuesday, September 22, 2015 at 1:49:16 PM UTC-7, Terry Reedy wrote:
>> On 9/22/2015 9:35 AM, Robin Becker wrote:
>>> On 22/09/2015 11:14, Robin Becker wrote:
>>>> On 22/09/2015 01:36, CG wrote:
>>> .........t
>>>>> <http://bugs.python.org/issue24872#msg249589>.
>>>>>
>>>> Thanks for the pointer Christoph.
>>>>
>>>> I certainly didn't let it run for 30 minutes. When I build with 2.7,
>>>> 3.3 or 3.4
>>>> the whole build including reportlab stuff is over in a couple of
>>>> minutes. I will
>>>> try again, but a linker that takes 30 minutes to create an extension
>>>> that ends
>>>> up 204Kb long has to be seriously broken. Is it trying to hard? Most
>>>> of the code
>>>> size is in arrays for code points etc etc.
>>>
>>> I timed my builds of pyRXPU for x86 + amd64; these are on a core i5-3470
>>> @ 3.20Ghz with 4Gb memory.
>>>
>>> python 3.4   1 minute  14 seconds
>>> python 3.5  52 minutes 50 seconds
>>>
>>> so with VS2015 it will now take me an hour to make and test any changes
>>> to this extension. I don't see how the issue can be considered closed.
>>> VS2015 is clearly not the way forward for any reasonable development
>>> process.
>>
>> I think you should add the above to the issue.
>>
>> --
>> Terry Jan Reedy
>
> It's a compiler bug. To work around, disable compiler optimizations, i.e. set `extra_compile_args=['/Od']` in setup.py.
>
> --
> Christoph
>
Thanks Christoph, I guessed it must be something like that. I suppose it's 
trying desperately to place small chunks of encoding tables or something.

-- 
Robin Becker

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-21 17:54 +0100
  Re: problem building python 3.5 extensions for windows cjgohlke@gmail.com - 2015-09-21 17:36 -0700
    Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-22 11:14 +0100
    Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-22 14:35 +0100
    Re: problem building python 3.5 extensions for windows Terry Reedy <tjreedy@udel.edu> - 2015-09-22 16:48 -0400
      Re: problem building python 3.5 extensions for windows cjgohlke@gmail.com - 2015-09-22 14:37 -0700
        Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-23 11:20 +0100

csiph-web