[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2020-05-31 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Python 2.7 is no longer supported.

--
nosy: +serhiy.storchaka
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2014-03-16 Thread Alexey Pavlov

Alexey Pavlov added the comment:

For peoples who interesting in supporting building Python with mingw-w64 
compiler I can get some links.

More than a year ago we start providing our own builds of Python 2.7+3.3 
builded with mingw-w64 compiler.
I'm developer of MSYS2 project - modern fork of Cygwin with MSYS functionality 
+ pacman package manager (ported from Arch Linux).

You can easily build your own Python with mingw-w64 using our patches that 
include patches from Roumen Petrov (rpetrov) and our own.

Python-2.7.6 patches:
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python2

Python-3.3.3 patches:
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3

Also you can get prebuilded python and other mingw-w64 packages using MSYS2 
with pacman.

Regards,
Alexey.

--
nosy: +Alexey.Pavlov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2014-03-14 Thread Victor Lazzarini

Victor Lazzarini added the comment:

I don't know how to patch the installer, but here are the commands for someone 
who does. You need gendef and dlltool, which should come with the standard 
mingw64 installation.
>From python27.dll:

$ gendef python27.dll
$ dlltool --as-flags=--64 -m i386:x86-64 -k --output-lib libpython27.a 
--input-def python27.def

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2014-03-14 Thread Martin v . Löwis

Martin v. Löwis added the comment:

If somebody would contribute a patch for msi.py that builds the file, and 
instructs me what tools I need installed, I'd be willing to include this in 
future releases (also for 2.7).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2014-03-14 Thread Victor Lazzarini

Victor Lazzarini added the comment:

That did the trick! Apparently we can't link to MSVC dlls
http://sourceforge.net/apps/trac/mingw-w64/wiki/Answer%2064%20bit%20MSVC-generated%20x64%20.lib

Creating a *.a fixes it.
Thanks.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2014-03-13 Thread Martin v . Löwis

Martin v. Löwis added the comment:

I don't know how mingw64 is supposed to work, but going by the 32-bit mingw, 
you might have to create a libpython27.a first.

--
nosy: +loewis

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20785] Missing symbols in Python27.lib (Windows 64bit)

2014-02-26 Thread Victor Lazzarini

New submission from Victor Lazzarini:

It appears various symbols are missing from Python27.lib, 64bit build.
Here is a list of undefined symbols (from link errors):

/debug/Opcodes && /c/mingw-builds/x64-4.8.1-posix-seh-rev5/mingw64/bin/gcc.exe 
-Wl,--add-stdcall-alias -shared -o ../py.dll 
-Wl,--major-image-version,0,--minor-image-version,0 -Wl,--whole-archive 
CMakeFiles/py.dir/objects.a -Wl,--no-whole-archive 
/C/Python27/libs/python27.lib -lkernel32 -luser32 -lgdi32 -lwinspool
-lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x14a):
undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x973):
undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x99d):
undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0xa83):
undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0xc23):
undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0xc4b):
more undefined references to `__imp_PyExc_RuntimeError' follow
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x1b22):
 undefined reference to `__imp__Py_NoneStruct'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x1b7c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x1d19):
 undefined reference to `__imp_PyFloat_Type'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x1d6d):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x205c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x21f5):
 undefined reference to `__imp__Py_NoneStruct'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2251):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2388):
 undefined reference to `__imp_PyFloat_Type'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2404):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x263c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x291c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2a33):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2b23):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2bc0):
 undefined reference to `__imp_PyFloat_Type'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2c44):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2e4b):
 undefined reference to `__imp__Py_NoneStruct'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x2ece):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x312c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x340c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x36ac):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x38e9):
 undefined reference to `__imp__Py_NoneStruct'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x3941):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x3cfe):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x40ac):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x431c):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x45ac):
 undefined reference to `__imp_PyExc_RuntimeError'
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x486c):
 more undefined references to `__imp_PyExc_RuntimeError' follow
CMakeFiles/py.dir/objects.a(pythonopcodes.c.obj):pythonopcodes.c:(.text+0x6c99):
 undefined reference to `__imp_PyFlo