-
Notifications
You must be signed in to change notification settings - Fork 623
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
x264 build fails with NDK r23 #144
Comments
I also tried with development branch and then build of x264 succeeded, but ffmpeg failed:
and build.log has:
|
If you encounter errors, I suggest following the error messages on the build output to understand what went wrong. Your output says to look inside the |
Can't find ffbuild/config.log nor ffbuild dir not config.log inside ffmpeg-kit. Where should it be? |
Error message |
How does the test that works for you differ in its ./android.sh arguments? |
It is under the
Different computers, different outcomes. |
Ok, found config.log. Failing compiler test looks like this:
Failing linker is /usr/bin/ld.gold and earlier there is warning
NDK toolchain does not have /usr/bin/ld.gold, but Debian does have it. When aarch64-linux-android24-clang is used to compile the the test program, shouldn't the linker too be from the toolchain and not from Debian? Mixing of the environments does not sound like a good idea. |
NDK r21 does have gold linker:
but r23 does not:
My understanding is that ffmpeg should use this linker:
that exists both in r21 and r23. |
Apparently, |
Thanks for the fix. Now ffmpeg build worked fine for both arm64-v8a and arm-v7a architectures. |
Description
I upgraded NDK from r21 (21.4.7075529) to r23 (23.0.7599858) and ffmpeg-kit (main branch) build failed for arm64-v8a architecture at x264 with error message
Expected behavior
I would expect the build work as it did with NDK r21, but don't know if ffmpeg-kit main branch is supposed to work with NDK r23.
Current behavior
See the log below.
To Reproduce
Logs
Other
Compiler aarch64-linux-android24-clang does exist in /opt/Android/ndk/23.0.7599858/toolchains/llvm/prebuilt/linux-x86_64/bin:
The text was updated successfully, but these errors were encountered: