On Thursday, January 11, 2018 at 11:54:50 AM UTC-5, Jeffrey Walton wrote: > > ... > >> # GCC and some compatibles >> HAVE_CRYPTO = $(shell echo | $(CXX) -x c++ $(CXXFLAGS) -mcpu=power8 >> -maltivec -dM -E - 2>/dev/null | $(GREP) -i -c -E >> '_ARCH_PWR8|_ARCH_PWR9|__CRYPTO') >> ifneq ($(HAVE_CRYPTO),0) >> - ALTIVEC_FLAG = -mcpu=power8 -maltivec >> - AES_FLAG = -mcpu=power8 -maltivec >> - GCM_FLAG = -mcpu=power8 -maltivec >> - SHA_FLAG = -mcpu=power8 -maltivec >> - SIMON_FLAG = -mcpu=power8 -maltivec >> - SPECK_FLAG = -mcpu=power8 -maltivec >> + ALTIVEC_FLAG = -mcpu=power7 -maltivec >> + AES_FLAG = -mcpu=power7 -maltivec >> + GCM_FLAG = -mcpu=power7 -maltivec >> + SHA_FLAG = -mcpu=power7 -maltivec >> + SIMON_FLAG = -mcpu=power7 -maltivec >> + SPECK_FLAG = -mcpu=power7 -maltivec >> endif >> >> because my version of as does not output power8 instructions. >> > OK, this was the problem - 'as' is too old.
(My bad, I missed that on first pass). It looks like availability is being set incorrectly. To get past it, you > should only need to add -DCRYPTOPP_DISABLE_POWER8=1 to CXXFLAGS. Maybe > something like: > > CXX=g++ CXXFLAGS="-DNDEBUG -g2 -O3 -DCRYPTOPP_DISABLE_POWER8=1" make > -j 16 > Yeah, this should clear it for you. Jeff -- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- 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.