attached patch to GNUmakefile and ebuild resolves problem Reproducible: Always Steps to Reproduce:
Created attachment 108897 [details, diff] patch for GNUmakefile
Created attachment 108899 [details, diff] crypto++-5.4.ebuild patch
I don't see what are you fixing here? The SSE2 code can (and should) be disabled as needed at runtime by applications that are using crypto++, not made unavailable in the library itself... This is a feature and not a bug.
So why is there a phrase in ebuild: if use x86 || use amd64 then append-flags -mno-sse2 fi that has no effect?
(In reply to comment #4) > So why is there a phrase in ebuild: Because of an outdated gcc bug (see Bug 63922); it should be dropped as it compiles just fine w/ gcc-4.1 which is stable both on x86 and amd64. And yeah, it has absolutely no effect anyway: <snip> g++ -g -msse2 -pipe -c 3way.cpp g++ -g -msse2 -pipe -c adler32.cpp g++ -g -msse2 -pipe -c algebra.cpp g++ -g -msse2 -pipe -c algparam.cpp g++ -g -msse2 -pipe -c arc4.cpp ... </snip> This won't crosscompile (calls g++ directly) and ignores any C[XX]FLAGS, should be fixed.
Thanks! Fixed, and added sse2 USE flag.
Oops.