ffi.h defines several generic symbols (like IA64), which likely clash with some packages. Please include [1] into the ebuild, to fix this problem. (This is not a made-up problem, see [2].) [1] https://github.com/atgreen/libffi/blob/5feacad4a56c85b3f23a267a30b2cf424cd59548/patches/define-generic-symbols-carefully [2] http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=602 Reproducible: Always
Downloading [1] and deleting the last part which patches ChangeLog makes the patch apply and libffi build. [1] https://github.com/atgreen/libffi/raw/5feacad4a56c85b3f23a267a30b2cf424cd59548/patches/define-generic-symbols-carefully
+*libffi-3.0.9-r1 (18 Dec 2010) + + 18 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> +libffi-3.0.9-r1.ebuild, + +files/libffi-3.0.9-define-generic-symbols-carefully.patch: + Include upstream patch to define generic symbols carefully wrt #347636 by + Dennis Schridde.
*** Bug 338680 has been marked as a duplicate of this bug. ***