Debian Bug report logs - #965247
ld: DWARF error: could not find variable specification at offset

version graph

Package: binutils; Maintainer for binutils is Matthias Klose <doko@debian.org>; Source for binutils is src:binutils (PTS, buildd, popcon).

Reported by: Norbert Preining <norbert@preining.info>

Date: Sat, 18 Jul 2020 05:51:02 UTC

Severity: serious

Found in version binutils/2.34.90.20200706-1

Fixed in version binutils/2.35.1-2

Done: Gianfranco Costamagna <locutusofborg@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, norbert@preining.info, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Sat, 18 Jul 2020 05:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Norbert Preining <norbert@preining.info>:
New Bug report received and forwarded. Copy sent to norbert@preining.info, Matthias Klose <doko@debian.org>. (Sat, 18 Jul 2020 05:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <norbert@preining.info>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ld: DWARF error: could not find variable specification at offset
Date: Sat, 18 Jul 2020 14:46:44 +0900
Package: binutils
Version: 2.34.90.20200706-1
Severity: serious
Justification: breaks unrelated packages
X-Debbugs-Cc: norbert@preining.info


Hi,

bug see $subject, since latest upgrade.

I have followed the advice with the collect2 to ld replacement, and
still it fails:

$ ld -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccUuyxWz.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o ../../../bin/richtextcomposercontrolertest /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. --enable-new-dtags -z relro -z now CMakeFiles/richtextcomposercontrolertest.dir/richtextcomposercontrolertest_autogen/mocs_compilation.cpp.o CMakeFiles/richtextcomposercontrolertest.dir/richtextcomposercontrolertest.cpp.o -rpath /home/norbert/Development/OSC/debian-kde/apps/kpimtextedit/kpimtextedit-20.04.3/obj-x86_64-linux-gnu/bin /usr/lib/x86_64-linux-gnu/libQt5Test.so.5.14.2 ../../../bin/libKF5PimTextEdit.so.5.14.3.abi2 /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5IconThemes.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5Codecs.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5Auth.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5AuthCore.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5.72.0 /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5.72.0 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.14.2 /usr/lib/x86_64-linux-gnu/libKF5ConfigGui.so.5.72.0 /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5.14.2 /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5.72.0 /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.14.2 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.14.2 -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
.... lots of the DWARF errors ....

These are a **lot** of .o files and other libs, are you sure I should
send them all?

Of course I will do it if requested.

All the best

Norbert

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-rc5 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages binutils depends on:
ii  binutils-common            2.34.90.20200706-1
ii  binutils-x86-64-linux-gnu  2.34.90.20200706-1
ii  libbinutils                2.34.90.20200706-1

binutils recommends no packages.

Versions of packages binutils suggests:
pn  binutils-doc  <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Fri, 24 Jul 2020 09:09:07 GMT) (full text, mbox, link).


Acknowledgement sent to Michele Calgaro <michele.calgaro@yahoo.it>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Fri, 24 Jul 2020 09:09:07 GMT) (full text, mbox, link).


Message #10 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Michele Calgaro <michele.calgaro@yahoo.it>
To: 965247@bugs.debian.org
Subject: ld: DWARF error: could not find variable specification at offset
Date: Fri, 24 Jul 2020 18:05:40 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Norbert,
I had a similar issue with binutils 2.34.90.
Turned out I had to include a file with "C" linking

extern "C"
{
   #include "include_filename.h"
}

This solved the DWARF errors.

Hope this help.
Cheers
  Michele
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEjhl1z5vbYB3YbFTiKnW3yore1c8FAl8apGAACgkQKnW3yore
1c+GOxAAwaZb4vCtQTGs0QvtAi2fz3GzWthFCo2WPXyLh0Atrip3Niwi0DvD3BJQ
7OtHc2ZuFMEqx+mpO/zJ+ryBoaHjxAU2SNJwUFTf3+1ug630qfMCIoqFgJNMusER
wrI2YueGrq3bc59FEV6Sv0CV108wwpee206oNUn4ZbrsBgaHIHHS1Xrq0lKSBDgH
wVHRLqDci8/wNjvya0gS1y7PwOa8DqJXDdu/HMaVuUq4noHnCTBQ3ha7mJlHxCKZ
tg3BKg/IB5eDS1Pd6N4+74eOOnfTbCrH0IX/KbGI27xbZ0Oi6UaMN0Ct5Q+wQg9f
44cq6ki79RcfRAd817B8U68pStj2fRmmU4p2JUeQCqJte36vWpgDueP/w3a52SR6
idRocEonhC100LgEzfAB9pt+WyXt+ntEuW7mscpyAUxdEyU8qfMPulUDqr9z3wcn
YrA0BYYE6foW/yLJFJ6EjeEFHQbQATOjf5DHFYgBn/aTclrqX6mi236fU6S4tHxm
CrGMdOiq5mT5KVu3Go+kQQD76NcrxFWTzJ5PtyC0jzbiqfDEwkplGcp08EyUgI/2
W79ug20f1eKhTKUI75bG85sJtpQYiP13KLwuoGD4Krd8QsTQvhz+mewI/skbrEBm
6get4LCavOtEGOF/jyfVeUpYcQhhGl6a+M+RF/qcXKRRrmDGtVs=
=GQ3S
-----END PGP SIGNATURE-----



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Wed, 26 Aug 2020 20:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Henrique <samueloph@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Wed, 26 Aug 2020 20:48:03 GMT) (full text, mbox, link).


Message #15 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Samuel Henrique <samueloph@debian.org>
To: "Richard W.M. Jones" <rjones@redhat.com>, 969009@bugs.debian.org, 965372@bugs.debian.org, 965247@bugs.debian.org, 965186@bugs.debian.org
Cc: Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
Subject: Re: Bug#969009: transition: sleuthkit
Date: Wed, 26 Aug 2020 21:44:12 +0100
Hello Richard,

> The libguestfs FTBFS thing is caused by a bug in binutils
> (not OCaml or libguestfs).  See:
>
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3YRZ5TJK7PTYDYHUDOYC5HFWKZPA7KIJ/
> https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=4d8ee860737005517be588f4771c358593fa421c

Thank you very much for providing the upstream link to the fix, we
currently have quite a few bugs for this issue against binutils, I'm
forwarding this email to them.

Regards,

-- 
Samuel Henrique <samueloph>



Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Wed, 02 Sep 2020 16:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Frank Mehnert <frank.mehnert@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Wed, 02 Sep 2020 16:15:03 GMT) (full text, mbox, link).


Message #20 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Frank Mehnert <frank.mehnert@gmail.com>
To: 965247@bugs.debian.org
Subject: Re: Bug#969009: transition: sleuthkit
Date: Wed, 02 Sep 2020 18:12:16 +0200
On Wed, 26 Aug 2020 21:44:12 +0100 Samuel Henrique <samueloph@debian.org> 
wrote:
> Hello Richard,
>
> [...]
>
> Thank you very much for providing the upstream link to the fix, we
> currently have quite a few bugs for this issue against binutils, I'm
> forwarding this email to them.

I rather think that this problem is related to

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

Please add this fix to a maintenance package.

Thanks!

Frank





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Sun, 13 Sep 2020 14:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Frank Mehnert <frank.mehnert@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Sun, 13 Sep 2020 14:21:03 GMT) (full text, mbox, link).


Message #25 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Frank Mehnert <frank.mehnert@gmail.com>
To: 965247@bugs.debian.org
Subject: Re: Bug#969009: transition: sleuthkit
Date: Sun, 13 Sep 2020 16:19:38 +0200
On Wed, 02 Sep 2020 18:12:16 +0200 Frank Mehnert <frank.mehnert@gmail.com> 
wrote:
> On Wed, 26 Aug 2020 21:44:12 +0100 Samuel Henrique <samueloph@debian.org> 
> wrote:
> > Hello Richard,
> >
> > [...]
> >
> > Thank you very much for providing the upstream link to the fix, we
> > currently have quite a few bugs for this issue against binutils, I'm
> > forwarding this email to them.
> 
> I rather think that this problem is related to
> 
>   https://sourceware.org/bugzilla/show_bug.cgi?id=26520
> 
> Please add this fix to a maintenance package.

&references=<2361402.LO3WtpJ7ri@noys4>

Still not fixed in binutils 2.35-3.

please consider cherry-picking the mentioned patch for the next binutils
maintenance package.

Thanks!

Frank





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Thu, 24 Sep 2020 13:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Frank Mehnert <frank.mehnert@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Thu, 24 Sep 2020 13:09:04 GMT) (full text, mbox, link).


Message #30 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Frank Mehnert <frank.mehnert@gmail.com>
To: 965247@bugs.debian.org
Subject: Re: Bug#969009: transition: sleuthkit
Date: Thu, 24 Sep 2020 15:05:23 +0200
On Sun, 13 Sep 2020 16:19:38 +0200 Frank Mehnert <frank.mehnert@gmail.com> 
wrote:
> On Wed, 02 Sep 2020 18:12:16 +0200 Frank Mehnert <frank.mehnert@gmail.com> 
> wrote:
> > On Wed, 26 Aug 2020 21:44:12 +0100 Samuel Henrique <samueloph@debian.org> 
> > wrote:
> > > Hello Richard,
> > >
> > > [...]
> > >
> > > Thank you very much for providing the upstream link to the fix, we
> > > currently have quite a few bugs for this issue against binutils, I'm
> > > forwarding this email to them.
> > 
> > I rather think that this problem is related to
> > 
> >   https://sourceware.org/bugzilla/show_bug.cgi?id=26520
> > 
> > Please add this fix to a maintenance package.
> 
> &references=<2361402.LO3WtpJ7ri@noys4>
> 
> Still not fixed in binutils 2.35-3.
> 
> please consider cherry-picking the mentioned patch for the next binutils
> maintenance package.

Upstream just backported this fix to the binutils-2_35-branch.

Frank





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Tue, 13 Oct 2020 20:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Frank Mehnert <frank.mehnert@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Tue, 13 Oct 2020 20:42:05 GMT) (full text, mbox, link).


Message #35 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Frank Mehnert <frank.mehnert@gmail.com>
To: 965247@bugs.debian.org
Subject: Re: Bug#969009: transition: sleuthkit
Date: Tue, 13 Oct 2020 22:39:30 +0200
This bug can be closed because package version 2.35.1-2 contains
the corresponding fix from the 2.35 branch.

Thanks!

Frank





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#965247; Package binutils. (Thu, 29 Oct 2020 10:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Gianfranco Costamagna <locutusofborg@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Thu, 29 Oct 2020 10:21:03 GMT) (full text, mbox, link).


Message #40 received at 965247@bugs.debian.org (full text, mbox, reply):

From: Gianfranco Costamagna <locutusofborg@debian.org>
To: 965247@bugs.debian.org
Subject: Re: Bug#969009: transition: sleuthkit
Date: Thu, 29 Oct 2020 11:18:27 +0100
control: fixed -1 2.35.1-2
control: close -1

thanks!

On Tue, 13 Oct 2020 22:39:30 +0200 Frank Mehnert <frank.mehnert@gmail.com> wrote:
> This bug can be closed because package version 2.35.1-2 contains
> the corresponding fix from the 2.35 branch.
> 
> Thanks!
> 
> Frank
> 
> 
> 
> 



Marked as fixed in versions binutils/2.35.1-2. Request was from Gianfranco Costamagna <locutusofborg@debian.org> to 965247-submit@bugs.debian.org. (Thu, 29 Oct 2020 10:21:03 GMT) (full text, mbox, link).


Marked Bug as done Request was from Gianfranco Costamagna <locutusofborg@debian.org> to 965247-submit@bugs.debian.org. (Thu, 29 Oct 2020 10:21:04 GMT) (full text, mbox, link).


Notification sent to Norbert Preining <norbert@preining.info>:
Bug acknowledged by developer. (Thu, 29 Oct 2020 10:21:05 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Nov 2020 07:27:29 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:17:57 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.