Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R_X86_64_PLT32 error on gcc 8 and defconfig #27

Open
FAMILIAR-project opened this issue Dec 16, 2020 · 0 comments
Open

R_X86_64_PLT32 error on gcc 8 and defconfig #27

FAMILIAR-project opened this issue Dec 16, 2020 · 0 comments

Comments

@FAMILIAR-project
Copy link
Collaborator

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
TuxML roadmap 2021
experiments with compilers
Development

No branches or pull requests

1 participant