Bug 13442 - linux-yocto-rt 4.19 fails to build
Summary: linux-yocto-rt 4.19 fails to build
Status: CLOSED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 2.7.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.7.2
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-07-17 09:07 UTC by Anuj Mittal
Modified: 2019-10-03 04:16 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
.