Re: strace build time tests fail on mips64el - missing syscall support?

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
On 2016-08-09 10:18, James Cowgill wrote:
> On 09/08/16 00:25, Aurelien Jarno wrote:
> > On 2016-08-08 14:39, James Cowgill wrote:
> >> Hi Steve,
> >>
> >> On 08/08/16 14:35, Steve McIntyre wrote:
> >>> On Wed, Jun 01, 2016 at 02:53:35PM +0100, Steve McIntyre wrote:
> >>>> Hi folks,
> >>>>
> >>>> I'm seeing a fair number of test suite failures for strace on
> >>>> mips64el, both in the most recent upload[1] and in current upstream
> >>>> git HEAD[2]. It's looking like a lot of ENOSYS errors. Could I get
> >>>> some porter help with this please? Otherwise I'm tempted to remove
> >>>> mips64el from the arch list for the package.
> >>>>
> >>>> [1] https://buildd.debian.org/status/fetch.php?pkg=strace&arch=mips64el&ver=4.11-1&stamp=1452274105
> >>>> [2] http://www.einval.com/debian/strace/build-logs/mips64el/
> >>>
> >>> Ping? Any help on this please?
> >>
> >> I'm having a look at this.
> >>
> >> In a preliminary check I found that about half the testsuite failures
> >> were caused by a kernel bug in the ptrace handling of any syscalls
> >> returning ENOSYS. The bug was fixed in 4.3 so testing strace on kernels
> >> older than that probably isn't a good idea. There are still some other
> >> failures though
> > 
> > Do you have a pointer to the fix? If it is small enough and easily
> > backportable, we can try to get it in the jessie kernel.
> 
> This is the fix:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d218af78492a36a4ae607c08fedfb59258440314
> 
> It seems like Markos actually did want the patch to go into the stable
> tree, but it looks like that never happened:
> https://www.linux-mips.org/archives/linux-mips/2015-09/msg00293.html

Thanks for the pointer. I have just backported this fix to the jessie
branch in the git repository. I don't know when it will appear in a
stable update though.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                 http://www.aurel32.net
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXq34CAAoJELqceAYd3YybOYsP/RsqZeOlZ4KDGAeGYWCJ9x2x
2JT8d+lw/vCAulDYhklQAmkV0nHCv9iXjC1nuYqA4+auosA2ECdSIyKl1tf7/SMz
OrqI0IlrVZBnAL9O/z4HZxuqbzx7VrLwRoMezMgBoY1gbbATY0L529SgetmpfjLS
LoBvjiPZOEHEsCSt1uXZZ0x/CR2Ud+UIOr5TLdAww4EdV5dygdZY8kigLv4vcqU1
YZKS3ihba/gG6WpiOpfvIhZj2wqBL601FOcbMRX/D+nzO9Ew0QwrHMlie+9k31ef
AObgDPAdW657wAyQvCWU85XDC0A0PdVbn0ALd3SfVfPlXJvHNNoDLxOEX8PnyQEA
/XhI/jEISinjt65ciCHwgGW2K2heno7ngTmSOU7CYtz5eIkgqgb9Ld3Iof2FloOo
M5M+7ZTZvjM0xugHf0rTuuvtWgg4+etwjhzEw6baytMu++nq0Qt5RKFCCumuzmjl
OeTM2oFBR47RMFxZ8dhwAte3XpmlIy3C/pajNs/sAEBS9ledQ0Y1c7e4asOd+/JZ
G8nyzlOX/FqhA4hzL8vMu2fJsNTClTnuGIR06KM2WptedWAzg15QWvv3joIWGGmm
hlofRx/H20GBR5fplPwe6t2YXEsk/iO5vJkOA8b5F9zRdBOPBKCB2uICmx0Yihou
phOvyRqQcfGTBRyKe2Sd
=v7ZP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.