Re: New kernels
Posted: Wed Jan 04, 2023 5:24 am
The same issue with linking after compiling of the X1000 kernel:xeno74 wrote: Tue Jan 03, 2023 4:34 am I tested Sean's patch with the RC2 today but unfortunately the kernel doesn't link after compiling.
Error messages:
Maybe it is not an issue because of the patch because the RC1 compilied and linked with the patch.Code: Select all
LD .tmp_vmlinux.kallsyms1 `.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o `.exit.text' referenced in section `__bug_table' of crypto/algif_hash.o: defined in discarded section `.exit.text' of crypto/algif_hash.o `.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1 make: *** [Makefile:1252: vmlinux] Error 2
Code: Select all
powerpc-linux-gnu-ld: warning: discarding dynamic section .rela___ksymtab_gpl+xas_store
`.exit.text' referenced in section `__bug_table' of crypto/algboss.o: defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: defined in discarded section `.exit.text' of drivers/char/hw_random/core.o
make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make: *** [Makefile:1252: vmlinux] Error 2
Reverting the patch "arch: fix broken BuildID for arm64 and riscv has solved the issue.
Code: Select all
git revert 99cb0d917ffa1ab628bb67364ca9b162c07699b1