Skip to contentSkip to conversation

UML building failed in current Linus-tree

DISCUSSION WANG Cong 2 participants 3 messages Oct 28, 2007 User-mode Linux (UML)

lore
Share & tools
lore

WANG Cong

author
#0 lore raw

Hi, Jeff, Sam!

I just pulled from Linus-tree, and got the following error when building uml.

$ make defconfig ARCH=um
/home/wangcong/projects/linux-2.6/arch/um/Makefile-i386:32: /home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu: No such file or directory
make: *** No rule to make target `/home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu'.  Stop.

Is this a known problem? Yesterday's Linus-tree was fine.

Regards.

Signature · 11 lines
May the Source Be With You.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 10 lines · WANG Cong

Hi, Jeff, Sam!

I just pulled from Linus-tree, and got the following error when building uml.

$ make defconfig ARCH=um
/home/wangcong/projects/linux-2.6/arch/um/Makefile-i386:32: /home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu: No such file or directory
make: *** No rule to make target `/home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu'.  Stop.

Is this a known problem? Yesterday's Linus-tree was fine.

arch/um/Kconfig.i386 +1 -1
index 9876d80..e0ac74e 100644
@@ -1,6 +1,6 @@
 menu "Host processor type and features"
 
-source "arch/i386/Kconfig.cpu"
+source "arch/x86/Kconfig.cpu"
 
 endmenu
 
arch/um/Makefile-i386 +1 -1
index 08433f8..b01dfb0 100644
@@ -28,7 +28,7 @@ CONFIG_X86_32		:= y
 export CONFIG_X86_32
 
 # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y.
-include $(srctree)/arch/i386/Makefile.cpu
+include $(srctree)/arch/x86/Makefile_32.cpu
 
 # prevent gcc from keeping the stack 16 byte aligned. Taken from i386.
 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

author
#2 lore raw

arch/um/Kconfig.i386

Quoted 16 lines · Al Viro
Quoted 10 lines · WANG Cong

Hi, Jeff, Sam!

I just pulled from Linus-tree, and got the following error when building uml.

$ make defconfig ARCH=um
/home/wangcong/projects/linux-2.6/arch/um/Makefile-i386:32: /home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu: No such file or directory
make: *** No rule to make target `/home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu'.  Stop.

Is this a known problem? Yesterday's Linus-tree was fine.

arch/um/Kconfig.i386 +0 -0
index 9876d80..e0ac74e 100644

Thanks, Al.

With your patch, it works fine.

Jeff, could you please consider pushing this and Al's another patch[1] into Linus-tree? UML in Linus-tree can't work for a long time. ;(

[1] http://lkml.org/lkml/2007/10/21/118

Regards.

WANG Cong

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel