On Samstag, 25. Januar 2025 20:07:21 CET Matthias Klose wrote: [...] > > [...] > > objcopy -I ihex -O binary arch/x86/efi/buildid.ihex arch/x86/efi/buildid.o > > objcopy: arch/x86/efi/buildid.ihex: invalid operation > > make[6]: *** [arch/x86/efi/Makefile:7: arch/x86/efi/buildid.o] Error 1 > > [...] > > > > I verified that when downgrading binutils to the version in testing > > (2.43.50.20250108-1) the objcopy command succeeds without any errors. > > > > The arch/x86/efi/buildid.ihex file in my test is very small, I'll attach > > it > > below for easy reproduction of the bug. > > > > # head -v -n -0 arch/x86/efi/buildid.ihex > > ==> arch/x86/efi/buildid.ihex <== > > > > :10000000648600004D8DAD57140000000000000014 > > :0400100000000000EC > > :00000001FF > > that example is missing the second input file. Please could you just > attach the two unmodified input files? > > plus what is the last binutils version that you checked building with? > > thanks, Matthias
Hi Matthias, I don't understand what second input file you are referring to. On a working system (bookworm in this case), I only have buildid.ihex as an input file and buildid.o is the output file: $ ls -la total 24 drwxr-xr-x 2 maxi maxi 4096 25. Jan 20:51 . drwxrwxrwt 24 root root 16384 25. Jan 20:55 .. -rw-r--r-- 1 maxi maxi 76 25. Jan 20:17 buildid.ihex $ objcopy -I ihex -O binary buildid.ihex buildid.o $ echo $? 0 $ ls -la total 28 drwxr-xr-x 2 maxi maxi 4096 25. Jan 20:55 . drwxrwxrwt 24 root root 16384 25. Jan 20:55 .. -rw-r--r-- 1 maxi maxi 76 25. Jan 20:17 buildid.ihex -rw-r--r-- 1 maxi maxi 20 25. Jan 20:55 buildid.o In current unstable: $ dpkg -l binutils-x86-64-linux-gnu Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=========================-==================-============-================================================= ii binutils-x86-64-linux-gnu 2.43.90.20250122-2 amd64 GNU binary utilities, for x86-64-linux-gnu target $ objcopy -I ihex -O binary buildid.ihex buildid.o objcopy: buildid.ihex: invalid operation $ echo $? 1 Downgrading to binutils from testing: $ dpkg -l binutils-x86-64-linux-gnu Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=========================-==================-============-================================================= ii binutils-x86-64-linux-gnu 2.43.50.20250108-1 amd64 GNU binary utilities, for x86-64-linux-gnu target $ objcopy -I ihex -O binary buildid.ihex buildid.o $ echo $? 0 I also attached the buildid.ihex file to this mail. Thanks, Maxi
:10000000648600004D8DAD57140000000000000014 :0400100000000000EC :00000001FF
signature.asc
Description: This is a digitally signed message part.