[openssl-dev] [openssl.org #4641] [openssl-1.1.0-pre6] make test stops with solaris64-x86_64-gcc

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


Hi,

> make test stops on Solaris10 x64.
> 
> 
> % ./Configure solaris64-x86_64-gcc
> 
> % make
> % make test
>    :
> ../test/recipes/01-test_abort.t ............ ok   
> ../test/recipes/01-test_sanity.t ........... ok   
> ../test/recipes/01-test_symbol_presence.t .. ok   
> ../test/recipes/02-test_ordinals.t ......... ok   
> ../test/recipes/05-test_bf.t ............... ok   
> ../test/recipes/05-test_cast.t ............. ok   
> ../test/recipes/05-test_des.t .............. ok   
> ../test/recipes/05-test_fuzz.t ............. ok     
> ../test/recipes/05-test_hmac.t ............. 

There was private report about similar problem. I mean if you can
confirm that it's stuck in OPENSSL_cleanse, then it's same problem(*).
Trouble is that it doesn't seem to be OpenSSL problem, because generated
code appears to be mis-compiled. When single-stepping with 'stepi' you
are likely to observe "lea 0(%rdi),%rdi" instruction, and it should be
"lea 1(%rdi),%rdi". I mean it *is* "lea 1(%rdi),%rdi" in source file,
crypto/x86_64cpuid.pl, and that's where our responsibility ends. In
sense that we are responsible for providing source, and you are
effectively responsible for providing working compiler environment. I
don't know which components were involved in first report, I mean things
like perl version, which assembler and its version, so I can't give any
advice about updates that might be required...

(*) To confirm run test/hmactest under debugger, break, see if it's in
OPENSSL_cleanse, issue 'stepi' command few times to see if it's going
"in circles".


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



More information about the openssl-dev mailing list