Control: reassign -1 binutils

On Fri, 15 May 2020 14:18:59 +0200 Matthias Klose <d...@debian.org> wrote:
> Package: debhelper
> Version: 13
> Severity: minor
> 
> Building gcc-snapshot you see
> 
> dh_strip -pgcc-snapshot -Xdebug -X/cgo -Xbin/go -Xbin/gofmt \
> 
> objcopy: debian/gcc-snapshot/usr/lib/gcc-snapshot/bin/stPxkJ3q: debuglink
> section already exists
> [...]
> 
> It would be nice to emit the name of the original files as well, making
> debugging issues a bit easier. So maybe buffer objcopy's output and in case 
> of a
> message, print the original file name.
> 
> 
> 

Hi,

That "gibberish" name is an internal name used in objcopy and it makes
more sense to fix this bug at its roots (which would be in objcopy
itself), reassigning accordingly.

Reproducer:

"""
$ cd /tmp
$ cp /bin/ls .
$ objcopy --add-gnu-debuglink /bin/test ls
objcopy: stnJQXz3: debuglink section already exists
"""

The "stnJQXz3" name is indeed not very helpful and should have said "ls"
(or "/tmp/ls" in this case)

~Niels

Reply via email to