https://sourceware.org/bugzilla/show_bug.cgi?id=23534
--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
One of you who can manage to reproduce this bug will need to spend a little
time using gdb to find out what is going on.  If I had a reproducible test
case, I'd
a) Run the failing link with "-save-temps -v -Wl,-v" added to the command line.
b) Run the ld invocation so found to check that the error still occurs.
c) Run that under gdb, putting a breakpoint on the assertion.
d) Find the address of entry->the_bfd->link.next when the assertion triggers.
e) Put a watchpoint on writes to that address, and run it again.

This should reveal the wild write to memory that destroys the linked list. 
Once that is known it should be easy to fix.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to