[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 Sep 1 21:09:20 UTC 2016
Hello,
crypto/x86_64cpuid.s generated by perl
32 bit (has problem) & 64 bit (no problem) are attached.
Regards,
--- Kiyoshi <yoi_no_myoujou at yahoo.co.jp>
>
>> I'm sorry to be late.
>> I was too busy and had to prepare 64 bit gdb (& 64 bit perl).
>>
>> It seems to be 32 bit perl (perl-5.24.0) problem.
>> (Generating 64 bit code with 32 bit perl.)
>
> For reference, I'm using 32-bit perl version 5.10.1, minimally supported
> version, by default, i.e. *all* the time. Well, not on Solaris, on
> Linux, but I do use it with 64-bit builds. As well with cross-compile
> builds for a handful qemu-based environments, 32- and 64-bit ones, and
> with mingw/wine. As for Solaris, I can say that 32-bit perl version
> 5.12.5 works for me. Bottom line is that perl's 32-bitness doesn't seem
> to be the problem, on the contrary, it's actually *known* to be capable
> of generating 64-bit assembly code, and failure to do so will be caught
> swiftly.
>
>> Tested with openssl-1.1.0 instead of pre-6,
>> and on pure Solaris 10, without any VM.
>>
>>
>> (1) with 32 bit perl
>> Did test/hmactest under gdb, break,
>> confirmed it was in OPENSSL_cleanse,
>> "leaq -0(%rsi),%rsi" (not "lea 0(%rdi),%rdi")
>> and making a short loop.
>>
>> (2) with 64 bit perl
>> make test passed both with gcc 5.4.0 & developerstudio12.5.
>
> In other words it's effectively confirmed that it's not really OpenSSL
> problem, but likely to be a problem with specific Solaris perl binary. I
> wonder if you could find opportunity to post broken crypto/x86_64cpuid.s
> generated by this broken perl, please?
>
>
> --
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86_64cpuid.s-with_32bit_perl.gz
Type: application/x-tar
Size: 1801 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160901/aac5428e/attachment.tar>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86_64cpuid.s-with_64bit_perl.gz
Type: application/x-tar
Size: 1810 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160901/aac5428e/attachment-0001.tar>
More information about the openssl-dev
mailing list