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: freebsd-b...@freebsd.org
          Reporter: ma...@freebsd.org
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

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.
_______________________________________________
freebsd-amd64@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "freebsd-amd64-unsubscr...@freebsd.org"

Reply via email to