-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
ARM and Win32 fail to build #396
Comments
The first error is caused by clang simply not knowing that option. The other error is a bit more baffling. It's failing at a part that's not even different per-arch, it's just generating the configure script. |
ARM builds are failing once again:
|
This looks like a straight up upstream bug to me: zeromq/libzmq@a02cbd0 |
I'm actually thinking about retiring the partial win-on-arm support again. |
It did it again https://github.com/yt-dlp/FFmpeg-Builds/actions/runs/10441150459/job/28911974601:
|
Yes, rust broke their ability to build for win-on-aarch64 somehow. Haven't yet figured out how to fix this sadly. I also tried using the pre-compiled toolchain instead, but that then fails with other errors cause rust is passing invalid arguments to clang then. |
Is there a Rust issue tracking this? |
I don't even know where that issue would be tracked, I haven't found where rust-src is coming from. Opened an issue about that with rav1e, but no reaction. Development seems stalled. |
The issue IMHO should be opened in The Rust toolchain installer repository: https://github.com/rust-lang/rustup. I haven't done it myself, since I'm not aware of all the details. |
https://github.com/yt-dlp/FFmpeg-Builds/actions/runs/10526879428/job/29168922602
|
Yes, that is the other error it switched to when using the pre-built toolchain. |
They thought they fixed the problem, they didn't, the only working solution was to pin the entire toolchain to nightly-2024-07-30. |
There's working pre-built toolchains for the windows aarch64 target now, so luckily it doesn't matter anymore here. |
Win32 builds did it again:
|
That's a bug in ffmpeg itself though, it should use the Vulkan-Null-Type, cause it uses an entirely different type on 32 bit Windows. |
How does it look like in code? |
Ok, found it myself https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/vulkan_av1.c#L225: .videoSessionParametersTemplate = VK_NULL_HANDLE, |
Sent a fix to |
A different patch got merged instead: FFmpeg/FFmpeg@2bcc124. |
https://github.com/yt-dlp/FFmpeg-Builds/actions/runs/10228496022/job/28301131257
ARM logs:
Win32 logs are more problematic. The first issue is apparently:
Other errors follow:
The text was updated successfully, but these errors were encountered: