Missing upstream commits for LP: #2102181

Bug #2107336 reported by Mehmet Basaran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Mehmet Basaran
Noble
Fix Committed
Undecided
Mehmet Basaran

Bug Description

When applying upstream stable patchset (v6.6.67, v6.12.6) we forgot to include:

acea3779b2aa libperf cpumap: Add any, empty and min helpers

As a result kernel fails to compile.

I am thinking we should include the following 2 commits from upstream as a fix:
dcd45b376d0a libperf cpumap: Ensure empty cpumap is NULL from alloc
b6b4a62d8525 libperf cpumap: Add any, empty and min helpers

Failure:
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/ppa/+build/30629891/+files/buildlog_ubuntu-noble-amd64.linux_6.8.0-60.62_BUILDING.txt.gz

evlist.c: In function ‘__perf_evlist__propagate_maps’:
evlist.c:55:21: error: implicit declaration of function ‘perf_cpu_map__is_empty’; did you mean ‘perf_cpu_map__set_nr’? [-Werror=implicit-function-declaration]
   55 | if (perf_cpu_map__is_empty(evsel->cpus)) {
      | ^~~~~~~~~~~~~~~~~~~~~~
      | perf_cpu_map__set_nr
evlist.c:55:21: error: nested extern declaration of ‘perf_cpu_map__is_empty’ [-Werror=nested-externs]

Changed in linux (Ubuntu Noble):
status: New → In Progress
description: updated
description: updated
Changed in linux (Ubuntu Noble):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.8.0-60.63 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux' to 'verification-done-noble-linux'. If the problem still exists, change the tag 'verification-needed-noble-linux' to 'verification-failed-noble-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-v2 verification-needed-noble-linux
Changed in linux (Ubuntu Noble):
assignee: nobody → Mehmet Basaran (mehmetbasaran)
Changed in linux (Ubuntu):
assignee: nobody → Mehmet Basaran (mehmetbasaran)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.