Re: sparc64 most important tasks
Hi Adrian,
On 08/07/2018 11:53 AM, John Paul Adrian Glaubitz wrote:
In case anyone wonders, here's a list of top priority bugs on
sparc64 that need to be worked on:
[...]
grub2: FTBTS (no bug report yet)
https://buildd.debian.org/status/fetch.php?pkg=grub2&arch=sparc64&ver=2.02%2Bdfsg1-5&stamp=1533001924&raw=0
```
[...]
if test x0 = x1; then ../grub-macho2img boot.image boot.img; else
objcopy -O a.out-sunos-big --strip-unneeded -R .note -R .comment -R
.note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R
.note.gnu.gold-version -R .ARM.exidx boot.image boot.img; fi
if test x0 = x1; then ../grub-macho2img cdboot.image cdboot.img; else
objcopy -O a.out-sunos-big --strip-unneeded -R .note -R .comment -R
.note.gnu.build-id -R .MIPS.abiflags -R .reginfo -R .rel.dyn -R
.note.gnu.gold-version -R .ARM.exidx cdboot.image cdboot.img; fi
[...]
objcopy:boot.img: invalid bfd target
make[5]: *** [Makefile:42941: boot.img] Error 1
make[5]: *** Waiting for unfinished jobs....
objcopy:cdboot.img: invalid bfd target
[...]
```
I'm no expert in these matters, but as per e.g. [1] it looks like the
target "a.out-sunos-big" is not supported by the used `objcopy`.
[1]: https://github.com/yasuoka/openbsd-uefi/issues/1
...and indeed, the `objcopy` currently shipped with binutils v2.31.1 is
missing "a.out-sunos-big" in the supported targets list.
```
root@ultra-10:~# objcopy -V
GNU objcopy (GNU Binutils for Debian) 2.31.1
[...]
root@ultra-10:~# objcopy -h
[...]
objcopy: supported targets: elf64-sparc elf32-sparc elf64-little
elf64-big elf32-little elf32-big plugin srec symbolsrec verilog tekhex
binary ihex
Report bugs to <http://www.sourceware.org/bugzilla/>
```
...but an older version does include it:
```
root@ultra-10:~/binutils-2.30-22# objcopy -V
GNU objcopy (GNU Binutils for Debian) 2.30
[...]
root@ultra-10:~/binutils-2.30-22# objcopy -h
[...]
objcopy: supported targets: elf64-sparc elf32-sparc a.out-sparc-linux
a.out-sunos-big elf64-little elf64-big elf32-little elf32-big plugin
srec symbolsrec verilog tekhex binary ihex
Report bugs to <http://www.sourceware.org/bugzilla/>
```
Cheers,
Frank
Reply to: