Debian Bug report logs - #968945
binutils: strip produces UNDEFINED instruction on armhf

version graph

Package: binutils; Maintainer for binutils is Matthias Klose <[email protected]>; Source for binutils is src:binutils (PTS, buildd, popcon).

Reported by: Camm Maguire <[email protected]>

Date: Mon, 24 Aug 2020 12:39:02 UTC

Severity: important

Found in version binutils/2.35-2

Reply or subscribe to this bug.

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


Report forwarded to [email protected], Matthias Klose <[email protected]>:
Bug#968945; Package binutils. (Mon, 24 Aug 2020 12:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Camm Maguire <[email protected]>:
New Bug report received and forwarded. Copy sent to Matthias Klose <[email protected]>. (Mon, 24 Aug 2020 12:39:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Camm Maguire <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: binutils: strip produces UNDEFINED instruction on armhf
Date: Mon, 24 Aug 2020 08:24:55 -0400
Package: binutils
Version: 2.35-2
Severity: important

Dear Maintainer,

strip -s on saved_gcl in package gcl transforms the following executable entry in .plt:

00020d9c <sigaction@plt>:
   20d9c:	4778      	bx	pc
   20d9e:	e7fd      	b.n	20d9c <sigaction@plt>
   20da0:	e28fc601 	add	ip, pc, #1048576	; 0x100000
   20da4:	e28ccab0 	add	ip, ip, #176, 20	; 0xb0000
   20da8:	e5bcf938 	ldr	pc, [ip, #2360]!	; 0x938

to the following entry which produces SIGILL (undefined instruction) at runtime:

00020d9c <sigaction@plt>:
   20d9c:	e7fd4778 			; <UNDEFINED> instruction: 0xe7fd4778
   20da0:	e28fc601 	add	ip, pc, #1048576	; 0x100000
   20da4:	e28ccab0 	add	ip, ip, #176, 20	; 0xb0000
   20da8:	e5bcf938 	ldr	pc, [ip, #2360]!	; 0x938

It is unclear how this is effected, as the contents of 0x20d9c through 0x20da8 are unmodified.

Thanks for your work on Debian!

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 4.19.0-10-armmp-lpae (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages binutils depends on:
ii  binutils-arm-linux-gnueabihf  2.35-2
ii  binutils-common               2.35-2
ii  libbinutils                   2.35-2

binutils recommends no packages.

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

-- no debconf information

-- 
Camm Maguire			     		    [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



Information forwarded to [email protected]:
Bug#968945; Package binutils. (Mon, 21 Sep 2020 10:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
Extra info received and forwarded to list. (Mon, 21 Sep 2020 10:21:05 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected], Camm Maguire <[email protected]>
Subject: Re: binutils: strip produces UNDEFINED instruction on armhf
Date: Mon, 21 Sep 2020 12:09:44 +0200
Camm, please could you report that upstream, together with a reproducer and/or
binary files?

Matthias



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:20:53 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.