Goverp Advocate
Joined: 07 Mar 2007 Posts: 2179
|
Posted: Thu Oct 12, 2023 12:40 pm Post subject: media-video/ffmpeg-4.4.4-r3 won't compile with clang and lld |
|
|
My weekly update wanted to recompile ffmpeg-4.4.4-r3, but it failed under clang & lld.
The build log had a message about needing "-fPIC", but adding that changed nothing.
The same ffmpeg compiled happily back in August, and clang hasn't been updated since July; what has changed is that I was using the mold-2.1.0 linker, but I reverted back to lld after having segfaults with mold-2.2.0.
Compiling with gcc worked, so I added ffmpeg to my list of gcc-only packages.
I've just tried with clang and mold-2.1.0, and that's happy. Weird! _________________ Greybeard |
|