Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang fails to build ctypes on Android armv7 #71814

Closed
xdegaye mannequin opened this issue Jul 26, 2016 · 3 comments
Closed

clang fails to build ctypes on Android armv7 #71814

xdegaye mannequin opened this issue Jul 26, 2016 · 3 comments
Labels
build The build process and cross-build

Comments

@xdegaye
Copy link
Mannequin

xdegaye mannequin commented Jul 26, 2016

BPO 27627
Nosy @xdegaye, @tpetazzoni, @moreati, @yan12125

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-10-16.09:58:32.768>
created_at = <Date 2016-07-26.16:00:03.995>
labels = ['build']
title = 'clang fails to build ctypes on Android armv7'
updated_at = <Date 2016-10-16.09:58:32.766>
user = 'https://github.com/xdegaye'

bugs.python.org fields:

activity = <Date 2016-10-16.09:58:32.766>
actor = 'xdegaye'
assignee = 'none'
closed = True
closed_date = <Date 2016-10-16.09:58:32.768>
closer = 'xdegaye'
components = ['Cross-Build']
creation = <Date 2016-07-26.16:00:03.995>
creator = 'xdegaye'
dependencies = []
files = []
hgrepos = []
issue_num = 27627
keywords = []
message_count = 3.0
messages = ['271385', '271387', '278762']
nosy_count = 4.0
nosy_names = ['xdegaye', 'thomas-petazzoni', 'Alex.Willmer', 'yan12125']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue27627'
versions = ['Python 3.6']

@xdegaye
Copy link
Mannequin Author

xdegaye mannequin commented Jul 26, 2016

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}
^

@xdegaye xdegaye mannequin added build The build process and cross-build labels Jul 26, 2016
@xdegaye
Copy link
Mannequin Author

xdegaye mannequin commented Jul 26, 2016

See also msg 269907 and msg269908.

@xdegaye
Copy link
Mannequin Author

xdegaye mannequin commented Oct 16, 2016

As this problem occurs with the bundled libffi, closing this issue as won't fix for the same reasons as those listed in msg278759.

@xdegaye xdegaye mannequin closed this as completed Oct 16, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

0 participants