[openssl-dev] [openssl.org #4366] OS X 10.5, 64-bit PPC, no-asm, and "Failed test 'running asynctest'"

Matt Caswell via RT rt at openssl.org
Mon Mar 14 15:21:24 UTC 2016



On 14/03/16 15:05, Andy Polyakov via RT wrote:
>>>> Bump... The issue is still present as of b36a2ef for OS X 10.6 64-bit.
>>>> 32-bit tests OK.
>>>>
>>>> The relevant snippets are:
>>>>
>>>> $ make test
>>>> ...
>>>> ../test/recipes/90-test_async.t ........... 1/1
>>>> #   Failed test 'running asynctest'
>>>> #   at ../test/testlib/OpenSSL/Test/Simple.pm line 70.
>>>> # Looks like you failed 1 test of 1.
>>>> ../test/recipes/90-test_async.t ........... Dubious, test returned 1
>>>> (wstat 256, 0x100)
>>>> Failed 1/1 subtests
>>>
>>> Once again, "it boils down to the fact that getcontext always returns
>>> failure to ppc64 program. There is nothing we can do about it, you just
>>> have to accept that this particular thing doesn't work on MacOS
>>> X/ppc64." getcontext is part of libc equivalent, which is why there is
>>> nothing that can be done about it.
>>>
>>>
>> Can we detect the platform in async_posix.h so that if we work out we're
>> on ppc64 then we default to ASYNC_NULL?
> 
> #if defined(__APPLE__) && (defined(__ppc64__) || defined(_ARCH_PPC64))
> 
> 
So something like the attached?

Jeff, can you test this?

Matt

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: async-ppc64.patch
Type: text/x-patch
Size: 1985 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160314/fffa45e7/attachment.bin>


More information about the openssl-dev mailing list