bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25079] New: [2.33 Regression] ar: "ar s" stopped working


From: doko at debian dot org
Subject: [Bug binutils/25079] New: [2.33 Regression] ar: "ar s" stopped working
Date: Tue, 08 Oct 2019 09:59:05 +0000

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

            Bug ID: 25079
           Summary: [2.33 Regression] ar: "ar s" stopped working
           Product: binutils
           Version: 2.33
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: doko at debian dot org
  Target Milestone: ---

[forwarded from https://bugs.debian.org/941921]

--- BEGIN ---
#!/bin/sh

set -eux

tmp="$(mktemp -d)"
echo >"$tmp/test.c" "void foo() {}"
${CC:-cc} -c "$tmp/test.c" -o "$tmp/test.o"
${AR:-ar} r "$tmp/test.a" "$tmp/test.o"
${AR:-ar} s "$tmp/test.a"
--- END ---

This worked with binutils versions up to and including 2.32.
This fails with the 2.33 branch:

> + ar s /tmp/tmp.dE1aZKp2ui/test.a
> -s: invalid option -- '/'
> Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoOPsSTuvV] [--plugin 
> <name>] [member-name] [count] archive-file file...
>        ar -M [<mri-script]
[…]

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]