[FSL P50x0] [GIT KERNEL] [VDSO] compiling issue

Michael Ellerman mpe at ellerman.id.au
Fri Sep 20 14:30:56 AEST 2024


Christian Zigotzky <chzigotzky at xenosoft.de> writes:
> Hi All,
>
> The compiling of the latest Git kernel doesn’t work anymore for our FSL P5020/P5040 boards [1] since the random-6.12-rc1 updates [2].
>
> Error messages:
>
> arch/powerpc/kernel/vdso/vdso32.so.dbg: dynamic relocations are not supported
>
> make[2]: *** [arch/powerpc/kernel/vdso/Makefile:75: arch/powerpc/kernel/vdso/vdso32.so.dbg]
>
> Reverting of the vdso updates has solved the compiing issue.
>
> Could you please check the random-6.12-rc1 updates? [2]
>
> Thanks,
> Christian
>
> [1] http://wiki.amiga.org/index.php?title=X5000
>
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a39ac5b7d62679c07a3e3d12b0f6982377d8a7d
>
> + Kernel config
>
> Link: https://raw.githubusercontent.com/chzigotzky/kernels/refs/heads/main/configs/x5000_defconfig

Your config has:

  # CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
  CONFIG_CC_OPTIMIZE_FOR_SIZE=y

But all our defconfigs use CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE. Which
explains why we didn't catch this in build testing. I've added a build
with OPTIMIZE_FOR_SIZE=y so hopefully we'll catch any similar errors in
future.

cheers


More information about the Linuxppc-dev mailing list