-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
v8.0, v7.0
-
Programmability 2024-08-19, Programmability 2024-09-02
For some reason the versions of readelf in our v4 toolchain and in ubuntu 22.04 take a very long time (tens of seconds to over a minute) to open our statically linked binaries (at least on arm, untested on x86). This issue does not reproduce with the latest version of readelf from binutils 2.43 or with llvm-readelf in our v4 toolchain, both of which run in milliseconds. This code in our gdb scripts tries to invoke readelf to determine which version of gcc was used to compile the binary. This adds significant time to gdb startup when launched from within a checkout. We should instead try to run the llvm-readelf from the v4 toolchain.