Your message dated Sun, 20 Mar 2016 10:49:05 +0000
with message-id <[email protected]>
and subject line Bug#805570: fixed in libsigsegv 2.10-5
has caused the Debian Bug report #805570,
regarding libsigsegv: FTBFS on sparc64 due to outdated definition of 
SIGSEGV_FAULT_STACKPOINTER
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.)


-- 
805570: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805570
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libsigsegv
Version: 2.10-4
Severity: important
Tags: patch

Hello!

libsigsegv currently fails to build from source on sparc64:

make[3]: Entering directory '/«PKGBUILDDIR»/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I. -I.  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -c -o handler.lo handler.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -D_FORTIFY_SOURCE=2 -g 
-O2 -fstack-protector-strong -Wformat -Werror=format-security -c handler.c  
-fPIC -DPIC -o .libs/handler.o
In file included from fault.h:37:0,
                 from handler-unix.c:71,
                 from handler.c:20:
handler-unix.c: In function 'sigsegv_handler':
fault-linux-sparc.h:30:70: error: 'mcontext_t {aka struct <anonymous>}' has no 
member named 'gregs'
 #define SIGSEGV_FAULT_STACKPOINTER  ((ucontext_t *) 
ucp)->uc_mcontext.gregs[REG_O6]

This is due to the fact that the #define for SIGSEGV_FAULT_STACKPOINTER uses an 
outdated
variable name for the gregs member in uc_mcontext. It should be renamed from 
"gregs"
to "mc_gregs".

The attached patch does exactly that and fixes the FTBFS on sparc64 and sparc 
(V9/V8+).
Please apply the patch to help us with the porting efforts for sparc64.

Credits for the patch to Romain Dolbeau <[email protected]>.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Description: Fix the definition of SIGSEGV_FAULT_STACKPOINTER for sparc
 The definition of SIGSEGV_FAULT_STACKPOINTER uses an outdated variable
 identifier for the register window array. sparc V8+ and later renamed
 this array from gregs to mc_gregs. This patch fixes an FTBFS.
 .

--- libsigsegv-2.9.orig/src/fault-linux-sparc.h
+++ libsigsegv-2.9/src/fault-linux-sparc.h
@@ -27,4 +27,4 @@
    (see also <asm/sigcontext.h>)
    are quite different types.  */
 
-#define SIGSEGV_FAULT_STACKPOINTER  ((ucontext_t *) ucp)->uc_mcontext.gregs[REG_O6]
+#define SIGSEGV_FAULT_STACKPOINTER  ((ucontext_t *) ucp)->uc_mcontext.mc_gregs[REG_O6]

--- End Message ---
--- Begin Message ---
Source: libsigsegv
Source-Version: 2.10-5

We believe that the bug you reported is fixed in the latest version of
libsigsegv, 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.
Christoph Egger <[email protected]> (supplier of updated libsigsegv 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: SHA512

Format: 1.8
Date: Sun, 20 Mar 2016 11:22:55 +0100
Source: libsigsegv
Binary: libsigsegv2 libsigsegv-dev
Architecture: source
Version: 2.10-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team 
<[email protected]>
Changed-By: Christoph Egger <[email protected]>
Description:
 libsigsegv-dev - Library for handling page faults in a portable way 
development pa
 libsigsegv2 - Library for handling page faults in a portable way
Closes: 775050 805570
Changes:
 libsigsegv (2.10-5) unstable; urgency=medium
 .
   * Import patch from John Paul Adrian Glaubitz to fix build on sparc64
     (Closes: #805570)
   * Import patch from Helmut Grohne to Fix cross compilation for arm64
     (Closes: #775050)
   * Use canonical Vcs-* URLs
   * Bump standards version
Checksums-Sha1:
 0873c82a2b64e6856e8aacc21e7448d9ff838e07 2176 libsigsegv_2.10-5.dsc
 d54ffefb31ffc9a49b70e6d2ac51d06b724c7d5d 10196 libsigsegv_2.10-5.debian.tar.xz
Checksums-Sha256:
 92d54f05c061e7a3fb58e6a697b249014c6bf3e9d9364fce8d31e39c9e978d94 2176 
libsigsegv_2.10-5.dsc
 91c32dce30bee0e8a27f6a546338253662551b29ec4b15583217b9408e057ece 10196 
libsigsegv_2.10-5.debian.tar.xz
Files:
 4a33a19a1a304391e0a045689d5d7570 2176 libdevel optional libsigsegv_2.10-5.dsc
 88f5b8357b9c1c0858cf975506458d07 10196 libdevel optional 
libsigsegv_2.10-5.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJW7nz9AAoJEKv/7bJACMb5tigQAIoDPjMzmZYHrUuZTR4h6kzy
8TnDEr74Cti+7SKGSm8M/WUWAK6n2yyeHlNUlYGi3XLE+JLkwqlmaD1Ms0s9YHW2
K0pB3eLDdC4v+xGinp78H3x28cq6rFeiVx5NdgEbkrHCleNV7c926nHn4iN2Q59I
Av71PMaCv3po4OC9q+41rT0twGNPZgG1ksgjmESKjux65P5IUnPl9xayHgL5CdfQ
lG1lvRuljSSi41kUwVy8xWloEXDSVkY3EsNhokefQ2vrjJHN1Ob+ZBMDI7H0HqfF
RZHXh3p3I2iHUZ+4SwvQGR+EQKBTfmFJCP68S9im08wYXfrDRZtQJJvfqZqpRgoB
woQuB2UC7w4iJlx3L17AcKMCmgeG6IjyfDk7jyNpvHbmNqLzwhLJw66aevBWu7SN
z6RzEf9xalBu2oHIxx3dqu2rhRXfOovgOTDlVj9uzG/4zoAoYSZUJnxI/7H6qv5P
yUusPhvFLBOS3jDBvZA0fCSeZKp79hbB/aksPEVDKoyC918b/FE/Jn2InWQ8H67u
Bdpzbs3OZHWlpPUO71DfCKFo/hMPnk4fq1+eNyqjpvUGOgLi1PBmwt0+kvPY6zfm
8FwjdIsu8Skn88I6zBHTMDO1SgFsEzbZs1l5be2RCEkI7WeeEvSEkV9NDhP2ssqt
oACpVcAman4qzmp74X1M
=UaB5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to