All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel.bbclass: Fix do_shared_workdir task ordering
@ 2015-08-10 15:21 Stefan Müller-Klieser
  2015-08-11  3:23 ` Bruce Ashfield
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Stefan Müller-Klieser @ 2015-08-10 15:21 UTC (permalink / raw)
  To: openembedded-core

commit 02d0a003d60326 [kernel.bbclass: Fix race condition] has surfaced
a bug in the generation of the shared_workdir. The task
do_compile_kernelmodules adds the exported symbols of the kernel modules
to the Module.symvers. By creating the shared_workdir before the modules
are compiled, the symbols of the modules are missing in the
shared_workdir. Subsequent external module builds will not include the
ABI CRC of functions exported in modules. Modprobe will fail to load the
external module if CONFIG_MODVERSIONS is enabled.

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index d06f6cf..473f1f8 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -249,7 +249,7 @@ kernel_do_install() {
 }
 do_install[prefuncs] += "package_get_auto_pr"
 
-addtask shared_workdir after do_compile before do_compile_kernelmodules
+addtask shared_workdir after do_compile_kernelmodules before do_install
 addtask shared_workdir_setscene
 
 do_shared_workdir_setscene () {
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-11-11 22:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-10 15:21 [PATCH] kernel.bbclass: Fix do_shared_workdir task ordering Stefan Müller-Klieser
2015-08-11  3:23 ` Bruce Ashfield
2015-08-11 12:47   ` Otavio Salvador
2015-08-11 13:06     ` Bruce Ashfield
2015-08-11 13:11       ` Bruce Ashfield
2015-08-11 14:25         ` Stefan Müller-Klieser
2015-08-11 15:10           ` Bruce Ashfield
2015-10-14 18:35 ` S. Lockwood-Childs
2015-10-14 18:22   ` Martin Jansa
2015-10-14 19:30 ` [oe] " S. Lockwood-Childs
2015-10-14 19:48   ` [OE-core] " Bruce Ashfield
2015-10-14 19:48     ` [oe] " Bruce Ashfield
2015-11-10  9:33     ` [OE-core] " Jens Rehsack
2015-11-10  9:33       ` [oe] " Jens Rehsack
2015-11-11  2:01       ` [OE-core] " Bruce Ashfield
2015-11-11  2:01         ` [oe] " Bruce Ashfield
2015-11-11  9:00         ` [OE-core] " Jens Rehsack
2015-11-11  9:00           ` [oe] " Jens Rehsack
2015-11-11 12:49           ` [OE-core] " Bruce Ashfield
2015-11-11 12:49             ` [oe] " Bruce Ashfield
2015-11-11 14:59             ` [OE-core] " Jens Rehsack
2015-11-11 14:59               ` [oe] " Jens Rehsack
2015-11-11 22:59               ` [OE-core] " Bruce Ashfield
2015-11-11 22:59                 ` [oe] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.