Thread (4 messages) 4 messages, 3 authors, 2024-09-20

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

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2024-09-20 04:31:03

Possibly related (same subject, not in this thread)

Christian Zigotzky [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help