[issue9181] Solaris extension building does not work with 64 bit python
Charles Solar charlesso...@gmail.com added the comment: Hello again, I got a copy of the latest python from the 2.7 branch, recompiled with CFLAGS=-m64 -O3 and LDFLAGS=-m64 and my extension compiled just fine. So I can verify this bug fixed -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9181] Solaris extension building does not work with 64 bit python
Charles Solar charlesso...@gmail.com added the comment: I just recompiled using your suggested flags and it is now properly linking my extensions. I guess using CFLAGS and LDFLAGS was causing the problem. Is specifying CC the recommended way to build 64 bit python? If so when I guess this issue is not really an issue at all. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9181] Solaris extension building does not work with 64 bit python
New submission from Charles Solar charlesso...@gmail.com: On solaris, if you build a 64 bit python and use it to build an extension, it will not properly link the module. Apparently solaris requires the -m64 flag in the linker as well as the compile steps. Python distutils successfully compiles all the object files using -m64, but it fails to link with -m64 causing the entire build to fail if the extension needs a 64 bit library dependency ( will get 'incompatible library' errors from the linker ). To reproduce: build python with CFLAGS=-m64 -O3 LDFLAGS=-m64 build a C extension that depends on a 64 bit library (python setup.py install) I assume that it would work if the C extension does not need a specific 64 bit library as the linker will not go and look for the wrong version of file. So its a very uncommon but annoying bug. ld --version GNU ld (GNU Binutils) 2.20.1.20100303 Copyright 2009 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. -- assignee: tarek components: Distutils, Distutils2, Extension Modules messages: 109396 nosy: redcomet, tarek priority: normal severity: normal status: open title: Solaris extension building does not work with 64 bit python type: compile error versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8767] Configure: Cannot disable unicode
New submission from Charles Solar charlesso...@gmail.com: I am compiling python on AIX 5.3. The normal configure and make works, except it fails to compile the unicodedata module. The assembler reports a bunch of these errors: Error: value of 0001268b too large for field of 2 bytes at 006d The module is labeled as optional, but if that one fails python will not install. One of the .py files it tries to compile requires unicodedata so the whole thing fails. I tried --enable-unicode=ucs4 and got the same results so then I tried just --disable-unicode all together and configure spits out: checking what type to use for unicode... configure: error: invalid value for --enable-unicode. Use either ucs2 or ucs4 (lowercase). I had to go into the configure script itself remove a default case statement that produced the error to disable it completely. Building Python2.7b1 on AIX 5.3 -- components: Build files: config.log messages: 106076 nosy: redcomet priority: normal severity: normal status: open title: Configure: Cannot disable unicode type: compile error versions: Python 2.7 Added file: http://bugs.python.org/file17403/config.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8767] Configure: Cannot disable unicode
Charles Solar charlesso...@gmail.com added the comment: Seems as though python 2.7 should not support --disable-unicode so this ticket is invalid. I just googled python disable unicode, but it seems that the decision to never disable unicode is recent. Closing -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8767] Configure: Cannot disable unicode
Changes by Charles Solar charlesso...@gmail.com: Removed file: http://bugs.python.org/file17403/config.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8767 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com