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

            Bug ID: 20767
           Summary: empty archive input causes "internal error in target,
                    at ../../gold/parameters.h:105"
           Product: binutils
           Version: 2.28 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: npiggin at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---

echo "EXTERN(test)" > test.lds
ar rcsD test.o
ld.gold -r -o test2.o -T test.lds test.o

This causes ld.gold: internal error in target, at ../../gold/parameters.h:105


ld.bfd succeeds. The Linux kernel 4.9 build is using this pattern now. It would
be good to be compatible with ld.bfd.

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