bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28992] New: strip strips .gnu_debuglink


From: cristian.adam at gmail dot com
Subject: [Bug binutils/28992] New: strip strips .gnu_debuglink
Date: Wed, 23 Mar 2022 10:13:27 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28992

            Bug ID: 28992
           Summary: strip strips .gnu_debuglink
           Product: binutils
           Version: 2.37
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: cristian.adam at gmail dot com
  Target Milestone: ---

We noticed with a MinGW 11.2.0 package that binutils 2.37's strip removes the
".gnu_debuglink" section from binaries.

This was not the case with MinGW 8.1.0 and binutils 2.30.

The removal of the ".gnu_debuglink" section results in gdb not loading the
separate debug binaries.

See how Qt is affected at https://bugreports.qt.io/browse/QTBUG-101653 

The workaround is to use a script that adds "--keep-section=.gnu_debuglink".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]