[Pkg-dns-devel] Bug#887030: boost1.62: context is broken on 32-bit mips

James Cowgill jcowgill at debian.org
Fri Jan 12 17:03:59 UTC 2018


Package: libboost-context1.62.0
Version: 1.62.0+dfsg-5
Severity: normal
Tags: patch
Forwarded: https://github.com/boostorg/context/pull/71
Control: affects -1 src:pdns-recursor
X-Debbugs-CC: pdns-recursor at packages.debian.org

Hi,

I had a look at why pdns-recursor was failing on mips, and it appears
that the mips support in boost context is broken. The assembly violates
the MIPS ABI in a number of ways which cause the pdns-recursor testsuite
to segfault.

I have submitted my fixes upstream in the above PR (which also contains
some more details). They don't quite apply onto boost 1.62 because
upstream has added support for saving the FPU registers in later
versions. Since this change is internal to the mips assembly, I suggest
you just copy the 3 mips32 files in lib/context/src/asm from my branch
instead of trying to apply the patches.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20180112/2b55d794/attachment.sig>


More information about the pkg-dns-devel mailing list