[PATCH v1] rust: arch/um: Fix loading Rust modules

Johannes Berg johannes at sipsolutions.net
Tue Nov 3 01:39:11 PST 2026


On Tue, 2026-11-03 at 18:02 +0900, FUJITA Tomonori wrote:
> > 
> > diff --git a/arch/um/Makefile b/arch/um/Makefile
> > index 937639edc295..c4a99073f014 100644
> > --- a/arch/um/Makefile
> > +++ b/arch/um/Makefile
> > @@ -62,8 +62,6 @@ KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ \
> >   	-Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr \
> >   	-D__close_range=kernel__close_range
> >   
> > -KBUILD_RUSTFLAGS += -Crelocation-model=pie
> > -
> >   KBUILD_AFLAGS += $(ARCH_INCLUDE)
> >   
> >   USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -I%,,$(KBUILD_CFLAGS))) \
> > 
> > base-commit: 2dee3d3adcadcc57d62ba6608cd02f50b0c10264
> 
> Gentle ping. The patch still applies cleanly on top of v7.4-rc1. If
> it looks fine, could you take it through the UML tree?

I guess I figured with the "rust:" prefix it'd go through their tree,
but either way during the merge window and all I wasn't really paying
attention to UML.

I'll pick it up now.

johannes



More information about the linux-um mailing list