ffpeg-4.4.3 fails to build with +abi_x86_32 with lld (llvm profile) >ld.lld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC >>>> defined in libavutil/x86/float_dsp.o >>>> referenced by src/libavutil/x86/float_dsp.asm >>>> libavutil/x86/float_dsp.o:(.text+0x795)
Created attachment 859495 [details] build.log fixed patch
Created attachment 859496 [details] build.log build log
Created attachment 859497 [details] emerge--info.txt emerge --info
building with +pic solves this
Same happens on ffmpeg-4.4.4. I have a feeling we could avoid this issue by checking for USE=-static-libs. Might be wrong. Semi-related: bug #911141