Created attachment 10438 [details] stacktrace On master compiled today. # nm -V GNU nm (Gentoo git) 2.29.51.20170921 Command to reproduce: # nm -A -a -l -S -s --special-syms --synthetic --with-symbol-versions -D $FILE
Created attachment 10439 [details] testcase
The master branch has been updated by Alan Modra <amodra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d76029f92182c3682d8be2c833d45bc9a2068fe commit 0d76029f92182c3682d8be2c833d45bc9a2068fe Author: Alan Modra <amodra@gmail.com> Date: Sun Sep 24 14:35:33 2017 +0930 PR22167, NULL pointer dereference in scan_unit_for_symbols PR 22167 * dwarf2.c (scan_unit_for_symbols): Check u.blk->data is non-NULL.
Fixed