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

Matt Caswell matt at openssl.org
Wed Mar 16 11:11:27 UTC 2016



On 14/03/16 15:21, Matt Caswell via RT wrote:
> 
> 
> 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?

Jeff reported to me off list that this did not work.

Jeff - please can you try the attached alternative patch?

Thanks

Matt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad-getcontext.patch
Type: text/x-patch
Size: 2749 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160316/e193b971/attachment.bin>


More information about the openssl-dev mailing list