homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xdegaye
Recipients Alex.Willmer, doko, ned.deily, vstinner, xdegaye, yan12125, zach.ware
Date 2016年12月03日.15:11:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480777864.95.0.791347110205.issue28849@psf.upfronthosting.co.za>
In-reply-to
Content
The MULTIARCH triplet:
 * is used by the build system in the suffix of the name of the _sysconfigdata private module, it may have any value (including being empty) when the platform is non-multiarch - for example cross-compiling for an Android emulator with the 'foo-bar-foobar' MULTIARCH triplet works just fine (without the patch)
 * is not used by the interpreter
 * the Python user may not use it (sys.implementation_multiarch is private)
 * is not used in the standard library, except by the sysconfig modules to get the name of the _sysconfigdata module (and it may be empty)
 * is not needed any more to cross-compile non-multiarch platforms (even without the patch) since issue 28046, where platform-specific directories have been removed
On Android the MULTIARCH triplet adds the burden of having to maintain the list of Android processors and abis in configure.ac through a set of complex conditionals (see below [1]) whose correctness is uncertain and not verified. This is useless and removed since it is not needed anymore.
[1] The Android set of conditionals in configure.ac:
#if defined(__ANDROID__)
# if defined(__x86_64__) && defined(__LP64__)
 x86_64-linux-android
# elif defined(__i386__)
 i686-linux-android
# elif defined(__aarch64__) && defined(__AARCH64EL__)
# if defined(__ILP32__)
 aarch64_ilp32-linux-android
# else
 aarch64-linux-android
# endif
# elif defined(__ARM_EABI__) && defined(__ARMEL__)
 arm-linux-androideabi
# elif defined(__mips_hard_float) && defined(_MIPSEL)
# if _MIPS_SIM == _ABIO32
 mipsel-linux-android
# elif _MIPS_SIM == _ABI64
 mips64el-linux-android
# else
# error unknown platform triplet
# endif
# else
# error unknown platform triplet
# endif
History
Date User Action Args
2016年12月03日 15:11:05xdegayesetrecipients: + xdegaye, doko, vstinner, ned.deily, zach.ware, Alex.Willmer, yan12125
2016年12月03日 15:11:04xdegayesetmessageid: <1480777864.95.0.791347110205.issue28849@psf.upfronthosting.co.za>
2016年12月03日 15:11:04xdegayelinkissue28849 messages
2016年12月03日 15:11:04xdegayecreate

AltStyle によって変換されたページ (->オリジナル) /