Closed RiccardoBarbieri closed 1 year ago
I think this is an intel C++ compiler option https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/floating-point-options/fp-model-fp.html Clearly this should not be passed to Clang.
I notice there is a Windows file system in the Linux path, perhaps because of using WSL? WSL works fine, but I'd suspect something in the PATH is leading to confusion on the Linux side about the compiler. Try removing those /mnt/c from the path?
The issue is that icc is in your compiler path.
/home/riccardo-barbieri/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang
I am running into this same issue here: https://github.com/kivy/kivy-ios/issues/860
As @tcaduser suggested, this issue is the same reported at https://github.com/kivy/kivy-ios/issues/860
There's a pending PR on CPython upstream (where this fix belongs): https://github.com/python/cpython/pull/96399
Taking care of it is definitely not a responsibility of a toolchain like python-for-android
.
The current workaround (before the change lands into CPython upstream) is to clean the hostpython3
or python3
build and try again.
Versions
Description
When running for the very first time command buildozer android debug some error are raised:
sh clang: error: unknown argument: '-fp-model'
andclangclang: error: no such file or directory: 'strict'
. I searched everywhere, reinstalled completely buildozer but it won't work.Command:
buildozer.spec
Spec file:
Logs