[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1114536: marked as done (elfutils: FTBFS on hppa - asm/perf_regs.h)



Your message dated Sun, 07 Sep 2025 09:35:25 +0000
with message-id <E1uvBnx-008H48-07@fasolo.debian.org>
and subject line Bug#1114536: fixed in elfutils 0.193-3
has caused the Debian Bug report #1114536,
regarding elfutils: FTBFS on hppa - asm/perf_regs.h
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 owner@bugs.debian.org
immediately.)


-- 
1114536: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114536
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: elfutils
Version: 0.193-2
Severity: normal
Tags: patch

Dear Maintainer,

The build fails here:

gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I..  -iquote . -I. -I../lib -I.. -I../libebl -I../libasm -I../libelf -I../libdw -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Wuse-after-free=3 -Wunused -Wextra -Wstack-usage=262144    -D_FORTIFY_SOURCE=2 -g -O3 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -MT i386_regs.o -MD -MP -MF .deps/i386_regs.Tpo -c -o i386_regs.o i386_regs.c
In file included from i386_init.c:37:
libebl_PERF_FLAGS.h:35:11: fatal error: asm/perf_regs.h: No such file or directory
   35 | # include <asm/perf_regs.h>
      |           ^~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:843: i386_init.o] Error 1

The linux parisc architecture doesn't currently provide the asm/perf_regs.h
header.  It is also not provided by m68k and sh4.

As far as I can tell, perf_regs.h is only used on i386.

With the attached patch, elfutils builds successfully on hppa.

Regards,
Dave Anglin

-- System Information:
Debian Release: forky/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.44-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- ./backends/libebl_PERF_FLAGS.h.save	2025-09-06 11:55:40.805860531 -0400
+++ ./backends/libebl_PERF_FLAGS.h	2025-09-06 11:56:21.046461921 -0400
@@ -31,7 +31,7 @@
 #ifndef _LIBEBL_PERF_FLAGS_H
 #define _LIBEBL_PERF_FLAGS_H 1
 
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__hppa__)
 # include <asm/perf_regs.h>
 #endif
 

--- End Message ---
--- Begin Message ---
Source: elfutils
Source-Version: 0.193-3
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
elfutils, 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 1114536@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated elfutils 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Sep 2025 10:59:45 +0200
Source: elfutils
Architecture: source
Version: 0.193-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Elfutils Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1114536
Changes:
 elfutils (0.193-3) unstable; urgency=medium
 .
   * Fix FTBFS for missing asm/perf_regs.h (John David Anglin).
     Closes: #1114536.
   * Don't build-depend on gcc-multilib on hurd-amd64.
Checksums-Sha1:
 8984c450b772307c11cb8bc02c8ca6f0e75d4fbe 3317 elfutils_0.193-3.dsc
 1573b4f3ca42d7d00794bc0b0e15e76c271a7318 44852 elfutils_0.193-3.debian.tar.xz
 5b9a9da8498017f04e78f222e44939844671e475 9190 elfutils_0.193-3_source.buildinfo
Checksums-Sha256:
 d7f9758e60d49a002a744481d74ed9df71b400add816508775ff7f48ae97e49b 3317 elfutils_0.193-3.dsc
 35a45551097618993ee404b8f01fe1141a82fc4744e8a98f7964662fa3581adb 44852 elfutils_0.193-3.debian.tar.xz
 af487dceebe915f99a4c6259ad57b89345cb1268c9bbf2665b136a9b03c3ecd4 9190 elfutils_0.193-3_source.buildinfo
Files:
 eadc5fc92298309549bccbcdf8eaeaf5 3317 libs optional elfutils_0.193-3.dsc
 76d4e73dc79cae8633fc3b1113b966fe 44852 libs optional elfutils_0.193-3.debian.tar.xz
 5f0eebe93e52a41412171ffdbb5cf23d 9190 libs optional elfutils_0.193-3_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmi9Tf0QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9X9eEACidkjzFBqxw6U6n/sNDphdv8zP76ikDlj5
x7mYHVCBMeNtaU77vwqyrgrV0JDfyI6hmqAEAKY+woxkjGfVqVuSymJn1F92eqtQ
3wfqEiUtLdAuX4N9hj3EeBQrFFfv0jyx3Ms3gQth23RkKERFAZgPulb0WbSRnTfZ
MGCyizlEofseIrn6zbkyNjfwN1gJk17dGm1VystemjIlBdorMgUhXeLSxl0i0mLE
K6s+BUdJBsRB5/AjjKrqLsTs8sXJ7sHAnGvKSeMm+x3UGFDxS7Q99pAbLNg5jI+k
SB3gGcpR1pr+6CL8If5RhH1c7xAuDbIwKJQqthjzZ2exB17rocHcdcS6EMYs0Os7
55R6MkvRpo2bbiiNxJvTZ+pr4yS13uCU2HvDxfCxWaRY1MnAS5EbYWuTQz0NQ8rX
PkeiquH1hMqmfq+3qEFEjKKOtexDg/nCnTmdNks+pAO/shcFW9FZ3F8/eoecUocv
xeoXUOqv7QGgsTGcyUVXlwStSgAfODhqxKa+ziFj+kWHa63HZ4jeRMBj4LIXNTam
Mxpq02qFroJJWJZM8EKVRhynB639gIpOdWHwH9MikBCMiKdsD2v+/+Tf9D2Vasuj
MCPiHz5hCjtU6P+mXb7EQltaiXTC5QNdHLF+mvY0Mlx4wWF+xHBoofZhiiRSqWBh
axle0PlVew==
=9G/O
-----END PGP SIGNATURE-----

Attachment: pgpnIvYjXK39m.pgp
Description: PGP signature


--- End Message ---

Reply to: