https://sourceware.org/bugzilla/show_bug.cgi?id=28933
--- Comment #3 from Alan Modra <amodra at gmail dot com> --- Created attachment 14023 --> https://sourceware.org/bugzilla/attachment.cgi?id=14023&action=edit testcase object file I built binutils on an Ubuntu 21.04 amd ryzen 9 box, configured with CFLAGS="-g -O2 -fsanitize=address,undefined" \ CXXFLAGS="-g -O2 -fsanitize=address,undefined" \ ~/src/binutils-gdb/configure --build=x86_64-linux \ --disable-nls \ --disable-gdb --disable-gdbserver --disable-gdbsupport --disable-gprofng \ --disable-libbacktrace --disable-libdecnumber --disable-readline --disable-sim \ --target=powerpc-linux I have a full cross toolchain installed, with gcc (12.0.1 20220214). You should be able to reproduce just with current binutils and the attached object file. export ASAN_OPTIONS=detect_leaks=0 ./ld-new -z norelro -L/home/alan/src/binutils-gdb/ld/testsuite/ld-ctf -shared -o tmpdir/dump tmpdir/diag-cttname-invalid.o -- You are receiving this mail because: You are on the CC list for the bug.