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.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils