>> >> > 3) The test program core dumps when run with the v option. >> >> > Testing MessageDigest algorithm SHA-384. >> >> > ..signal BUS (invalid address alignment) in >> >> > CryptoPP::SHA512::Transform >> >> > at >> >> > line 27 in file "sha.cpp" >> > >> > [stack trace snipped] >> [snip] >> >> Enabling the ASM brought in more maintenance for the library because >> SunCC is fragile a times (q.v.), but I think its worth it. >> >> (A) The next step in troubleshooting is to disable all ASM. >> >> gmake distclean >> CXXFLAGS="-DNDEBUG -g3 -xO2 -DCRYPTOPP_DISABLE_ASM" >> CXXFLAGS="$CXXFLAGS" gmake -j 4 >> ./cryptest.exe v > > This did not resolve the problem.
That's a _really_ bad sign. We are quickly approaching the "compiler bug" wall since you just tried to use a straight C/C++ implementation. If its not a compiler bug, then it could be a hardware issue. But my money is on a compiler bug. The compiler is aligning to 2-bytes and we are not doing anything special that needs the alignment increased. One last thing to try... Use the Crypto++ 5.6.2 makefile to build the latest sources. This uses the older CXXFLAGS from 5.6.2; and not the newer ones from 5.6.3. I added instructions for using the 5.6.2 makefile to build latest sources at https://cryptopp.com/wiki/Solaris_(Command_Line)#It_used_to_work.21.21.21 . Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
