Please add version 3.0.1. This version fixes segfaults with php >5.4.8 and traits. Changelog: fixes crash when cache is too small on start up fixes #295: crash using traits with PHP 5.4.8+ fixes #290: workaround phpize vs fbsd make bug again improve compatibility with "the ionCube PHP Loader", Zend Optimizer fix random crash when cache is reinitialized yet failed (Thanks to Brad Baker for generating crash dump) fix locking impl: improve stability on threaded env (Thanks to Mircea Nicolae for reproducing the bug) diagnosis: undefined variable when ini is not found PHP_5_4 optimizer: fix ZEND_JMP_SET_VAR PHP_5_4 optimizer: fix for goto Reproducible: Always
I changed 3.0.0 ebuild to 3.0.1. I confirmed this version builds fine and apache starts normally on ~x86 arch with both php 5.3.18 and php 5.4.8.
here is a working overlay https://github.com/Danez/xcache-overlay
xcache already in portage. Thanks.