[Bug driver/118803] cannot pass parameter `--save-temps` to `collect2`

2025-02-09 Thread lzsiga at freemail dot c3.hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118803 --- Comment #5 from Lorinczy Zsigmond --- Thank you. Does this also explain why `-Wl,--save-temps` cannot be used?

[Bug driver/118803] cannot pass parameter `--save-temps` to `collect2`

2025-02-09 Thread lzsiga at freemail dot c3.hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118803 --- Comment #3 from Lorinczy Zsigmond --- > On elf targets including Linux, collect2 does not produce any `*cdtor.c` > files. Instead there is an elf section which gets used. Well `strace(1)` shows the creation of the *cdtor.c file, but it is

[Bug c/118803] New: cannot pass parameter `--save-temps` to `collect2`

2025-02-08 Thread lzsiga at freemail dot c3.hu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118803 Bug ID: 118803 Summary: cannot pass parameter `--save-temps` to `collect2` Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon