← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1858798] [NEW] tools/perf fails to build after Xenial update to 4.4.208 upstream stable release

 

Public bug reported:

[Impact]
xenial/linux after the update to 4.4.208 upstream stable fails to build tools/perf on environments that don't have libunwind installed.

https://launchpad.net/~canonical-kernel-
team/+archive/ubuntu/ppa/+build/18530346/+files/buildlog_ubuntu-xenial-
powerpc.linux_4.4.0-172.201_BUILDING.txt.gz

[...]
builtin-report.c: In function ‘report__setup_sample_type’:
builtin-report.c:289:6: error: ‘dwarf_callchain_users’ undeclared (first use in this function)
  if (dwarf_callchain_users) {
      ^
[...]

This is caused by the following commit from linux-4.4.y:

commit faece3af80729763bb28449fa803d12c962571bd
Author: Jin Yao <yao.jin@xxxxxxxxxxxxxxx>
Date:   Fri Oct 11 10:21:22 2019 +0800

    perf report: Add warning when libunwind not compiled in

    [ Upstream commit 800d3f561659b5436f8c57e7c26dd1f6928b5615 ]

[Fix]
Revert the mentioned commit. The variable 'dwarf_callchain_users' was introduced by eabad8c6856f "perf unwind: Do not look just at the global callchain_param.record_mode" which as of now hasn't been backported to stable linux-4.4.y.

[Test]
Build the kernel on PPA for powerpc, ppc64el and s390x.

[Regression Potential]
Null. This commit is supposed to only add a warning and is breaking the build for some architectures, so reverting it will not cause any regression for the users.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Xenial)
     Importance: High
     Assignee: Kleber Sacilotto de Souza (kleber-souza)
         Status: In Progress

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Invalid

** Changed in: linux (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: linux (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Xenial)
     Assignee: (unassigned) => Kleber Sacilotto de Souza (kleber-souza)

** Description changed:

  [Impact]
  xenial/linux after the update to 4.4.208 upstream stable fails to build tools/perf on environments that don't have libunwind installed.
  
  https://launchpad.net/~canonical-kernel-
  team/+archive/ubuntu/ppa/+build/18530346/+files/buildlog_ubuntu-xenial-
  powerpc.linux_4.4.0-172.201_BUILDING.txt.gz
  
  [...]
  builtin-report.c: In function ‘report__setup_sample_type’:
  builtin-report.c:289:6: error: ‘dwarf_callchain_users’ undeclared (first use in this function)
-   if (dwarf_callchain_users) {
-       ^
+   if (dwarf_callchain_users) {
+       ^
  [...]
  
  This is caused by the following commit from linux-4.4.y:
  
  commit faece3af80729763bb28449fa803d12c962571bd
  Author: Jin Yao <yao.jin@xxxxxxxxxxxxxxx>
  Date:   Fri Oct 11 10:21:22 2019 +0800
  
-     perf report: Add warning when libunwind not compiled in
-     
-     [ Upstream commit 800d3f561659b5436f8c57e7c26dd1f6928b5615 ]
+     perf report: Add warning when libunwind not compiled in
  
+     [ Upstream commit 800d3f561659b5436f8c57e7c26dd1f6928b5615 ]
  
  [Fix]
  Revert the mentioned commit. The variable 'dwarf_callchain_users' was introduced by eabad8c6856f "perf unwind: Do not look just at the global callchain_param.record_mode" which as of now hasn't been backported to stable linux-4.4.y.
  
  [Test]
  Build the kernel on PPA for powerpc, ppc64el and s390x.
  
  [Regression Potential]
- Null. This commit is supposed to only add a warning and is breaking the build for some architectures.
+ Null. This commit is supposed to only add a warning and is breaking the build for some architectures, so reverting it will not cause any regression for the users.

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1858798

Title:
  tools/perf fails to build after Xenial update to 4.4.208 upstream
  stable release

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Xenial:
  In Progress

Bug description:
  [Impact]
  xenial/linux after the update to 4.4.208 upstream stable fails to build tools/perf on environments that don't have libunwind installed.

  https://launchpad.net/~canonical-kernel-
  team/+archive/ubuntu/ppa/+build/18530346/+files/buildlog_ubuntu-
  xenial-powerpc.linux_4.4.0-172.201_BUILDING.txt.gz

  [...]
  builtin-report.c: In function ‘report__setup_sample_type’:
  builtin-report.c:289:6: error: ‘dwarf_callchain_users’ undeclared (first use in this function)
    if (dwarf_callchain_users) {
        ^
  [...]

  This is caused by the following commit from linux-4.4.y:

  commit faece3af80729763bb28449fa803d12c962571bd
  Author: Jin Yao <yao.jin@xxxxxxxxxxxxxxx>
  Date:   Fri Oct 11 10:21:22 2019 +0800

      perf report: Add warning when libunwind not compiled in

      [ Upstream commit 800d3f561659b5436f8c57e7c26dd1f6928b5615 ]

  [Fix]
  Revert the mentioned commit. The variable 'dwarf_callchain_users' was introduced by eabad8c6856f "perf unwind: Do not look just at the global callchain_param.record_mode" which as of now hasn't been backported to stable linux-4.4.y.

  [Test]
  Build the kernel on PPA for powerpc, ppc64el and s390x.

  [Regression Potential]
  Null. This commit is supposed to only add a warning and is breaking the build for some architectures, so reverting it will not cause any regression for the users.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1858798/+subscriptions


Follow ups