Issue 27627: clang fails to build ctypes on Android armv7 (original) (raw)

Issue27627

Created on 2016-07-26 16:00 by xdegaye, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg271385 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2016-07-26 16:00
The build is done with: clang --sysroot=/opt/android-ndk/platforms/android-21/arch-arm -target armv7-none-linux-androideabi -gcc-toolchain /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 The error message: clang --sysroot=/opt/android-ndk/platforms/android-21/arch-arm -target armv7-none-linux-androideabi -gcc-toolchain /opt/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wno-unused-value -Wno-empty-body -Qunused-arguments -Wno-parentheses-equality -Werror=declaration-after-statement -Ibuild/temp.linux-arm-3.6/libffi/include -Ibuild/temp.linux-arm-3.6/libffi -I./Modules/_ctypes/libffi/src -IInclude -I/sdcard/org.bitbucket.pyona/include -I. -I/home/xavier/src/android/pyona/build/python3.6-install-android-21-armv7/org.bitbucket.pyona/include -I/opt/android-ndk/platforms/android-21/arch-arm/usr/include -I./Include -I/home/xavier/src/android/pyona/build/python3.6-android-21-armv7 -c ./Modules/_ctypes/libffi/src/arm/sysv.S -o build/temp.linux-arm-3.6./Modules/_ctypes/libffi/src/arm/sysv.o -Wall -fexceptions ./Modules/_ctypes/libffi/src/arm/sysv.S:399:2: error: invalid instruction stmeqia r2, {r0, r1} ^
msg271387 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2016-07-26 16:01
See also msg 269907 and .
msg278762 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2016-10-16 09:58
As this problem occurs with the bundled libffi, closing this issue as won't fix for the same reasons as those listed in .
History
Date User Action Args
2022-04-11 14:58:34 admin set github: 71814
2016-10-16 09:58:32 xdegaye set status: open -> closedresolution: wont fixmessages: + stage: needs patch -> resolved
2016-07-29 10:31:09 xdegaye set nosy: + thomas-petazzoni
2016-07-26 16:05:17 xdegaye link issue26865 dependencies
2016-07-26 16:01:22 xdegaye set messages: +
2016-07-26 16:00:04 xdegaye create