Gentoo's Bugzilla –
Attachment 763397 Details for
Bug 831907sci-visualization/xd3d-8.3.1-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