Bug 13442

Summary: linux-yocto-rt 4.19 fails to build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Anuj Mittal <anuj.mittal>
Component: kernelAssignee: Armin Kuster <akuster>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: akuster, naveen.kumar.saini, randy.macleod, tom.zanussi
Version: 2.7.1   
Target Milestone: 2.7.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Anuj Mittal 2019-07-17 09:07:43 UTC
| /build/build/tmp/work-shared/intel-corei7-64/kernel-source/kernel/irq/manage.c: In function 'irq_set_affinity_notifier':
| /build/build/tmp/work-shared/intel-corei7-64/kernel-source/kernel/irq/manage.c:399:33: error: 'struct irq_affinity_notify' has no member named 'work'; did you mean 'swork'?
|    cancel_work_sync(&old_notify->work);
|                                  ^~~~
|                                  swork
|   CC      kernel/locking/rwsem.o
| /build/build/tmp/work-shared/intel-corei7-64/kernel-source/scripts/Makefile.build:303: recipe for target 'kernel/irq/manage.o' failed
| make[4]: *** [kernel/irq/manage.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
|   CC      kernel/locking/spinlock.o

It looks like this has been fixed by Bruce during the recent upgrade:

http://git.yoctoproject.org/cgit.cgi/linux-yocto/commit/?h=v4.19/standard/preempt-rt/base&id=136a0e73cbefff9477133aae735aaf606ffae665

We should backport the 4.19.57 kernel upgrade to warrior to include this merge fix.
Comment 1 Bruce Ashfield 2019-07-17 14:00:11 UTC
I can prepare a SRCREV bump for warrior for the 4.19 kernel.
Comment 2 Armin Kuster 2019-08-15 15:23:47 UTC
backported to warrior
Comment 4 Armin Kuster 2019-10-03 04:15:42 UTC
in mainline warrior
Comment 5 Armin Kuster 2019-10-03 04:15:54 UTC
.
Comment 6 Armin Kuster 2019-10-03 04:16:08 UTC
.