Matthias Klose added the comment:
See http://mail.python.org/pipermail/python-dev/2013-January/123774.html
for the discussion.
Not updating the patches for tip/trunk is the best way to keep them out of the
project.
--
___
Python tracker
Greg Hellings added the comment:
I'm trying to cross-compile the latest default out of Mercurial based on the
status of this. Currently it fails with the following invocation:
$ ../configure --host=i686-w64-mingw32 --build=x86_64-redhat-linux-gnu
--target=i686-w64-mingw32
Ray Donnelly added the comment:
Yes, patches are still required.
Mainly Roumen's big patch [1] and then a load more too. Matthias Klose has
merged a few cross compilation patches.
Here my project with patches for 3.3.0 and an emphasis on cross:
Greg Hellings added the comment:
Bummer, the patches in that issue do not apply cleanly to either the 3.3.0
released tarball nor to the 3.3 branch from hg.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Roumen Petrov added the comment:
I agree that cross-compilation is now usable.
Issues related to build and test outside source tree more or less are permanent
but out of cross-compilation scope.
Also parts of patches posted in this issue now are in separate defects or
enhancements.
--
Roumen Petrov added the comment:
Matthias Klose wrote:
Matthias Klose added the comment:
about py3k-20121004-CROSS.tgz:
[SNIP]
- 0002-CROSS-restore-graminit.-to-source-directory.patch
[SNIP]
- 0003-CROSS-restore-importlib-header-to-source-directory-a.patch
[SNIP]
-
Roundup Robot added the comment:
New changeset 11a18263ceb7 by doko in branch '2.7':
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
http://hg.python.org/cpython/rev/11a18263ceb7
New changeset e28b30e6eee6 by doko in branch '3.2':
- Issue #3754: fix typo in pthread AC_CACHE_VAL.
Matthias Klose added the comment:
about py3k-20121004-CROSS.tgz:
- committed 0001-CROSS-fix-typo-in-thread-AC_CACHE_VAL.patch
- 0002-CROSS-restore-graminit.-to-source-directory.patch
is this necessary? Assuming that you have correct time
stamps, this is something which usually is not
Roumen Petrov added the comment:
HI, Ambroz
Ambroz Bizjak wrote:
I've applied all patches from py3k-20121004-CROSS.tgz to Python 3.3.0 except
2, 4, and 9 (which didn't apply), but it's not working. After it builds the
built in modules, it tries to run the parser generator which was
Ambroz Bizjak added the comment:
I've applied all patches from py3k-20121004-CROSS.tgz to Python 3.3.0 except 2,
4, and 9 (which didn't apply), but it's not working. After it builds the built
in modules, it tries to run the parser generator which was cross-compiled.
make Parser/pgen
make[1]:
Ambroz Bizjak added the comment:
Forgot to mention: I did run autoreconf after applying the patches. I'm
attaching the full output.
--
Added file: http://bugs.python.org/file27896/log
___
Python tracker rep...@bugs.python.org
Ambroz Bizjak added the comment:
A minor issue: if only --host= is specified on command line but not --build=,
then cross_compiling variable is only defined after AC_PROG_CC is called.
However, configure.ac uses it before that (e.g. the part at the top which looks
for a python interpreter).
Changes by devurandom devuran...@gmx.net:
--
nosy: +devurandom
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list mailing
Roumen Petrov added the comment:
Hi Václav,
uploaded file py3k-20121004-CROSS.tgz contain current status of patch extracted
as is from my repository, i.e. on small chunks. I have no idea what is in 3.3.0
.
--
Added file: http://bugs.python.org/file27444/py3k-20121004-CROSS.tgz
Václav Šmilauer added the comment:
Being a newcomer to this issue, I would like to ask for a brief summary about
which parts of the patch are checked in for 3.3.0 and which are still to be
applied.
Roumen mentions #15483, #15484, #15268 and the ac_cv_thread in the previous
post as mandatory
Roumen Petrov added the comment:
I hope that following separate issues will address remaining part of this
patch:
required:
- 15483: initialise include and library paths in setup.py
- 15484: use _PYTHON_PROJECT_BASE in distutils sysconfig
- TODO: typo in in configure.in - use ac_cv_pthread
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 56c574a1819a by doko in branch 'default':
- Issue #3754, refactor sys.platform / get_platform bits, use a
http://hg.python.org/cpython/rev/56c574a1819a
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset af15910d2ffb by doko in branch 'default':
- Issue #3754: Use AC_PATH_TOOL and AC_CHECK_TOOLS instead of
http://hg.python.org/cpython/rev/af15910d2ffb
--
___
Python
Matthias Klose d...@debian.org added the comment:
updated the patch in issue #14330.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Matthias Klose d...@debian.org added the comment:
some chunks of the python-py3k-20120607-CROSS.patch patch are now checked in.
I didn't see any issues with the symlinks, and generating the posix vars, so
maybe these bits should be dropped from the patch.
remaining issues are:
- the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d158b0a78390 by doko in branch 'default':
- Issue #3754: Some unrelated configure.ac cleanups.
http://hg.python.org/cpython/rev/d158b0a78390
--
___
Python tracker
Matthias Klose d...@debian.org added the comment:
for the readline ldd check, I'm checking in a patch to use readelf instead of
ldd for the cross build.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e6e99d449bdc by doko in branch 'default':
- Issue #3754: Use readelf instead of ldd for the cross build readline check
http://hg.python.org/cpython/rev/e6e99d449bdc
--
Matthias Klose d...@debian.org added the comment:
the ncurses/_flags changes seem to be unrelated. please open a separate issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 12a56a349af2 by doko in branch 'default':
- Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,
http://hg.python.org/cpython/rev/12a56a349af2
--
___
Python
Ray Donnelly mingw.andr...@gmail.com added the comment:
NCURSES_INTERNALS stuff appears to be redundant:
Mac OS X curses.h, Linux curses.h and Windows PDCurses.h don't reference it,
nor does the Python 3.3.0b1 source code. Of course, I haven't checked any other
systems.
However: see
Matthias Klose d...@debian.org added the comment:
Roumen, I would like to close this issue. Please could you file separate issues
for the remaining bits?
- the thread/pthread configure issue
- the generation of the Setup / pyconfig.h files?
--
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Matthias I cannot follow all you questions as I'm on vacation so briefly:
a) ac_cv_thread is type correct one is with'p'
b) ncurses
NCURSES_INTERNALS reported again in issue 14598
NCURSES_OPAQUE - i don't have time to explain all
Ray Donnelly mingw.andr...@gmail.com added the comment:
Re Android
Ah of course. In that case, there's always the NDK built by Dmitry (his latest
is v7 AFAIK):
http://www.crystax.net/en/android/ndk
--
___
Python tracker rep...@bugs.python.org
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file25850/python-py3k-20120607-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
About Android issue with wchar still is applicable. So issue is not exactly as
in 12010. Even with changed size multi-byte functions just return return
result like a byte array, i.e. without conversion. Since python try to
validate
Changes by Alexis Metaireau ale...@notmyidea.org:
--
nosy: -alexis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list
Changes by Ray Donnelly mingw.andr...@gmail.com:
Added file:
http://bugs.python.org/file25762/python-py3k-20120318-CROSS-330a2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Ray Donnelly mingw.andr...@gmail.com added the comment:
Hi Roumen,
Many thanks for your patches, I've been using a 2.7.1 version of your patches
for Python integration with GDB (pretty-printing) of my own version of the
Android NDK for ages now (part of the Necessitas Qt project) and I really
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file24923/python-py3k-20120318-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
I cannot test arm build due to issue 12010
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Matthias Klose d...@debian.org added the comment:
some of these changes are now available in trunk, tested with a
x86_64-linux-gnu to arm-linux-gnueabihf cross build.
using issue 14324 for configure tests which need fixes, and issue 14327 for the
use of uname in the configure script.
please
Éric Araujo mer...@netwok.org added the comment:
Not for distutils (feature-frozen, see previous messages)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Mike Frysinger vap...@users.sourceforge.net:
--
nosy: +vapier
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Matthias Klose d...@debian.org added the comment:
issue 14330 handles not using the host python for the build
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Matthias Klose d...@debian.org added the comment:
I'm now able to build the interpreter (and run it in qemu on the same machine),
but building the extension modules fails. the build is configured as:
CC=arm-linux-gnueabihf-gcc \
CXX=arm-linux-gnueabihf-g++ \
CFLAGS=-g -fstack-protector
Matthias Klose d...@debian.org added the comment:
Roumen, do you have a newer patch which applies to the current trunk?
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by David Marqvar Nielsen da...@marqvar.dk:
--
nosy: +marqvar
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
Copy-pasting of a previous comment: I see some “fix for issue #NNN is bogus” in
your patch: would you open separate bug reports for those? A diff file is not
a very useful way to report bugs or express opinions wink.
Copy-pasting of many
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file23034/python-py3k-20110825-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Kalev Lember kalevlem...@gmail.com:
--
nosy: +kalev
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list mailing
wrobell wrob...@pld-linux.org added the comment:
as well, by default one experiences
checking for /dev/ptmx... not set
configure: error: set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file
when cross compiling
the workaround:
1. create config.site file with the following lines
wrobell wrob...@pld-linux.org added the comment:
next question. when starting compilation i am getting
In file included from Include/Python.h:50,
from ./Modules/python.c:3:
Include/pyport.h:257:13: error: #error This platform's pyconfig.h needs to
define PY_FORMAT_LONG_LONG
wrobell wrob...@pld-linux.org added the comment:
looking into configure.in the above fails due to following check
AC_MSG_CHECKING(for %lld and %llu printf() format support)
the check compiles and tries to _run_ a bit of software to determine lld/llu
support.
that of course fails (we are
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
At least one is really would like to cross-compile.
worber, the config site has to look like (sample for linux i?86, i.e. intel 32
bit, as host platform)
=
ac_cv_little_endian_double=yes
wrobell wrob...@pld-linux.org added the comment:
Would it be possible to get list of steps required to test this patch?
1. hg clone
2. copy config.sub and config.guess?
3. autoreconf
4. configure...
5. make
What else?
--
___
Python tracker
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Usually this is not a question for bug-tracking system . configure ..
--host= will enter into cross-compilation mode. You could find more
details into respective manual.
Roumen
--
___
wrobell wrob...@pld-linux.org added the comment:
well, looking at the first comment, there is required more than simple read of
the manual (i.e. missing config.guess/config.sub).
is anything else missing or required?
--
___
Python tracker
Changes by Victor Godoy Poluceno victorpoluc...@gmail.com:
--
nosy: -victorpoluceno
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Greg, ensure correct configure script first as run commands autoheader and
autoconf.
Updates to configure script are not in patch . The patch include updates to
source configure.in and autoconf command will update configure.
Changes by wrobell wrob...@pld-linux.org:
--
nosy: +wrobell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list mailing
Greg Hellings greg.helli...@gmail.com added the comment:
Current patch errors with the following message:
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -L/manual/lib
-L/binary/lib -L/manual/lib -L/binary/lib Parser/acceler.o Parser/grammar1.o
Pars
er/listnode.o Parser/node.o
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file22036/python-py3k-20110520-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Greg Hellings greg.helli...@gmail.com:
--
nosy: +Greg.Hellings
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Changes by René Schümann whitet...@gmail.com:
--
nosy: +WhiteTiger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list
Changes by David Kern ips...@gmail.com:
--
nosy: +David.Kern
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list mailing
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Uhh after some pseudo multiarch improvements previous patch fail. So new one is
uploaded.
Also with this version cross-build won't build pgen$(EXEEXT).
--
Added file:
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Éric Araujo mer...@netwok.org added the comment:
I see some “fix for issue #NNN is bogus” in your patch: would you open separate
bug reports for those? A diff file is not a very useful way to report bugs or
express opinions wink.
--
___
Python
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
fixed patch failure on Parser/pgen.stamp
--
Added file: http://bugs.python.org/file20534/python-2.7-20110126-CROSS.patch
___
Python tracker rep...@bugs.python.org
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file20536/python-py3k-20110126-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file19586/python-2.7-20101112-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file19588/python-py3k-20101112-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
It seems to me I forgot to upload version after updates in Lib/sysconfig.py
from issue 7880.
I could not understand what Florent Xicluna (flox). I could not reproduce it.
To me update abspath - realpath is bogus and with reverted
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Could someone with knowledge of the Python build systems please comment on
this, thanks.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.2 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
- consistent platform detection in all methods from setup.py;
- readline libraries detected by configure script are used for setup.py : this
could help to detect is more platform independent way if readline is linked
with ncurses{w}
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
As part of issue 8510 (update to autoconf2.65) configure script is modernized
and most of updates from patches attached to this issue now are in repository.
Starting from 16 may new patches will include in addition minimal updates of
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file14539/python-trunk-20090722-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15260/python-trunk-20091104-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15415/python-trunk-20091129-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15464/python-trunk-20091206-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15724/python-trunk-20100103-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Removed file: http://bugs.python.org/file15987/python-trunk-20100124-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
80 matches
Mail list logo