-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: pshufb is not supported on generic64.aes #14
Comments
another test error: g++ -c -DNDEBUG -m64 -DLINUX -DUNIX -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DPKGNAME=linux64 -D_ARCH_BITS=SIZEOF_POINTER*CHAR_BIT -DLIBPREFIX=lib *** 1 failure detected in test suite "VResolverTestSuite" |
Can you please tell us the version(s) of compiler you are running? |
redirect-rejected-names-cgi-http-to-https: this test required you to have HTTP/HTTPS access to NCBI. |
$ gcc --version this is the compiler i used. for https, i can access the ncbi webpage through https. for the test, were we required to get the ca file? if true, where did i get it? |
Also seeing this on RHEL 6.8 and non-vendor GCC 6.2.0 compiler. |
Thank you - we'll try to reproduce. |
We were unable to duplicate the error. We can try again. |
This (also documented in #6) occurs because assembler flags are incorrectly set here and in the line below it. Line 138 in 09046b4
A bunch of instruction sets are enabled for the compiler, then not enabled for the assembler, which can cause these errors. Probably the whole |
Thanks @dcjones
|
Hi, I compiled the recent git version of ncbi-vdb, including ver 2.8.2, in my arch linux server (updated recently), it gave this error when testing after make. how could i fix this. thx in advance.
gcc -c -DNDEBUG -m64 -DLINUX -DUNIX -D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DPKGNAME=linux64 -D_ARCH_BITS=_SIZEOF_POINTER_*CHAR_BIT -DLIBPREFIX=lib
-DSHLIBEXT=so -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/interfaces/override -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/linux -I/home/
eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/unix -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto -I/home/eastasia/softhouse/biotools/git_s
vn/ncbi-vdb/interfaces -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/interfaces/cc/gcc/x86_64 -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/interfaces/cc/
gcc -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/interfaces/os/linux -I/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/interfaces/os/unix -I/home/eastasia/so
fthouse/biotools/git_svn/ncbi-vdb/interfaces/ext -I/usr/include -I. -MD -o aes-ncbi.aes-ni.pic.o -fPIC -O3 -Wno-variadic-macros -fno-strict-aliasing -U_FORTIFY_SOURCE -
D_FORTIFY_SOURCE=1 -Wall -D_LIBRARY -DUSEVEC -DUSEVECREG -DUSEAESNI -funsafe-math-optimizations -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -maes -Wa,-march=generic64+ae
s -Wa,-ahlms=/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.aes-ni.pic.o.list /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/ae
s-ncbi.c
In file included from /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.c:29:0:
/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/ncbi-priv.h:60:33: warning: ‘KAESBlockCipherVecAesNiaes_ncbi_name’ defined but not used [-Wunused-const-v
ariable=]
# define AESBCMEMBER(name) KAESBlockCipherVecAesNi##name
^
/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.c:2292:19: note: in expansion of macro ‘AESBCMEMBER’
static const char AESBCMEMBER(aes_ncbi_name) [] = CLASS_STRING(AES_CLASS);
^~~~~~~~~~~
/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.c:95:11: warning: ‘vec_10’ defined but not used [-Wunused-const-variable=]
CipherVec vec_10 = { 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10,
^~~~~~
/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.c: In function ‘KAESBlockCipherVecAesNiMake’:
/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.c:2507:34: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
uint32_t level = 1, a, b, c, d;
^
/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/aes-ncbi.c:2507:31: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
uint32_t level = 1, a, b, c, d;
^
/tmp/cce3Rlg0.s: Assembler messages:
/tmp/cce3Rlg0.s:70: Error:
pshufb' is not supported on
generic64.aes'..
..
...
/tmp/cce3Rlg0.s:611: Error:
pshufb' is not supported on
generic64.aes'/tmp/cce3Rlg0.s:615: Error:
pshufb' is not supported on
generic64.aes'make[8]: *** [/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/libs/krypto/Makefile:194: aes-ncbi.aes-ni.pic.o] Error 1
make[8]: Target '/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/ncbi-out/ncbi-vdb/linux/gcc/x86_64/rel/std' not remade because of errors.
reattempting without AES-NI instructions
Installing libraries to /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/lib64
Installing includes to /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/include
Installing configuration files to /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/etc/ncbi
Updating /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/usr/include/ncbi-vdb
Updating /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/etc/profile.d/ncbi-vdb.[c]sh
Use $NCBI_VDB_LIBDIR in your link commands, e.g.:
ld -L$NCBI_VDB_LIBDIR -lncbi-vdb ...
Please add /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/lib64 to your LD_LIBRARY_PATH, e.g.:
export LD_LIBRARY_PATH=/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/lib64:$LD_LIBRARY_PATH
Use /home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/lib64 in your link commands, e.g.:
export NCBI_VDB_LIBDIR=/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install/root/lib64
ld -L$NCBI_VDB_LIBDIR -lncbi-vdb ...
make[3]: Leaving directory '/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install'
make[2]: Leaving directory '/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test/install'
make[1]: Target 'by_default' not remade because of errors.
make[1]: Leaving directory '/home/eastasia/softhouse/biotools/git_svn/ncbi-vdb/test'
The text was updated successfully, but these errors were encountered: