Dear Maintainer,
dwz(1) does not report actual errors in writing output binary.
For example,
$ gcc -g -x c - <<< 'int main(){return 0;}'
$ dwz -o /dev/full
dwz: a.out: elf_update failed
/dev/full is a special device that always produces ENOSPC on writing but dwz(1)
does not reveal the error unambiguously. I assume the tool should prints the
error messages as reported by the elf_errmsg() and the perror() functions.
https://sourceware.org/git/?p=elfutils.git&f=libelf/elf_error.c&hb=elfutils-0.189#l340
https://en.cppreference.com/w/c/io/perror
And please forward this bug to upstream authors if appropriate. Their bug
tracker requires an account but registration is closed.