[tahoe-lafs-trac-stream] [pycryptopp] #85: disable asm
pycryptopp
trac at tahoe-lafs.org
Fri Apr 12 08:28:40 UTC 2013
#85: disable asm
------------------------+---------------------
Reporter: zooko | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Version: 0.5.29 | Resolution:
Keywords: | Launchpad Bug:
------------------------+---------------------
Comment (by zooko):
Hm... So with {{{CRYPTOPP_DISABLE_ASM}}}, the quick self-test of SHA256
segfaults at startup, on the "atlas" ubuntu box and on midnightmagic's
netbsd box:
https://tahoe-lafs.org/buildbot-
pycryptopp/builders/atlas1%20natty%20syslib/builds/133/steps/version/logs/valgrind
But only when they are linking against the system-provided libcryptopp
instead of the embedded cryptopp. I guess it is really necessary that the
{{{CRYPTOPP_DISABLE_ASM}}} macro be set the same when we build pycryptopp
as when the libcryptopp.so that we're linking against was built. It is a
safe bet (I guess) that it is never set for any system-provided
libcryptopp.so, so I'll just make it so that our setup.py sets
{{{CRYPTOPP_DISABLE_ASM}}} only when it is building the embedded Crypto++.
--
Ticket URL: <https://tahoe-lafs.org/trac/pycryptopp/ticket/85#comment:6>
pycryptopp <https://tahoe-lafs.org/trac/pycryptopp>
More information about the tahoe-lafs-trac-stream
mailing list