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

            Bug ID: 29142
           Summary: Segmentation fault in ar with empty archive and
                    libdeps specified
           Product: binutils
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: andrey.vihrov at gmail dot com
  Target Milestone: ---

Running the following command:

  ar qcl foo bar.a

produces a segmentation fault.

The value passed to "l" does not matter.

Adding at least one archive member after "bar.a" resolves the problem, and so
does removing "l foo" without adding any members. Only the combination of the
factors results in a segfault.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to