Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/ffmpeg-4.4.4-r3 won't compile with clang and lld
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2026

PostPosted: Thu Oct 12, 2023 12:40 pm    Post subject: media-video/ffmpeg-4.4.4-r3 won't compile with clang and lld Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum