This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
objcopy failure with /dev/null
- From: JM <jmoran-binutils at cyconix dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Wed, 20 Apr 2011 16:07:16 +0100
- Subject: objcopy failure with /dev/null
I'm running a kernel build on an old system, with objcopy 2.11.93. One
of the make commands is:
objcopy -I binary -O binary --gap-fill 0xff --pad-to 0x200000
/dev/null mtd0.erased
This issues a warning (unknown architecture), but succeeds and creates
the output file.
I need to move the build to a slightly newer system, with objcopy
2.15.92. The command exits with status 1, doesn't produce an output
file, and issues another warning (objcopy: Warning: '/dev/null' is not
an ordinary file).
Any ideas on how I can fix/workaround this?
Thanks -
John