Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2023 21:22:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        riscv@FreeBSD.org
Subject:   [Bug 270610] makeworld fails on riscv64
Message-ID:  <bug-270610-40250@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270610

            Bug ID: 270610
           Summary: makeworld fails on riscv64
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: riscv
          Assignee: riscv@FreeBSD.org
          Reporter: fuz@FreeBSD.org
                CC: re@FreeBSD.org
             Flags: mfc-stable13?

Building 13.2-RC6 on a 13.1-RELEASE riscv64 system fails with an exec format
error during the build tools stage:

--- llvm/Frontend/OpenMP/OMP.inc ---
sh: llvm-tblgen: Exec format error
ELF binary type "0" not known.

The issue can be worked around by branding the llvm-tblgen binary manually:

# brandelf -t FreeBSD
/usr/obj/usr/src/riscv.riscv64/tmp/obj-tools/usr.bin/clang/llvm-tblgen/llvm=
-tblgen
# brandelf -t FreeBSD /usr/obj/usr/src/riscv.riscv64/tmp/legacy/bin/llvm-tb=
lgen

I have not tested building any other FreeBSD versions.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270610-40250>