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

libFFI recipe doesn't work with clang #1612

Closed
inclement opened this issue Jan 26, 2019 · 1 comment
Closed

libFFI recipe doesn't work with clang #1612

inclement opened this issue Jan 26, 2019 · 1 comment

Comments

@inclement
Copy link
Member

I tested building with NDK 19, with which we need to use clang. Thanks to the work adding clang support this seems to work fine, at least with the core recipes I tested.

However, libFFI failed to build with the following error:

/home/sandy/android/android-ndk-r19/sysroot -I/home/sandy/.local/share/python-for-android/build/python-installs/bdisttest_python3_googlendk/include/python3.7 -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -mthumb -Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c -o src/prep_cif.o >/dev/null 2>&1
../src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax?
 fldmiadgt ip, {d0-d7}
 ^
../src/arm/sysv.S:399:2: error: invalid instruction
 stmeqia r2, {r0, r1}
 ^
../src/arm/sysv.S:412:2: error: invalid instruction, did you mean: fstmiax?
 fstmiadeq r2, {d0-d3}
 ^
/tmp/sysv-9bd638.s:263:2: error: invalid instruction
 fstmfdd sp!, {d0-d7}
 ^
/tmp/sysv-9bd638.s:313:2: error: invalid instruction, did you mean: fldmiax?
 fldmiad sp, {d0-d1}
 ^
/tmp/sysv-9bd638.s:316:2: error: invalid instruction, did you mean: fldmiax?
 fldmiad sp, {d0-d3}

Googling resulted in some relevant results so hopefully this can be fixed easily enough.

@inclement
Copy link
Member Author

Duplicate of #1525

@inclement inclement marked this as a duplicate of #1525 Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant