[issue10782] Not possible to cross-compile due to poor detection of %lld support in printf

Ben Gamari report at bugs.python.org
Mon Dec 27 19:09:36 CET 2010


New submission from Ben Gamari <bgamari at gmail.com>:

Configure.in assumes that %lld is not supported by printf if cross-compiling. This causes build errors in pyport.h,

In file included from Include/Python.h:58:0,
                 from Parser/parser.c:8:
Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
...

What is one supposed to do about this short of changing the configure script to assume support by default.

----------
components: Build
messages: 124722
nosy: bgamari
priority: normal
severity: normal
status: open
title: Not possible to cross-compile due to poor detection of %lld support in printf
type: compile error
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10782>
_______________________________________


More information about the Python-bugs-list mailing list