[Bug driver/90902] New: collect2 does not propagate gcc -wrapper far enough to wrap ld

fche at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 17 20:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90902

            Bug ID: 90902
           Summary: collect2 does not propagate gcc -wrapper far enough to
                    wrap ld
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fche at redhat dot com
  Target Milestone: ---

We have a situation where we need to debug an ld run, which is invoked via
g++/collect2.  g++ -wrapper gdb,--args works well enough to spawn a gdb for the
collect2 process, but not well enough that the collect2 fork/exec of ld is also
wrapped.  Please consider adding this capability.


More information about the Gcc-bugs mailing list