http://www.eskimo.com/~weidai/cryptlib.html some improvements and fixes. probably this: 6/29/2004 - Added patch to compile Crypto++ 5.1 with GCC 3.4. will be the most revelant. attention: standard ebuild compiles all crypto and do lots of tests that make cpu and harddisk big stress. to bypass this you can make cryptolib only. please add to portage.
Created attachment 35041 [details] crypto++-5.2.ebuild A fixed ebuild and note to myself.
with sse2 enabled I get a division by zero... I will have to try the build again without it enabled.
you can test is with amule. if amule gui starts, this means crypto works. however some seg fault with 5.1 due to optimization, infact old 5.1 had a -O2 -march=* reduction, without sse and O3 flags so. try with those only...should fix the problem.
I committed the ebuild and removed the custom CXXFLAGS since it doesn't work on my Athlon XP box.