Summary: | media-video/ffmpeg-4.4.3[abi_x86_32] with lld fails with relocation R_386_32 cannot be used against local symbol | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alfred Persson <cat> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
build.log emerge--info.txt |
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 |
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)