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

error: C compiler cannot create executables #806

Open
JVSTVSDENZ opened this issue Nov 4, 2023 · 1 comment
Open

error: C compiler cannot create executables #806

JVSTVSDENZ opened this issue Nov 4, 2023 · 1 comment

Comments

@JVSTVSDENZ
Copy link

System Details

---------

Platform.

---------

hostname = LAPTOP-G27L22F8
uname -m = x86_64
uname -r = 4.4.0-19041-Microsoft
uname -s = Linux
uname -v = #3570-Microsoft Fri Sep 29 17:00:00 PST 2023

configure:4136: result: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC
configure:4534: checking for C compiler version
configure:4543: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC --version >&5

Problems Description

-----------

Core tests.

-----------

configure:3071: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub
configure:3084: trying ./
configure:3113: ./ltmain.sh found
configure:3113: ./compile found
configure:3113: ./missing found
configure:3095: ./install-sh found
configure:3113: ./config.guess found
configure:3113: ./config.sub found
configure:3234: checking build system type
configure:3249: result: x86_64-pc-linux-gnu
configure:3269: checking host system type
configure:3283: result: aarch64-unknown-linux-android
configure:3303: checking target system type
configure:3317: result: aarch64-unknown-linux-android
configure:3416: checking for gsed
configure:3452: result: sed
configure:3481: checking for a BSD-compatible install
configure:3554: result: /usr/bin/install -c
configure:3565: checking whether build environment is sane
configure:3620: result: yes
configure:3672: checking for aarch64-linux-android-strip
configure:3704: result: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded
configure:3775: checking for a race-free mkdir -p
configure:3819: result: /usr/bin/mkdir -p
configure:3826: checking for gawk
configure:3847: found /usr/bin/gawk
configure:3858: result: gawk
configure:3869: checking whether make -j8 sets $(MAKE)
configure:3892: result: yes
configure:3922: checking whether make -j8 supports nested variables
configure:3940: result: yes
configure:4104: checking for aarch64-linux-android-gcc
configure:4136: result: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC
configure:4534: checking for C compiler version
configure:4543: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC --version >&5
/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/configure: line 4545: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -v >&5
/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/configure: line 4545: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -V >&5
/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/configure: line 4545: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -qversion >&5
/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/configure: line 4545: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4543: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -version >&5
/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/configure: line 4545: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4554: $? = 126
configure:4574: checking whether the C compiler works
configure:4596: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -DANDROID -I/home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/myapp/arm64-v8a/include/python3.1 -L/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/libs_collections/myapp/arm64-v8a conftest.c >&5
/mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi/configure: line 4598: /home/jvstvs/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: cannot execute binary file: Exec format error
configure:4600: $? = 126
configure:4640: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.4.2"
| #define PACKAGE_STRING "libffi 3.4.2"
| #define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.4.2"
| /
end confdefs.h. */
|
| int
| main (void)
| {
|
| ;
| return 0;
| }
configure:4645: error: in /mnt/c/EHRGUI/myapp/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/libffi/arm64-v8a__ndk_target_21/libffi': configure:4647: error: C compiler cannot create executables See config.log' for more details

@kazuki-orange
Copy link

I also met the same problem. I'm working on Raspberry Pi 5, that can be the cause.

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

2 participants