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

Naresh Kamboju
2024-02-23T09:42:03Z

[ 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@linaro.org>

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