On Mon, Feb 9, 2026 at 1:29 PM Christophe Leroy (CS GROUP) <[email protected]> wrote: > > As far as I understand the patch is complete, the problem is outside the > kernel, it is in the libcore provided by rust or the rust compiler. > > That libcore seems to call __udivdi3() and __umoddi3() which are not > provided by the kernel. Instead if should call the functions do_div() > and friends provided by include/asm-generic/div64.h, or provide > __udivdi3() and __umoddi3() on its own.
Yeah, but what I mean is, should we add this if it doesn't link, especially without a note or comment of some kind? (Perhaps to your tracking issue in GitHub?) i.e. if I understand correctly, you prefer to not add the panicking intrinsics to `rust/compiler_builtins.rs`, which I agree isn't ideal. By the way, it would be nice if IBM could join one of the meetings with have with upstream Rust to raise this topic again with them. In any case, it is up to you, of course. My only concern on the Rust bits is on the docs side, the rest looks fine. Thanks! Cheers, Miguel
