[Bug 281600] lang/rust failing to build on risc-v (again)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Nov 2024 12:23:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281600

--- Comment #32 from Dennis Clarke <dclarke@blastwave.org> ---

This morning I see some compiler ICE is now an issue.

With the recent LLVM/clang upheaval I rebuilt everything. Again.

enceladus# uname -apKU
FreeBSD enceladus 15.0-CURRENT FreeBSD 15.0-CURRENT #1
main-n273541-cdd3234186b1: Tue Nov 12 08:49:15 GMT 2024    
root@enceladus:/usr/obj/usr/src/riscv.riscv64/sys/SIFIVE-COMPAT11 riscv riscv64
1500026 1500026
enceladus# 
enceladus# uptime 
12:19PM  up 10 days,  1:26, 3 users, load averages: 1.72, 3.15, 2.88
enceladus# 
enceladus# cc --version 
FreeBSD clang version 19.1.3 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.3-0-gab51eccf88f5)
Target: riscv64-unknown-freebsd15.0
Thread model: posix
InstalledDir: /usr/bin
Build config: +assertions
enceladus# 

Then I see in logs that lang/rust slips on ICE : 

error: internal compiler error: compiler/rustc_codegen_llvm/src/abi.rs:126:22:
unsupported float: Reg { kind: Float, size: Size(2 bytes) }


Seems someone wants to play with 16bit floating point types and those
have never existed in the IEEE754 standard. No idea what is going on in
the rust world here but the ICE is a tad upsetting.

-- 
You are receiving this mail because:
You are on the CC list for the bug.