s390: s390x-linux-gnu-ld: Unexpected GOT/PLT entries detected!

From: Naresh Kamboju
Date: Fri Feb 23 2024 - 04:42:51 EST


[ Please ignore this email if it is already reported ]

The s390 gcc-8 builds failed on Linux next tag next-20240215..next-20240223.
First build failures noticed on tag next-20240215 for both gcc-13 and gcc-8.
But from the next tag next-20240216 gcc-13 passed but gcc-8 failed.

s390:
- defconfig-fe40093d - gcc-8 - Failed
- tinyconfig - gcc-8 - Failed
- allnoconfig - gcc-8 - Failed

- defconfig-fe40093d - gcc-13 - Pass from next-20240216
- tinyconfig - gcc-13 - Pass from next-20240216
- allnoconfig - gcc-13 - Pass from next-20240216

Build log:
---------
s390x-linux-gnu-ld: Unexpected GOT/PLT entries detected!
make[3]: *** [/builds/linux/arch/s390/boot/Makefile:87:
arch/s390/boot/vmlinux.syms] Error 1
make[3]: Target 'arch/s390/boot/bzImage' not remade because of errors.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Steps to reproduce:
$ tuxmake --runtime podman --target-arch s390 --toolchain gcc-8
--kconfig tinyconfig

Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240223/testrun/22812529/suite/build/test/gcc-8-defconfig-fe40093d/details/
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2cl8pys1B3Vc4oOB2yXcaYkfnKw/

--
Linaro LKFT
https://lkft.linaro.org