This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]