[issue19732] python fails to build when configured with --with-system-libmpdec

Stefan Krah report at bugs.python.org
Mon Nov 25 12:42:13 CET 2013


Stefan Krah added the comment:

Matthias Klose <report at bugs.python.org> wrote:
> 2.4~rc1:
>  - configure.ac should call AC_CANONICAL_HOST, config,guess and
>    config.sub should be included.

Hmm. configure.ac doesn't use any of the variables set by that macro, and this
appears to work:

./configure --host=arm CC=arm-linux-gnueabi-gcc-4.7

>  - there are still symbols which exists only for 32/64 bit archs.
>    intended?
>    (arch=@64@)mpd_qsset_i64 at Base 2.3
>    (arch=@64@)mpd_qsset_u64 at Base 2.3
>    (arch=@64@)mpd_sset_i64 at Base 2.3
>    (arch=@64@)mpd_sset_u64 at Base 2.3

That's on purpose:  These are low level functions that are supposed to set
static decimals as fast as possible.  A static mpd_t has a guaranteed
minimum allocation of two words for the coefficient. The 32-bit version
needs three words for UINT64_MAX, so they aren't available.

----------

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


More information about the Python-bugs-list mailing list