OpenSSL test_threads错误通过SuSe11安装1.1.0k版本

时间:2019-07-10 10:03:25

标签: openssl

我正在SuSe11上安装OpenSSL 1.1.0k,在配置和生成后,我进行了测试,并发生了一个错误:     ...     ../test/recipes/90-test_threads.t(Wstat:256测试:1失败:1)       测试失败:1       非零退出状态:1     文件= 100,测试= 570、106挂钟秒(1.67 usr 0.33 sys + 59.77 cusr 25.30 csys = 87.07 CPU)     结果:失败

我以更高的详细度启动测试:     $ make V = 1 TESTS ='test_threads'测试 结果是:

make depend && make _tests
make[1]: Entering directory `/users/login/e540022/openssl-1.1.0k'
make[1]: Leaving directory `/users/login/e540022/openssl-1.1.0k'
make[1]: Entering directory `/users/login/e540022/openssl-1.1.0k'
gcc  -I. -Iinclude -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/soft/openssl-1.1.0k\"" -DENGINESDIR="\"/soft/openssl-1.1.0k/lib/engines-1.1\"" -Wall -O3 -pthread -m64 -DL_ENDIAN  -Wa,--noexecstack  -MMD -MF test/threadstest.d.tmp -MT test/threadstest.o -c -o test/threadstest.o test/threadstest.c
test/threadstest.c: In function 'thread_run':
test/threadstest.c:66: warning: dereferencing type-punned pointer will break strict-aliasing rules
test/threadstest.c: In function 'run_thread':
test/threadstest.c:74: warning: dereferencing type-punned pointer will break strict-aliasing rules
rm -f test/threadstest
make -f ./Makefile.shared -e \
                PERL="/soft/perl-5.16.3/bin/perl" SRCDIR=. \
                APPNAME=test/threadstest OBJECTS="test/threadstest.o" \
                LIBDEPS=' '" -L. -lcrypto"' -lz -ldl -pthread -Wl,-rpath=/soft/openssl-1.1.0k/lib ' \
                CC='gcc' CFLAGS='-DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"/soft/openssl-1.1.0k\"" -DENGINESDIR="\"/soft/openssl-1.1.0k/lib/engines-1.1\"" -Wall -O3 -pthread -m64 -DL_ENDIAN  -Wa,--noexecstack ' \
                LDFLAGS='' \
                link_app.linux-shared
make[2]: Entering directory `/users/login/e540022/openssl-1.1.0k'
LD_LIBRARY_PATH=.: gcc -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DOPENSSLDIR="/soft/openssl-1.1.0k" -DENGINESDIR="/soft/openssl-1.1.0k/lib/engines-1.1" -Wall -O3 -pthread -m64 -DL_ENDIAN -Wa,--noexecstack -o test/threadstest test/threadstest.o -L. -lcrypto -lz -ldl -pthread -Wl,-rpath=/soft/openssl-1.1.0k/lib
make[2]: Leaving directory `/users/login/e540022/openssl-1.1.0k'
( cd test; \
          mkdir -p test-runs; \
          SRCTOP=../. \
          BLDTOP=../. \
          RESULT_D=test-runs \
          PERL="/soft/perl-5.16.3/bin/perl" \
          EXE_EXT= \
          OPENSSL_ENGINES=`cd .././engines; pwd` \
          OPENSSL_DEBUG_MEMORY=on \
            /soft/perl-5.16.3/bin/perl .././test/run_tests.pl test_threads )
../test/recipes/90-test_threads.t ..
1..1
thread-local thread callback failed
../../util/shlib_wrap.sh ../../test/threadstest => 1
not ok 1 - running threadstest

#   Failed test 'running threadstest'
#   at /users/login/e540022/openssl-1.1.0k/test/../util/perl/OpenSSL/Test/Simple.pm line 77.
# Looks like you failed 1 test of 1.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Test Summary Report
-------------------
../test/recipes/90-test_threads.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=1,  0 wallclock secs ( 0.03 usr  0.01 sys +  0.08 cusr  0.02 csys =  0.14 CPU)
Result: FAIL
make[1]: *** [_tests] Error 1
make[1]: Leaving directory `/users/login/e540022/openssl-1.1.0k'
make: *** [tests] Error 2

我不知道为什么会出错。有人可以帮助我吗?

0 个答案:

没有答案