[Bug 1927192] Re: gdb ftbfs on armhf, testsuite timeouts
Balint Reczey
1927192 at bugs.launchpad.net
Wed Jun 2 08:02:55 UTC 2021
@doko Not stripping ld.so on Focal came with an increase of ld.so from
110K to 1.3M. I don't think this is an acceptable increase when pulling
in libc6-dbg also fixes the problem.
See the test package here: https://launchpad.net/~ci-train-ppa-
service/+archive/ubuntu/4570
** Description changed:
[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
- slight increase in file size but this should not be performance
- critical. 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.
-
+ 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
** Changed in: glibc (Ubuntu Hirsute)
Status: New => Opinion
** Changed in: glibc (Ubuntu Groovy)
Status: New => Opinion
** Changed in: glibc (Ubuntu Focal)
Status: New => Opinion
--
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:
Incomplete
Status in gdb package in Ubuntu:
Fix Released
Status in glibc package in Ubuntu:
Fix Committed
Status in gdb source package in Focal:
New
Status in glibc source package in Focal:
Opinion
Status in gdb source package in Groovy:
New
Status in glibc source package in Groovy:
Opinion
Status in gdb source package in Hirsute:
New
Status in glibc source package in Hirsute:
Opinion
Status in gdb source package in Impish:
Fix Released
Status in glibc source package in Impish:
Fix Committed
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