https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212539
Bug ID: 212539
Summary: readelf -w consumes a lot of memory with GCC-compiled
kernels
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
CC: [email protected]
I tried compiling a kernel with both gcc48 and gcc6 and hit the same problem
with both. Running readelf -w against kernel.full causes it to emit a bunch of
errors:
$ readelf -w kernel.full >/dev/null
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
readelf: dwarf_loclist_form_expr_b: Invalid location expression
[_dwarf_loc_fill_locdesc(632)]
and it seemingly runs forever while consuming ever-increasing amounts of
memory:
2558 markj 103 0 3615M 3591M CPU0 0 2:07 97.33% readelf -w
kernel.full
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"