javer / gentoo-overlay

Gentoo Portage Overlay [javer]
9 stars 11 forks source link

hhvm-3.5.0 does not link on hardened #23

Open ae-g-i-s opened 9 years ago

ae-g-i-s commented 9 years ago

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