Your message dated Thu, 15 Dec 2022 21:36:23 +0000
with message-id <[email protected]>
and subject line Bug#1025140: fixed in diffutils 1:3.8-2
has caused the Debian Bug report #1025140,
regarding diffutils: define SIGSEGV_FAULT_STACKPOINTER for loongarch
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1025140: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025140
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: diffutils
Version: 3.8-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: loongarch64
Dear diffutils maintainers,
I have defined SIGSEGV_FAULT_STACKPOINTER for loongarch.
Please consider the patch attached.
thanks,
Dandan Zhang
diff --git a/lib/sigsegv.c b/lib/sigsegv.c
index 998c827..6d9287e 100644
--- a/lib/sigsegv.c
+++ b/lib/sigsegv.c
@@ -168,6 +168,18 @@ int libsigsegv_version = LIBSIGSEGV_VERSION;
because $bsp and $bspstore never differ by more than ca. 1 KB. */
# define SIGSEGV_FAULT_BSP_POINTER ((ucontext_t *) ucp)->uc_mcontext.sc_ar_bsp
+# elif defined __loongarch__ || defined __loongarch64
+
+/* See glibc/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h
+ and the definition of GET_STACK in
+ glibc/sysdeps/unix/sysv/linux/loongarch/sigcontextinfo.h.
+ Note that the 'mcontext_t' defined in
+ glibc/sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h
+ and the 'struct sigcontext' defined in <asm/sigcontext.h>
+ are effectively the same. */
+
+# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.__gregs[LARCH_REG_SP]
+
# elif defined __m68k__
/* See glibc/sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
--- End Message ---
--- Begin Message ---
Source: diffutils
Source-Version: 1:3.8-2
Done: Santiago Vila <[email protected]>
We believe that the bug you reported is fixed in the latest version of
diffutils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated diffutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 15 Dec 2022 21:45:00 +0100
Source: diffutils
Architecture: source
Version: 1:3.8-2
Distribution: unstable
Urgency: medium
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1020560 1025140
Changes:
diffutils (1:3.8-2) unstable; urgency=medium
.
* Convert debian/copyright to DEP-5 format. Closes: #1020560.
Thanks to Bastian Germann.
* Define SIGSEGV_FAULT_STACKPOINTER for loongarch. Closes: #1025140.
Temporarily enable autoreconf for the above to work.
* Set upstream metadata fields Bug-Submit, Name and Repository-Browse.
* Update standards version to 4.6.1.
* Update watch file format version to 4.
Checksums-Sha1:
e291c36038609ed6bbfcb5557ca72e0ba75f6e16 1705 diffutils_3.8-2.dsc
0250b54aefa5d4f731825c268a09d186085b8c11 14140 diffutils_3.8-2.debian.tar.xz
b0bc0eb85991378a0c573e6fa24beb78df2cf58a 5575 diffutils_3.8-2_source.buildinfo
Checksums-Sha256:
d3d384cf02ac034f5fd09d17e74ff1c87782ddf519d78ac66bbc7df9113b3a17 1705
diffutils_3.8-2.dsc
e7f5371956deec9c11d84f4de44b1af95d07283817f4d579a7e6a415e52d0de2 14140
diffutils_3.8-2.debian.tar.xz
72ca200c4e19bdaea46f709c13a1338002b3ae9212656089d4c207288acb4111 5575
diffutils_3.8-2_source.buildinfo
Files:
13ced09c6cded4754f823f22d86f1cd5 1705 utils required diffutils_3.8-2.dsc
01bd414c82d4a35c5c3a29d95fc7e8da 14140 utils required
diffutils_3.8-2.debian.tar.xz
4d8d0c2ce90278986608c19f65313641 5575 utils required
diffutils_3.8-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmObiU4ACgkQQc5/C58b
izLVJwf9HpLQOCly9Z4SX2Rl5eZ2pEzgNU1p4f3ZEBOxbItnVBnJwz6rEgvDQKYy
35dOwyX3X5UphiS0SEkFdY2Vhu19n6T4q3fgXTNwlTbeYFGFgwxaFkbbKIlis7c0
ZDavWmlXqkWuiQa6dcrmHHj8sjyrm9J0k6UWa7srs5vIGD4tU2NXi7hlnNi8Ujrr
jAGuay/nRRPX8I36wzOMiuVxEJw9n3n1kn+OA2LQT1TO/YfMCtBUAdPyTSuUS2Pm
pCZJC3RHT+DLm6qQMIWLgZrqnSjcaRcLN/Cx9d6eWmD0hNozr2gpl3u74C0mjz+6
JPqkwNWZbzHvZU2Zr8EltUmwrYzgPg==
=Tllb
-----END PGP SIGNATURE-----
--- End Message ---