https://sourceware.org/bugzilla/show_bug.cgi?id=22887
Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-02-28
                 CC|                            |amodra at gmail dot com
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
     Ever confirmed|0                           |1

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
It would be useful to know exactly how you configured binutils.  My 32-bit
build with --enable-targets=all gives
binutils/objcopy:/home/alan/src/tmp/pr22887.bin: file format is ambiguous
binutils/objcopy: Matching formats: a.out-i386 a.out-i386-bsd
a.out-i386-freebsd a.out-i386-lynx a.out-m88k-mach3 a.out-mips-little
a.out-pc532-mach a.out-sparc-linux a.out-vax-bsd

So, using -F
binutils/objcopy -F a.out-i386 ~/src/tmp/pr22887.bin xxx
gives
binutils/objcopy:/home/alan/src/tmp/pr22887.bin: No such file or directory
which is a nonsense error, but not a segfault.

I'll be committing a patch to fix the nonsense error soon.

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