problem building python 3.5 extensions for windows

Robin Becker robin at reportlab.com
Tue Sep 22 06:14:36 EDT 2015


On 22/09/2015 01:36, cjgohlke at gmail.com wrote:
> On Monday, September 21, 2015 at 9:54:51 AM UTC-7, Robin Becker wrote:
............
>> build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\pyRXPU.cp35-win_amd64.lib
>> and ob
>> ject
>> build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\pyRXPU.cp35-win_amd64.exp
>>
>>
>>            | Generating code
>> Stderr:  | error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio
>> 14.0\\VC\\BIN\\amd64\\link.exe' failed with
>> exit status 1
>>
>> so there are some warnings which I don't understand. Maybe I need to do
>> something special for pyRXP (possibly I have some ifdefs poorly configured).
>> --
>> Robin Becker
>
> How long did you let it "hang"? For me the incremental linker took in the order of 30 minutes to link. I mentioned this on the Python issue tracker at <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.
-- 
Robin Becker



More information about the Python-list mailing list