https://sourceware.org/bugzilla/show_bug.cgi?id=22802
Bug ID: 22802 Summary: massive performance regression for `readelf -n` Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: robert at ocallahan dot org Target Milestone: --- `readelf -n /usr/lib/debug/usr/lib64/libwebkit2gtk-4.0.so.37.13.10.debug` takes 0.006s in 2.29-6.fc27. It takes 58s in 2.29.51 (built from gdb-8.1-release). Transcript: [roc@glory code]$ /usr/bin/readelf --version GNU readelf version 2.29-6.fc27 Copyright (C) 2017 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. [roc@glory code]$ time /usr/bin/readelf -n /usr/lib/debug/usr/lib64/libwebkit2gtk-4.0.so.37.13.10.debug Displaying notes found in: .note.gnu.build-id Owner Data size Description GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: 0607995fe748bcac5e22ed63835154bcf58173cb Displaying notes found in: .note.gnu.gold-version Owner Data size Description GNU 0x00000009 NT_GNU_GOLD_VERSION (gold version) Version: gold 1.11 real 0m0.006s user 0m0.001s sys 0m0.001s [roc@glory binutils-gdb]$ readelf --version GNU readelf (GNU Binutils) 2.29.51 Copyright (C) 2018 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. [roc@glory binutils-gdb]$ time readelf -n /usr/lib/debug/usr/lib64/libwebkit2gtk-4.0.so.37.13.10.debug Displaying notes found in: .note.gnu.build-id Owner Data size Description GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID bitstring) Build ID: 0607995fe748bcac5e22ed63835154bcf58173cb Displaying notes found in: .note.gnu.gold-version Owner Data size Description GNU 0x00000009 NT_GNU_GOLD_VERSION (gold version) Version: gold 1.11 real 0m57.550s user 0m54.845s sys 0m1.227s -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils