[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-tech
Subject: Re: perl 5.16 update / macppc / signal dispatch test failure
From: Matthew Dempsky <matthew () dempsky ! org>
Date: 2012-06-29 0:23:20
Message-ID: CANKkrzFTj3z4jwnQfyimAOsO8DapCBqAvdRaBGex7yiPhUYfmA () mail ! gmail ! com
[Download RAW message or body]
It looks like arm and sh are broken too. I've added a regress test to
/usr/src/regress/sys/kern/sigpending if anyone wants to try tackling
one or more of these broken implementations.
On Thu, Jun 28, 2012 at 5:10 PM, Matthew Dempsky <matthew@dempsky.org> wrote:
> On Thu, Jun 28, 2012 at 5:09 PM, Matthew Dempsky <matthew@dempsky.org>
wrote:
>> So the sigpending() system call returns the pending signals as an int
>> value via register, but then the libc stub is supposed to take care of
>> storing this as appropriate.
>>
>> If you look at libc/arch/amd64/sys/sigreturn.S, you'll notice there's
>> some followup assembly code for this. It looks like the analogous
>> code is missing from libc/arch/powerpc/sys/sigreturn.S.
>
> Er, sigpending.S of course.
>
>> On Thu, Jun 28, 2012 at 4:12 PM, Stuart Henderson <stu@spacehopper.org>
wrote:
>>> I'm doing some test runs with Perl 5.16 for Andrew Fresh and seeing
>>> a signal dispatch-related test failure on macppc
>>>
>>> kern.version=OpenBSD 5.2-beta (GENERIC.MP) #198: Sat Jun 23 11:30:52 MDT
2012
>>> deraadt@macppc.openbsd.org:/usr/src/sys/arch/macppc/compile/GENERIC.MP
>>>
>>> t/op/sigdispatch .............................................. # Failed
test 8
>>> - sigpending at op/sigdispatch.t line 60
>>> # got "536870912"
>>> # expected "0 but true"
>>> # Failed test 9 - SIGUSR1 is pending at op/sigdispatch.t line 61
>>> # got "0"
>>> # expected "1"
>>> FAILED at test 8
>>>
>>> This is a standard (not threaded) build. I can give files to reproduce
etc
>>> if wanted but wondered if anyone has ideas. It's not happening on amd64:
>>>
>>> kern.version=OpenBSD 5.2-beta (GENERIC.MP) #325: Thu Jun 21 10:08:05 MDT
2012
>>> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>>>
>>> Tests are around
http://perl5.git.perl.org/perl.git/blame/67288365cab33e76a48b697c001c11d4dc5b
1912:/t/op/sigdispatch.t#l60
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic