[Bug 1927192] Re: gdb ftbfs on armhf, testsuite timeouts

Simon Chopin 1927192 at bugs.launchpad.net
Tue Jun 27 10:51:47 UTC 2023


This has been re-broken in the glibc package when upstream changed the
name of the actual ld.so binary, thus escaping the stripping exception.

I've fixed this in the git tree in preparation of the mantic upload.
There's currently a Jammy SRU in -proposed, I won't supersede it for
this fix since there's a workaround (installing the -dbg package).
However, I'll make sure to include it in the next upload :).

** Also affects: gdb (Ubuntu Mantic)
   Importance: High
       Status: Fix Released

** Also affects: glibc (Ubuntu Mantic)
   Importance: Undecided
       Status: Fix Released

** Also affects: gdb (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: glibc (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: gdb (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: glibc (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: gdb (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: glibc (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: glibc (Ubuntu Mantic)
   Importance: Undecided => High

** Changed in: glibc (Ubuntu Mantic)
       Status: Fix Released => In Progress

** Changed in: glibc (Ubuntu Lunar)
       Status: New => Won't Fix

** Changed in: glibc (Ubuntu Kinetic)
       Status: New => Won't Fix

** Changed in: glibc (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: glibc (Ubuntu Jammy)
       Status: New => Triaged

** Changed in: gdb (Ubuntu Jammy)
       Status: New => Fix Released

** Changed in: gdb (Ubuntu Kinetic)
       Status: New => Fix Released

** Changed in: gdb (Ubuntu Lunar)
       Status: New => Fix Released

** Changed in: glibc (Ubuntu Jammy)
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1927192

Title:
  gdb ftbfs on armhf, testsuite timeouts

Status in gdb:
  Fix Released
Status in gdb package in Ubuntu:
  Fix Released
Status in glibc package in Ubuntu:
  In Progress
Status in gdb source package in Focal:
  Fix Released
Status in glibc source package in Focal:
  Fix Released
Status in gdb source package in Groovy:
  Won't Fix
Status in glibc source package in Groovy:
  Won't Fix
Status in gdb source package in Hirsute:
  Won't Fix
Status in glibc source package in Hirsute:
  Won't Fix
Status in gdb source package in Impish:
  Fix Released
Status in glibc source package in Impish:
  Fix Released
Status in gdb source package in Jammy:
  Fix Released
Status in glibc source package in Jammy:
  Triaged
Status in gdb source package in Kinetic:
  Fix Released
Status in glibc source package in Kinetic:
  Won't Fix
Status in gdb source package in Lunar:
  Fix Released
Status in glibc source package in Lunar:
  Won't Fix
Status in gdb source package in Mantic:
  Fix Released
Status in glibc source package in Mantic:
  In Progress

Bug description:
  [Impact]

  * Gdb can't set some breakpoints in ld.so on armhf when libc6-dbg is
  not installed.

  [Test Plan]

  * Check that ld.so is not stripped on armhf:
  $  /lib/*/ld-2.31.so
  libc6/lib/arm-linux-gnueabihf/ld-2.31.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=e20a43bff0c4d2aa7f508c93eadad973ea0c0af9, with debug_info, not stripped

  * Check that ld.so is stripped on amd64:

  $ file /lib/x86_64-linux-gnu/ld-2.31.so
  /lib/x86_64-linux-gnu/ld-2.31.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=ea85fcb25ee4c4c9e7b180924ab4a44257a9547a, stripped

  [Where problems could occur]

  * The fix is not stripping ld.so on armhf. Not stripping it comes with
  a notable increase in file size and it may be performance critical
  109K stripped vs 1.3M unstripped. Accidentally ld.so could be left
  unstripped on other architectures, but the test plan covers checking
  that, at least on amd64. Other than those not stripping ld.so should
  not cause any issue.

  [Original Bug Text]

  see https://launchpad.net/ubuntu/+source/gdb/10.2-0ubuntu3

  $ zcat buildlog_ubuntu-impish-armhf.gdb_10.2-0ubuntu3_BUILDING.txt.gz | fgrep '(timeout)'|wc -l
  10451

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdb/+bug/1927192/+subscriptions




More information about the foundations-bugs mailing list