Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-54022

pahole 1.27 break kernel builds with clang [rhel-9]

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • CentOS Stream 9
    • dwarves
    • None
    • dwarves-1.27-2.el9
    • Yes
    • None
    • rhel-sst-kernel-tps
    • ssg_core_kernel
    • 25
    • 26
    • 1
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • x86_64, aarch64
    • None

      What were you trying to do that didn't work?

      pahole 1.27 introduces a regression that breaks kernel builds using clang. This has been fixed upstream already in these two commits: https://github.com/acmel/dwarves/commit/6a2b27c0f512619b0e7a769a18a0fb05bb3789a5 https://github.com/acmel/dwarves/commit/94a01bde592c555b3eb526aeb4c2ad695c5660d8 which are currently queued for next. There are additional details on this in https://gitlab.archlinux.org/archlinux/packaging/packages/pahole/-/issues/1 (the ticket is about Arch but the same applies here).

      Please provide the package NVR for which bug is seen:

      dwarves-1.27-1.el9

      dwarves-1.27-1.el10

      How reproducible:

      always

      Steps to reproduce

      Attempting to build an upstream kernel tree with CONFIG_MEM_ALLOC_PROFILING=y using clang should repro the issue.

      Expected results

      the kernel build should succeed

      Actual results

      the kernel build fails

              vmalik@redhat.com Viktor Malík
              dcavalca Davide Cavalca
              Viktor Malík Viktor Malík
              Ziqian (Zamir) SUN Ziqian (Zamir) SUN
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: