Re: [deller-fbdev:for-next-v7.1 17/22] ERROR: modpost: "__end_rodata" [lib/fonts/font.ko] undefined!

Thomas Zimmermann
2026-04-13T07:15:17Z

Hi Helge

Am 11.04.26 um 17:54 schrieb kernel test robot:
> Hi Thomas,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git for-next-v7.1
> head: 26484b2fa418a002d099608e681aef86fc90990c
> commit: a76e4bfc4b3586b47ede8e83bdb6050cd6b16025 [17/22] lib/fonts: Compare font data for equality with font_data_is_equal()

This is still the old v1 or v2 of the patch.

> config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260411/202604112326.kWhH8Y7A-lkp@intel.com/config)

Is it a recent warning? I'm asking because that config is for v7.0-rc2
and hence outdated.

> compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260411/202604112326.kWhH8Y7A-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202604112326.kWhH8Y7A-lkp@intel.com/
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
>>> ERROR: modpost: "__end_rodata" [lib/fonts/font.ko] undefined!

This linker error came from the original implementation of
font_data_is_internal(). I've fixed it in v3 of the patch at

https://lore.kernel.org/linux-fbdev/20260309141723.137364-10-tzimmermann@suse.de/

That's also the version in fbdev's for-next branch. I think we're good
here, unless there's a way this still happens with v3.

Best regards
Thomas

--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)