https://sourceware.org/bugzilla/show_bug.cgi?id=23061
Sandro Mani <manisandro at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manisandro at gmail dot com --- Comment #5 from Sandro Mani <manisandro at gmail dot com> --- I suppose a similar fix/sanity check is also needed for a->u.auxent.x_sym.x_tagndx.l: running mingw-objcopy --only-keep-debug LLVM.dll LLVM.dll.debug results in: Program received signal SIGSEGV, Segmentation fault. 0x000000000044ab5f in coff_mangle_symbols (bfd_ptr=bfd_ptr@entry=0x54c760) at ../../bfd/coffgen.c:842 842 a->u.auxent.x_sym.x_tagndx.l = (gdb) bt #0 0x000000000044ab5f in coff_mangle_symbols (bfd_ptr=bfd_ptr@entry=0x54c760) at ../../bfd/coffgen.c:842 #1 0x0000000000459ed7 in coff_write_object_contents (abfd=0x54c760) at ../../bfd/coffcode.h:4231 #2 0x00000000004310fe in bfd_close (abfd=0x54c760) at ../../bfd/opncls.c:731 #3 0x0000000000409fa6 in copy_file (input_filename=input_filename@entry=0x7fffffffe0b4 "LLVM.dll", output_filename=output_filename@entry=0x7fffffffe0bd "LLVM.dll.debug", input_target=input_target@entry=0x0, output_target=<optimized out>, output_target@entry=0x0, input_arch=input_arch@entry=0x0) at ../../binutils/objcopy.c:3530 #4 0x0000000000404853 in copy_main (argv=<optimized out>, argc=<optimized out>) at ../../binutils/objcopy.c:5478 #5 main (argc=<optimized out>, argv=<optimized out>) at ../../binutils/objcopy.c:5582 -- 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