Gentoo's Bugzilla –
Attachment 761826 Details for
Bug 830948media-gfx/sam2p-0.49.4_p20190718-r1 fails to compile: ld.lld: error: cant create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass -Wl,-z,notext to allow text relocations in the output