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

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'compiler': 0.05; 'memory.': 0.05; 'bug.': 0.07; 'linker': 0.07; 'x86': 0.07; '22,': 0.09; 'broken.': 0.09; 'chunks': 0.09; 'closed.': 0.09; 'extension.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.10; '<>.': 0.11; 'jan': 0.11; 'subject:python': 0.14; 'encoding': 0.15; '4gb': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'setup.py.': 0.16; 'something.': 0.16; 'subject:windows': 0.16; 'timed': 0.16; 'wrote:': 0.16; 'pointer': 0.18; 'skip:` 20': 0.18; '>>>': 0.20; 'changes': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'extension': 0.20; 'issue.': 0.20; 'arrays': 0.22; 'disable': 0.22; 'subject:problem': 0.22; 'suppose': 0.22; 'trying': 0.22; 'cc:no real name:2**0': 0.22; 'am,': 0.23; 'minutes.': 0.23; 'tables': 0.23; 'cc:addr:gmail.com': 0.24; 'header:In-Reply-To:1': 0.24; 'url:bugs': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'points': 0.27; 'that.': 0.30; 'code': 0.30; 'certainly': 0.30; 'seconds': 0.31; 'core': 0.32; 'run': 0.33; 'url:python': 0.33; 'builds': 0.33; 'add': 0.34; 'i.e.': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'stuff': 0.38; 'test': 0.39; "didn't": 0.39; 'takes': 0.39; 'build': 0.40; 'to:addr:python.org': 0.40; 'email addr:gmail.com': 0.62; 'minutes': 0.64; '>>>>>': 0.66; 'forward': 0.66; 'hour': 0.69; 'received:109': 0.75; '3.4': 0.84; 'around,': 0.84; 'becker': 0.84; 'desperately': 0.84; 'utc-7,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robin Becker <robin@reportlab.com>
Subject Re: problem building python 3.5 extensions for windows
Date Wed, 23 Sep 2015 11:20:06 +0100
References <55FFFE50.8090703@chamonix.reportlab.co.uk> <CAKJDb-NK=5NFAJp1jyRs=Hwhvo0xhbp4K7m7jarTwT7YP6JESg@mail.gmail.com> <mailman.44.1442854462.28679.python-list@python.org> <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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Cc cjgohlke@gmail.com
X-Gmane-NNTP-Posting-Host 109.174.168.73
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
In-Reply-To <d5ad328a-1bef-4185-b17c-4303357683e4@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.98.1443003624.28679.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1443003624 news.xs4all.nl 23798 [2001:888:2000:d::a6]:39222
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:97033

Show key headers only | 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