[openssl-dev] [openssl.org #4584] Self test failures under X32

Andy Polyakov via RT rt at openssl.org
Thu Aug 11 12:29:07 UTC 2016


> ( cd test; \
>   SRCTOP=../. \
>   BLDTOP=../. \
>   PERL="perl" \
>   EXE_EXT= \
>   OPENSSL_ENGINES=.././engines \
>     perl .././test/run_tests.pl test_afalg )
> ../test/recipes/30-test_afalg.t ..
> 1..1
> ALG_PERR: afalg_fin_cipher_aio: io_read failed : Bad address
> test_afalg_aes_128_cbc() failed encryption
> ../util/shlib_wrap.sh ./afalgtest => 1
> not ok 1 - running afalgtest
> 
> #   Failed test 'running afalgtest'
> #   at ../test/recipes/30-test_afalg.t line 23.
> # Looks like you failed 1 test of 1.
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests

For reference, problem is not specific to x32, real x86 32-bit build
fails in same manner as well. [As well as executed under qemu-user, but
we are probably not in position to expect *that* work.] What's common
between x32 and x86 is that system calls pass an "emulation" layer where
32-bit arguments are adjusted for 64-bit kernel and return values back
for 32-bit application...


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4584
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list