Your message dated Sat, 05 Sep 2026 10:19:03 +0000
with message-id <[email protected]>
and subject line Bug#1142755: fixed in google-perftools 2.18.1-2
has caused the Debian Bug report #1142755,
regarding google-perftools: FTBFS on Alpha
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.)


-- 
1142755: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142755
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: google-perftools
Version: 2.18.1-1
Severity: normal
Tags: ftbfs patch
User: [email protected]
Usertags: alpha

google-perftools FTBFS on Alpha due to missing architecture support.
I attach a patch that provides architecture support for Alpha. With
that, google-perftools builds to completion on Alpha.

Cheers,
Michael.
--- a/src/base/basictypes.h
+++ b/src/base/basictypes.h
@@ -168,6 +168,8 @@
 #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
 # elif defined(__sparcv9) || defined(__sparcv9__)
 #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
+# elif defined(__alpha) || defined(__alpha__)
+#   define CACHELINE_ALIGNED __attribute__((aligned(64)))
 # else
 #   error Could not determine cache line length - unknown architecture
 # endif
--- a/src/gen_getpc.rb
+++ b/src/gen_getpc.rb
@@ -44,6 +44,7 @@
     d.field "sc_ip", "Linux/ia64"
     d.field "__pc", "Linux/loongarch64"
     d.field "pc", "Linux/{mips,aarch64}"
+    d.field "sc_pc", "Linux/alpha"
     d.ifdef :PT_NIP, "uc_regs->gregs[PT_NIP]", "Linux/ppc"
     d.ifdef :PT_NIP, "gp_regs[PT_NIP]", "Linux/ppc"
     d.ifdef :REG_PC, "__gregs[REG_PC]", "Linux/riscv"
--- a/src/getpc-inl.h
+++ b/src/getpc-inl.h
@@ -131,6 +131,18 @@
   }
 };
 
+// Linux/alpha
+template <class U, class P, class = void>
+struct get_1ff18906 : public P {
+};
+template <class U, class P>
+struct get_1ff18906<U, P, void_t<decltype(((U*){})->uc_mcontext.sc_pc)>> : public P {
+  static void* Get(const U* uc) {
+    // Linux/alpha
+    return (void*)(uc->uc_mcontext.sc_pc);
+  }
+};
+
 // Linux/ppc
 template <class U, class P, class = void>
 struct get_d0eeceae : public P {
@@ -376,8 +388,10 @@
   using g_a81f6801 = get_a81f6801<ucontext_t, g_24e794ef>;
   // Linux/ppc (with #ifdef PT_NIP)
   using g_d0eeceae = get_d0eeceae<ucontext_t, g_a81f6801>;
+  // Linux/alpha
+  using g_1ff18906 = get_1ff18906<ucontext_t, g_d0eeceae>;
   // Linux/{mips,aarch64}
-  using g_b94b7246 = get_b94b7246<ucontext_t, g_d0eeceae>;
+  using g_b94b7246 = get_b94b7246<ucontext_t, g_1ff18906>;
   // Linux/loongarch64
   using g_4e9b682d = get_4e9b682d<ucontext_t, g_b94b7246>;
   // Linux/ia64

--- End Message ---
--- Begin Message ---
Source: google-perftools
Source-Version: 2.18.1-2
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
google-perftools, 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.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated 
google-perftools 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: Sat, 05 Sep 2026 11:30:17 +0200
Source: google-perftools
Architecture: source
Version: 2.18.1-2
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 1142755
Changes:
 google-perftools (2.18.1-2) unstable; urgency=medium
 .
   [ Michael Cree <[email protected]> ]
   * Fix FTBFS on Alpha (closes: #1142755).
Checksums-Sha1:
 641c5f5f95a4b7eeff687e040e2d34d61b804d81 2128 google-perftools_2.18.1-2.dsc
 f3821ab3254f82ae14399f7dddf36692dbef8f4e 7840 
google-perftools_2.18.1-2.debian.tar.xz
Checksums-Sha256:
 5123dc2af34045f8b5fd48b0c5889ea8d1fb848afb77d78e42735ca91c9dcb32 2128 
google-perftools_2.18.1-2.dsc
 e24c10e9bbeeb12400d6fff6afbde869bd2f3a23ba587d2dd12b58e746459c70 7840 
google-perftools_2.18.1-2.debian.tar.xz
Files:
 673fff3b09eccff21874ac10e3515529 2128 libs optional 
google-perftools_2.18.1-2.dsc
 b3f33b35a7ec1434e64508ee21e7ddbe 7840 libs optional 
google-perftools_2.18.1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmqb6I8ACgkQ3OMQ54ZM
yL+LLg/+KK5lAkRejKMsewGvKGsTYSxcMHsotQDlyoLWhrXuiyLg5kVb9NfGcnhK
0zkxvhBxIehnu6LH4d7SqdG9jEexAF787v71bZwNACjzY52IsL7glNNChz8ezYe7
tCKY9MEbrxUl70emCjR2W61KwtGH3eUKJCZCTDWNaQrXEZnWwLFupE9qtiZDFsj9
ykltkIcH+fx0ZdkCPzotZwRuikyQGEeXjFoa5/Z8X5oOmIoH151kip41geo2sCAY
QW+mGQRTyx5mnMqekJd0Qxxop+0iBLbiCDPVS0UCvPSaEuU8pnw0mg9Z0N4t3Hqr
AHmqDJSR1BQggbbhiBHEOn887BgRMwGeJNU5KyqokUeagJYIsYzZ7tFRN9PMXRSf
7IG7e/cXxZ6N74UECBnrnoH0FhJZG/0zqZpqAu/yPfL+0YGd1BChQ/ypca82wnF9
roSXxLXNIgrpaADqPpKGNj66TpERAjLBR0tz2Bk9gwQU3GXNxub2xNGHPQNXCFx2
G7CJukuB+ecLDfHXD46uHoxQ+UNh2tqYpIMRjVVZ3rM3jCZn6R5M1VzN3rJZfF3T
3K1NPlye+wpZa8ecs+z1/o/72JRdGOOCzBGlzZ32UqXpErmxfXO4xFFZREsFl3/e
eGCZ+UWG5lW3cttwxzeQSC8Njq7jVY+2fxfXJKaMtQOhnADzxNk=
=+xkY
-----END PGP SIGNATURE-----

Attachment: pgpjHfd8Ae7BV.pgp
Description: PGP signature


--- End Message ---

Reply via email to