-
Notifications
You must be signed in to change notification settings - Fork 13
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
Crash on macOS arm64 #51
Comments
FFmpeg gives no indication of what it is doing when it crashes, even with Letting Rosetta handle the x64 binaries on arm64 seems to work seamlessly. There are no debug symbols in the builds we shipped, so lldb tells me nothing. I'm debugging the macOS arm64 builds on my fork. I will try the binaries directly on the machine that built them to see if there is some difference between the GitHub VM and my actual M1 device. Then I will try a debug build and lldb to see if we can get a meaningful backtrace. Finally, if nothing else works, I'll experiment with removing |
Builds made on the GitHub VM crash on the system that built them. A debug build (
Configuring with |
The M1 mac in the lab couldn't build ffmpeg at all with these instructions. The error was about "illegal text relocations" in some assembly functions for aarch64. I'm not sure why this is different from the build environment of the GitHub VMs. I couldn't quite solve this, until I found a reference to I'm trying |
Enabling position independent code (PIC) resolves a crash in macOS arm64 builds. The idea to try this came from a relocation-related build failure on another machine, followed by me stubmling across a note that iOS requires PIC. Closes shaka-project#51
Closes #197 Could have prevented #194 For a test run with macOS arm64 enabled, showing how this would have caught #194, see https://github.com/joeyparrish/shaka-streamer/actions/runs/11762714145/job/32765885894 Once shaka-project/static-ffmpeg-binaries#51 is closed, and we have new builds in the binary package, we can re-enable macOS arm64 testing for #179.
macOS arm64 builds of FFmpeg are currently crashing on GitHub VMs when testing Shaka Streamer.
The text was updated successfully, but these errors were encountered: