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

Kiyoshi KANAZAWA via RT rt at openssl.org
Thu Aug 11 14:39:30 UTC 2016


Hello,

I have no time to check with debugger now,
but I do not think it is caused by assembler,
because,
- gcc-5.4.0 with gas (GNU Binutils) 2.27
- cc (Solaris developerstudio12.5) with /usr/ccs/bin/as
have the same result (see openssl.org #4642 also).

perl version which I use is v5.24.0.


Regards,

--- Kiyoshi <yoi_no_myoujou at yahoo.co.jp>
 


----- Original Message -----
> From: Andy Polyakov via RT <rt at openssl.org>
> To: yoi_no_myoujou at yahoo.co.jp
> Cc: openssl-dev at openssl.org
> Date: 2016/8/11, Thu 21:17
> Subject: Re: [openssl-dev] [openssl.org #4641] [openssl-1.1.0-pre6] make test stops with solaris64-x86_64-gcc
> 
> 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
>


-- 
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