JHUISI/charm

sudo make does not work because of : impossible constraint in ‘asm’ need help

emm-1 opened this issue · 0 comments

emm-1 commented

running build
running build_py
copying charm/config.py -> build/lib.linux-x86_64-2.7/charm
running build_ext
building 'charm.core.crypto.DES' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Icharm/core/crypto/cryptobase/libtom/ -Icharm/core/crypto/cryptobase/ -I/usr/include/python2.7 -c charm/core/crypto/DES/DES.c -o build/temp.linux-x86_64-2.7/charm/core/crypto/DES/DES.o
In file included from charm/core/crypto/cryptobase/libtom/tomcrypt.h:67:0,
from charm/core/crypto/cryptobase/libtom/tomcrypt_des.c:11,
from charm/core/crypto/DES/DES.c:32:
charm/core/crypto/cryptobase/libtom/tomcrypt_macros.h: In function ‘RORc’:
charm/core/crypto/cryptobase/libtom/tomcrypt_macros.h:275:4: warning: asm operand 2 probably doesn’t match constraints
asm ("rorl %2,%0"
^~~
charm/core/crypto/cryptobase/libtom/tomcrypt_macros.h:275:4: error: impossible constraint in ‘asm’
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 1