Unfortunately hhvm-3.5.0 won't fully link after compilation on Gentoo Hardened. I seem to be hitting this exact issue:
https://github.com/facebook/hhvm/issues/4705
The error message is exactly the same, '.../ld.gold: error: ../runtime/libhphp_runtime.a(memcpy-x64.S.o): requires unsupported dynamic reloc 11; recompile with -fPIC'.
Like the commenters upstream, I also don't know why a LDFLAG --as-needed would fix this, but if you have any patches or changes in the ebuild you'd like me to try, please do tell. (same for any debug info about my environment)
Unfortunately hhvm-3.5.0 won't fully link after compilation on Gentoo Hardened. I seem to be hitting this exact issue: https://github.com/facebook/hhvm/issues/4705 The error message is exactly the same, '.../ld.gold: error: ../runtime/libhphp_runtime.a(memcpy-x64.S.o): requires unsupported dynamic reloc 11; recompile with -fPIC'.
Like the commenters upstream, I also don't know why a LDFLAG --as-needed would fix this, but if you have any patches or changes in the ebuild you'd like me to try, please do tell. (same for any debug info about my environment)
USE: -debug hack -jsonc -xen -zend-compat