https://sourceware.org/bugzilla/show_bug.cgi?id=20520

            Bug ID: 20520
           Summary: ld terminated with signal 11 [Segmentation fault]
           Product: binutils
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

Created attachment 9478
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9478&action=edit
object file

I get

/home/abuild/rguenther/obj-early-lto-debug-g/gcc/testsuite/g++/../../xg++ -B
/home/abuild/rguenther/obj-early-lto-debug-g/gcc/testsuite/g++/../../ -B
/home/abuild/rguenther/obj-early-lto-debug-g/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B /home/abuild/rguenther/obj-early-lto-debug-g/x86_64-pc-linux-gnu/./libitm/
-mtune=generic -march=x86-64 -r -nostdlib -o /tmp/ccdeKWVsdebugobj
/tmp/cc5vbUMkdebugobjtem
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.

on arguably invalid input (a GROUP section referencing SHT_NULL sections).

I expect a diagnostic instead.  Object file attached.

-- 
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