TuxML / tuxml

The main repository of the TuxML project contains the scripts for building Linux kernel configurations in the large.
Apache License 2.0
4 stars 2 forks source link

R_X86_64_PLT32 error on gcc 8 and defconfig #27

Open FAMILIAR-project opened 3 years ago

FAMILIAR-project commented 3 years ago

@ThomasTSY has a compilation error over defconfig I guess

Unsupported relocation type: R_X86_64_PLT32 (4)
make[2]:  [arch/x86/boot/compressed/Makefile:119: arch/x86/boot/compressed/vmlinux.relocs] Error 1
make[1]:  [arch/x86/boot/Makefile:112: arch/x86/boot/compressed/vmlinux] Error 2
make: *** [arch/x86/Makefile:296: bzImage] Error 2

apparently related to https://unix.stackexchange.com/questions/513921/how-to-get-around-r-x86-64-plt32-error-when-bisecting-the-linux-kernel

which suggests that the binutil version should be problematic, requiring a downgrade

docker run -it tuxml/tuxml2:dev bash
root@615760d4effd:/# ld -v
GNU ld (GNU Binutils for Debian) 2.31.1
root@615760d4effd:/# gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@615760d4effd:/# exit

 mathieuacher  localhost.localdomain  ../docker_management  debian_buster  docker run -it tuxml/tuxml3:dev bash
root@91c90126d3d6:/# gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@91c90126d3d6:/# ld -v
GNU ld (GNU Binutils for Debian) 2.31.1
root@91c90126d3d6:/# exit

 mathieuacher  localhost.localdomain  ../docker_management  debian_buster  docker run -it tuxml/tuxml:dev bash
root@a76a69acef0c:/# gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@a76a69acef0c:/# ld -v
GNU ld (GNU Binutils for Debian) 2.28
root@a76a69acef0c:/# ^C
root@a76a69acef0c:/# exit