Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-88815

binutils: Add support for RISC-V EFI objects

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • rhel-10.1
    • None
    • binutils
    • None
    • binutils-2.41-56.el10
    • None
    • 1
    • rhel-pt-gcc
    • ssg_platform_tools
    • 12
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT GCC 2025 S06
    • Requested
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Using current binutils, attempting to build shim eventually results in the following failure:

      objcopy -D -j .text -j .sdata -j .data -j .data.ident \
              -j .dynamic -j .rodata -j .rel* \
              -j .rela* -j .dyn -j .reloc -j .eh_frame \
              -j .vendor_cert -j .sbat -j .sbatlevel \
              --target efi-app-riscv64 shimriscv64.so shimriscv64.efi
      objcopy: shimriscv64.so: invalid bfd target
      make: *** [Makefile:269: shimriscv64.efi] Error 1
      

      There are upstream fixes for this that can be backported to RHEL.

              nickc@redhat.com Nick Clifton
              rhn-engineering-abologna Andrea Bolognani
              Nick Clifton Nick Clifton
              Milos Prchlik Milos Prchlik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: