gdb is realy slow starting debugging.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb |
Unknown
|
Unknown
|
|||
gdb (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On binaries with a lot of symbols a massive performance degradation has happened between 14.04 and 14.10
I have bisected the gdb performance degradation to this gdb commit
commit 5840bf271c87c3f
Author: H.J. Lu <email address hidden>
Date: Wed Jul 16 17:16:24 2014
Properly match PLT entry against .got.plt relocation
Relocations against .got.plt section may not be in the same order as
entries in PLT section. It is incorrect to assume that the Ith reloction
index against .got.plt section always maps to the (I + 1)th entry in PLT
section. This patch matches the .got.plt relocation offset/index in PLT
entry against the index in .got.plt relocation table. It only checks
R_*_JUMP_SLOT and R_*_IRELATIVE relocations. It ignores R_*_TLS_DESC
and R_*_TLSDESC relocations since they have different PLT entries.
bfd/
PR binutils/17154
* elf32-i386.c (elf_i386_
and R_*_IRELATIVE relocation offset with PLT entry.
* elf64-x86-64.c (elf_x86_
ld/testsuite/
PR binutils/17154
* ld-ifunc/
* ld-ifunc/
* ld-ifunc/
* ld-x86-
* ld-x86-
* ld-x86-64/mpx.exp: Run bnd-ifunc-2.
* ld-x86-
* ld-x86-
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gdb 7.8-1ubuntu4
ProcVersionSign
Uname: Linux 3.16.0-
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Nov 3 23:27:53 2014
InstallationDate: Installed on 2014-07-11 (115 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140710)
SourcePackage: gdb
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in gdb (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
is there a standalone test case for this issue? Also is this issue reported upstream? I can't see any Ubuntu specific patches which would affect this.