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, martin.panter, twouters, vstinner, xdegaye
Date 2016-07-24.16:41:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469378472.32.0.429939219194.issue26851@psf.upfronthosting.co.za>
In-reply-to
Content
The previous patch was using awkwardly, a 'host_cpu' configure argument to specify the arm ABI and missed setting LDFLAGS for the armv7 ABI.
This patch instead uses the __ARM_ARCH macro defined by each compiler of the Android toolchains:

    echo | ./clang -target armv7-none-linux-androideabi -dM -E - | grep ARM_ARCH
      #define __ARM_ARCH 7
      #define __ARM_ARCH_7A__ 1
    echo | ./clang -target armv5te-none-linux-androideabi -dM -E - | grep ARM_ARCH
      #define __ARM_ARCH 5
      #define __ARM_ARCH_5TE__ 1
    echo | ./arm-linux-androideabi-gcc -march=armv7-a -dM -E - | grep ARM_ARCH
      #define __ARM_ARCH 7
      #define __ARM_ARCH_7A__ 1
    echo | ./arm-linux-androideabi-gcc -dM -E - | grep ARM_ARCH
      #define __ARM_ARCH_5TE__ 1
      #define __ARM_ARCH 5

Python built with clang for the armv5te target crashes as reported in issue 27606.
History
Date User Action Args
2016-07-24 16:41:12xdegayesetrecipients: + xdegaye, twouters, doko, vstinner, martin.panter, Alex.Willmer
2016-07-24 16:41:12xdegayesetmessageid: <1469378472.32.0.429939219194.issue26851@psf.upfronthosting.co.za>
2016-07-24 16:41:12xdegayelinkissue26851 messages
2016-07-24 16:41:12xdegayecreate