[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-30 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #8 from Trampas Stern --- I also have the same bug in binutils: https://sourceware.org/bugzilla/show_bug.cgi?id=32506 I do not fully understand the internals what is happening but from and external perspective it appears to me that

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #7 from Richard Biener --- I'll note that while -ffunction-sections produces different .text sections for different functions but there's still only a single .debug_info section and the behavior when GCing sections might end up havin

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-27 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #6 from Trampas Stern --- I have requested access to bugzilla for the binutils and can create a bug report there. Thanks Trampas On Fri, Dec 27, 2024 at 3:55 PM pinskia at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-27 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #5 from Trampas Stern --- The project in attachment is a makefile project. The readme.md has instructions on how to build in windows, by installing xpack utility. If you build in linux then just edit the path to the arm-none-eabi

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-27 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #4 from Trampas Stern --- Created attachment 59991 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59991&action=edit sample makefile project demonstrating the issue

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #3 from Andrew Pinski --- GCC does not include objdump/assembler/linker, that is a seperate project called binutils (https://sourceware.org/binutils/) which has its own versioning and release scheme. GCC also does not include the li

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

2024-12-27 Thread trampas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118221 --- Comment #2 from Trampas Stern --- Yes! I typically use xpack to install cross compiler with binutils. I have verified that this issue does not exist before GCC 11. I have tested that it exists with the latest version of arm-none-eabi 14

[Bug debug/118221] gdb and objdump referencing functions that do no exist in binary

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