[Bug 278883] stand/efi/boot1 won't link of riscv with binutils

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 May 2024 22:57:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278883

            Bug ID: 278883
           Summary: stand/efi/boot1 won't link of riscv with binutils
           Product: Base System
           Version: CURRENT
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: brooks@FreeBSD.org

Trying to get universe/tinderbox building for with gcc13 on riscv hitting a
failure in stand/efi/boot1 where linking fails with:

/usr/local/bin/riscv64-unknown-freebsd14.0-ld: cannot represent machine
`riscv64'

I suspect the source of the `riscv64' is there second line of
stand/efi/loader/arch/riscv/riscv.ldscript.

It's unclear to me if this is something binutils doesn't support at all, if
it's something that could be enabled, or if the linker script should use
something else.

-- 
You are receiving this mail because:
You are the assignee for the bug.