[issue18976] distutils/command/build_ext passes wrong linker flags

2013-09-08 Thread Benedikt Morbach
New submission from Benedikt Morbach: At http://hg.python.org/cpython/file/1043cc2cb0ff/Lib/distutils/command/build_ext.py#l247 build_ext.py compares sys.executable against sys.exec_prefix. When cross compiling cpython, it notices that the interpreter running the build is located at

[issue18976] distutils/command/build_ext passes wrong linker flags

2014-10-19 Thread Benedikt Morbach
Benedikt Morbach added the comment: fixed with issue17219 -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue22724] byte-compile fails for cross-builds

2014-10-24 Thread Benedikt Morbach
Changes by Benedikt Morbach : -- versions: +Python 3.5, Python 3.6 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue22724> ___ ___ Python-bugs-list m

[issue22724] byte-compile fails for cross-builds

2014-10-24 Thread Benedikt Morbach
New submission from Benedikt Morbach: For cross-builds the byte-compiling and 2to3 Grammar generation fail. This is because PYTHONPATH/sys.path includes 'build/lib.$PLATFORM', in which the compiled .so modules reside. The host python obviously barfs on those, as they are comp

[issue22724] byte-compile fails for cross-builds

2014-10-24 Thread Benedikt Morbach
Benedikt Morbach added the comment: alternatively, introduce a $(PYTHON_FOR_INSTALL), which doesn't set PYTHONPATH. Then run those steps using that, with the Makefile setting PYTHONPATH=$(DESTDIR)$(LIBDEST), which doesn't contain the compiled modules at that point. The first solu