[Bug target/115937] duplicate .plt in module's elf header

2024-07-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/115937] duplicate .plt in module's elf header

2024-07-16 Thread ellery1016 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #8 from Ellery --- (In reply to Andrew Pinski from comment #7) > Can you attach the file ./arch/arm64/kernel/module.lds ? Thanks a lot. It turns out that my scripts/module-common.lds and arch/arm64/kernel/module.lds both define a pl

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #7 from Andrew Pinski --- Can you attach the file ./arch/arm64/kernel/module.lds ?

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread ellery1016 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #6 from Ellery --- (In reply to Andrew Pinski from comment #5) > So according to the linux kernel modules linker script, it should have > combined the .plt sections. > > So I am thinking this is a linux kernel issue with an older ve

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #5 from Andrew Pinski --- So according to the linux kernel modules linker script, it should have combined the .plt sections. So I am thinking this is a linux kernel issue with an older version of the kernel. Can you show exact comm

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread ellery1016 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #4 from Ellery --- (In reply to Andrew Pinski from comment #2) > >I changed my gcc from 7.3.0 to 10.3.1 and recompiled kernel code. > > > Did you change binutils version too? binutils was changed too, from ``` binutils-devel-2.3

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #3 from Andrew Pinski --- https://unix.stackexchange.com/questions/780176/sysfsduplicate-plt-under-sys-modules

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 --- Comment #2 from Andrew Pinski --- >I changed my gcc from 7.3.0 to 10.3.1 and recompiled kernel code. Did you change binutils version too?

[Bug target/115937] duplicate .plt in module's elf header

2024-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115937 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|