Skip to content

Fix RISC-V64 cross-compilation and shared linking - #676

Open
abrar71 wants to merge 1 commit into
BtbN:masterfrom
abrar71:fix-riscv64-builds
Open

abrar71 wants to merge 1 commit into
BtbN:masterfrom
abrar71:fix-riscv64-builds

Conversation

@abrar71

@abrar71 abrar71 commented Oct 4, 2026

Copy link
Copy Markdown

Building linuxriscv64 fails in several dependency recipes, and shared FFmpeg builds encounter unresolved OpenMP symbol versions from static libgomp.

  • Correct the import-library target and toolchain metadata, and preserve glibc’s libdl/librt compatibility archives.
  • Add missing RISC-V dependency settings and disable unsupported assembly, vector optimizations, and NVIDIA backends.
  • Handle static libgomp symbol versions when linking shared FFmpeg libraries

I encountered these failures after adding RISC-V64 to releases in my abrar71/FFmpeg-Builds repository. Several dependencies failed to compile, and shared FFmpeg builds failed when linking static libgomp. This PR contributes the fixes developed and validated there.

Correct toolchain metadata and import-library generation, add missing dependency targets, and disable unsupported SIMD and NVIDIA paths.

Preserve glibc compatibility archives and handle static libgomp symbol versions when linking shared FFmpeg libraries.
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

Successfully merging this pull request may close these issues.

1 participant