On Wed, Nov 29, 2017 at 9:16 AM, Ingo Naumann <cyberurc...@gmail.com> wrote: > ... > We work around it by building Valgrind from sources. Its fairly easy once > you install the packages "automake autoconf libtool". Also see > http://valgrind.org/downloads/repository.html. > > Hmmm..... I had built valgrind from the "current" source, ie version 3.13 > from June 2017. > > So now I've upgraded to valgrind-3.14.0.GIT (cloned ten minutes ago) but it > yields the same result. I'm hitting illegal instructions in both > "cryptest.exe" as well as my own software (during ECDSA key generation). > > But if nobody else can confirm this I'll probably either re-install and > start from a scratch and/or perform a memory check with another tool and see > what comes up.
I'm fairly certain a reinstall is going to be a waste of your time, but I could be wrong. You might try searching for the opcodes that are causing the problem. They have probably already been reported (I reported about a half dozen or so myself). Also see https://bugs.kde.org/buglist.cgi?bug_status=__all__&content=illegal%20instruction You might be able to work around it by removing the `-march=native` from CXXFLAGS. Open GNUmakefile and delete the line that adds it. However, you will loose a fair amount of performance because the source files depend on some of the options included in `-march=native`. You best bet at this point is probably work from Master. After 5.6.5 we changed the model to Base+SIMD. Base C++ files are fine without an ISA, and SIMD files get an ISA added when needed. As far as I know, lack of `-march=native` no longer has a material affect on performance. Base+SIMD also had the effect of side-stepping most the missing VEX codecs. I don't recall experiencing the problem since we switched to Base+SIMD. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.