Created attachment 11588 [details] 0.debug.gz [ See also "brc#995136 - dwz assertion on -m for golang-produced binaries" at https://bugzilla.redhat.com/show_bug.cgi?id=995136 ] On master + https://build.opensuse.org/package/view_file/openSUSE:Factory/dwz/dwz-0.12-ignore-nobits.patch, we get this assert for 0.debug: ... $ cp 0.debug 1 $ cp 0.debug 2 $ dwz -m 3 1 2 dwz: dwz.c:1985: checksum_die: Assertion `((!op_multifile && !rd_multifile && !fi_multifile) || cu != die_cu (ref)) && (!op_multifile || cu->cu_chunk == die_cu (ref)->cu_chunk)' failed. Aborted (core dumped) ...
Created attachment 11589 [details] [PATCH] Handle DW_FORM_ref_addr reference that points to containing unit
posted patch: https://sourceware.org/ml/dwz/2019-q1/msg00086.html
https://sourceware.org/git/?p=dwz.git;a=commit;h=4a89e2c78e57b1b05ff71a8e32b2219e02d30425