I do bringup on various PowerPC, currently T1042 from Freescale, and the support for unimpl. instructions is not complete from time to time in Linux so ssh-keygen -A just hangs when it tries various ppc ASM to optimize the different crypto's. Could Gentoo add USE flag "no-asm"(which translates to disable-asm) to the openssl ebuild? This avoids the use of ASM and then ssh-keygen and friends works just fine.
http://devmanual.gentoo.org/general-concepts/use-flags/ noblah style use flags are not permitted, possible an asm use flag that is default enabled but masked on ppc? Would this need to be disabled on all ppc or should it be default on and you can disable it per processor if needed?
(In reply to Rick Farina (Zero_Chaos) from comment #1) > http://devmanual.gentoo.org/general-concepts/use-flags/ > > noblah style use flags are not permitted, possible an asm use flag that is I see, thanks > default enabled but masked on ppc? Would this need to be disabled on all > ppc or should it be default on and you can disable it per processor if > needed? Yes, an asm USE flag defaulting to on for all archs. Then one can disable asm for any arch when needed, just like libressl. I think libressl has found asm to be slower in some cases.
should be all set now in the tree; thanks for the report! Commit message: Add USE=asm so people can easily turn off assembly code for testing purposes http://sources.gentoo.org/dev-libs/openssl/metadata.xml?r1=1.12&r2=1.13 http://sources.gentoo.org/dev-libs/openssl/openssl-1.0.2a.ebuild?r1=1.4&r2=1.5
(In reply to SpanKY from comment #3) > should be all set now in the tree; thanks for the report! > > Commit message: Add USE=asm so people can easily turn off assembly code for > testing purposes > http://sources.gentoo.org/dev-libs/openssl/metadata.xml?r1=1.12&r2=1.13 > http://sources.gentoo.org/dev-libs/openssl/openssl-1.0.2a.ebuild?r1=1.4&r2=1. > 5 Tanks, now I don't need to hack the ebuild to rebuild openssl