[Bug binutils/13256] AR + plugin fails with "no operation specified" error

2022-11-19 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=13256

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug binutils/13256] AR + plugin fails with "no operation specified" error

2021-12-19 Thread pinskia at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13256

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |2.33
 CC||pinskia at gcc dot gnu.org

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


[Bug binutils/13256] AR + plugin fails with "no operation specified" error

2019-07-24 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13256

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||nickc at redhat dot com
 Resolution|--- |FIXED

--- Comment #3 from Nick Clifton  ---
Hi Akos,

  OK, I have checked in a patch which should fix this problem.  At least
  for the case where "no operation specified" would have occurred.  There
  will still be an issue if an operation is specified, so for example:
  "ar --plugin  -c r libfoo.a foo.o" will not work because the "r" 
  option will be interpreted as a file name.  But I think that such a 
  situation is unlikely to occur in real world uses of ar.

Cheers
  Nick

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


[Bug binutils/13256] AR + plugin fails with "no operation specified" error

2019-07-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=13256

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2f86d5594071a16665711ae13da88af1cc904371

commit 2f86d5594071a16665711ae13da88af1cc904371
Author: Nick Clifton 
Date:   Wed Jul 24 12:17:37 2019 +0100

Fix ar so that it can correctly detect non-dash prefixed options that
appear after dash prefixed options.

PR 13256
* ar.c (decode_options): Restart option scanning if no operation
is detected and argument remain to be scanned.

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


[Bug binutils/13256] AR + plugin fails with "no operation specified" error

2019-07-24 Thread szotsaki at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=13256

Ákos Szőts  changed:

   What|Removed |Added

 CC||szotsaki at gmail dot com

--- Comment #1 from Ákos Szőts  ---
Still present in 2.32.

The reason might be that in ar.c:480 getopt_long doesn't recognise additional
options followed by a long option (--plugin xy) and exits from the loop.

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