[RFC v6 01/21] um: split build in kernel and host parts

Hajime Tazaki thehajime at gmail.com
Thu Sep 24 04:13:48 EDT 2020


On Thu, 24 Sep 2020 16:36:59 +0900,
Anton Ivanov wrote:

> > The patch also changes the UML build invocation, if before
> > 
> >   $ make ARCH=um defconfig
> >   $ make ARCH=um
> > 
> > was generating the executable now this only generates the relocatable
> > object.
> 
> It also fails now.
> 
> 
> ERROR: modpost: "memmove" [drivers/net/slip/slhc.ko] undefined!
> ERROR: modpost: "memset" [drivers/net/ppp/ppp_generic.ko] undefined!
> ERROR: modpost: "memset" [drivers/net/tun.ko] undefined!
> ERROR: modpost: "memmove" [drivers/block/loop.ko] undefined!
> ERROR: modpost: "memset" [drivers/block/loop.ko] undefined!
> ERROR: modpost: "memset" [fs/autofs/autofs4.ko] undefined!
> ERROR: modpost: "memset" [fs/isofs/isofs.ko] undefined!
> ERROR: modpost: "memset" [fs/binfmt_misc.ko] undefined!
> make[1]: *** [scripts/Makefile.modpost:111: Module.symvers] Error 1
> make[1]: *** Deleting file 'Module.symvers'
> make: *** [Makefile:1388: modules] Error 2
> make: *** Waiting for unfinished jobs....


Thanks for the review, I found this is a regression of patch 03/21,
364a2fc126e5 um: move arch/um/os-Linux dir to tools/um/uml

I will try to find a fix.

-- Hajime



More information about the linux-um mailing list