Skip to contentSkip to conversation

linux-next: build failure after merge of the kunit-fixes tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Aug 5, 2024 – Aug 6, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

ERROR: modpost: "__start_rodata" [lib/kunit/kunit.ko] undefined!
ERROR: modpost: "__end_rodata" [lib/kunit/kunit.ko] undefined!

Caused by commit

7d3c33b290b1 ("kunit: Device wrappers should also manage driver name")

I have used the kunit-fixes tree from next-20240805 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 6 lines · Stephen Rothwell

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

Quoted 7 lines

ERROR: modpost: "__start_rodata" [lib/kunit/kunit.ko] undefined!
ERROR: modpost: "__end_rodata" [lib/kunit/kunit.ko] undefined!

Caused by commit

7d3c33b290b1 ("kunit: Device wrappers should also manage driver name")

Thanks. I think this should fix it:
https://lore.kernel.org/linux-kselftest/[email protected]/

Cheers,
-- David

#2 lore raw
Quoted 7 lines · David Gow
Quoted 6 lines · Stephen Rothwell

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

Quoted 8 lines
Quoted 7 lines

ERROR: modpost: "__start_rodata" [lib/kunit/kunit.ko] undefined!
ERROR: modpost: "__end_rodata" [lib/kunit/kunit.ko] undefined!

Caused by commit

7d3c33b290b1 ("kunit: Device wrappers should also manage driver name")

David,

Looks like the above patch below is still under review - I can drop 7d3c33b290b1 for now to avoid build failures. Thoughts?

thanks,
-- Shuah

#3 lore raw
Quoted 13 lines · Shuah Khan
Quoted 12 lines · David Gow
Quoted 11 lines · Stephen Rothwell

Hi all,

After merging the kunit-fixes tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

ERROR: modpost: "__start_rodata" [lib/kunit/kunit.ko] undefined!
ERROR: modpost: "__end_rodata" [lib/kunit/kunit.ko] undefined!

Caused by commit

Quoted 9 lines
Quoted 3 lines
Quoted 2 lines

   7d3c33b290b1 ("kunit: Device wrappers should also manage driver name")

David,

Looks like the above patch below is still under review - I can drop 7d3c33b290b1 for now to avoid build failures. Thoughts?

7d3c33b290b1 ("kunit: Device wrappers should also manage driver name")

I did drop this patch for now from linux-kselftest kunit-fixes branch.

I will pull the two patches together when the patch below is ready.

https://lore.kernel.org/linux-kselftest/[email protected]/

thanks,
-- Shuah