* [uml-devel] uml-patch-2.6.1
@ 2004-01-14 7:25 ` Jeff Dike
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2004-01-14 7:25 UTC (permalink / raw)
To: linux-kernel, user-mode-linux-devel
This patch updates UML to 2.6.1. No functional changes or bug fixes this time
around.
The 2.6.1 UML patch is available at
http://www.user-mode-linux.org/mirror/uml-patch-2.6.1-1.bz2
BK users can pull my 2.5 repository from
http://www.user-mode-linux.org:5000/uml-2.5
For the other UML mirrors and other downloads, see
http://user-mode-linux.sourceforge.net/dl-sf.html
Other links of interest:
The UML project home page : http://user-mode-linux.sourceforge.net
The UML Community site : http://usermodelinux.org
Jeff
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* uml-patch-2.6.1
@ 2004-01-14 7:25 ` Jeff Dike
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2004-01-14 7:25 UTC (permalink / raw)
To: linux-kernel, user-mode-linux-devel
This patch updates UML to 2.6.1. No functional changes or bug fixes this time
around.
The 2.6.1 UML patch is available at
http://www.user-mode-linux.org/mirror/uml-patch-2.6.1-1.bz2
BK users can pull my 2.5 repository from
http://www.user-mode-linux.org:5000/uml-2.5
For the other UML mirrors and other downloads, see
http://user-mode-linux.sourceforge.net/dl-sf.html
Other links of interest:
The UML project home page : http://user-mode-linux.sourceforge.net
The UML Community site : http://usermodelinux.org
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] uml-patch-2.6.1
2004-01-14 7:25 ` uml-patch-2.6.1 Jeff Dike
(?)
@ 2004-01-18 16:23 ` BlaisorBlade
2004-01-19 0:03 ` Jeff Dike
-1 siblings, 1 reply; 4+ messages in thread
From: BlaisorBlade @ 2004-01-18 16:23 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Jeff Dike
[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]
> This patch updates UML to 2.6.1.
Try disabling CONFIG_MODE_TT and you'll see that
arch/um/kernel/skas/include/uaccess.h doesn't compile (it uses EFAULT but
errno.h is included only by arch/um/kernel/tt/include/uaccess.h).
Also, I never saw depmod (on modules_install, with the patches I said you to
merge) giving this:
WARNING:
/home/paolo/Uml/slack90.mnt/lib/modules/2.6.1-1um/kernel/fs/hostfs/hostfs.ko
needs unknown symbol mknod
WARNING:
/home/paolo/Uml/slack90.mnt/lib/modules/2.6.1-1um/kernel/fs/hostfs/hostfs.ko
needs unknown symbol lstat64
This happens because hostfs is not compiled with -O2, since now -O2 is added
to CFLAGS after including arch/??/Makefile. The inlines that do the needed
wrapping are defined(in /usr/include/sys/stat.h) only if _OPTIMIZE_ if
defined (probably because inlines don't work otherwise, but other inlines are
defined anyway, so there is also a libc bug). So, I'm attaching the fix.
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729
EOSIGN
[-- Attachment #2: FixHostfs-compile.patch --]
[-- Type: text/x-diff, Size: 621 bytes --]
--- ./arch/um/Makefile.fix 2004-01-18 10:07:33.000000000 +0100
+++ ./arch/um/Makefile 2004-01-18 17:18:17.000000000 +0100
@@ -137,8 +137,21 @@
# To get a definition of F_SETSIG
USER_CFLAGS += -D_GNU_SOURCE
+#From main Makefile, these options are set after including the ARCH makefile.
+#So copy them here.
+
+ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
+USER_CFLAGS += -Os
+else
+USER_CFLAGS += -O2
+endif
+
+ifndef CONFIG_FRAME_POINTER
+USER_CFLAGS += -fomit-frame-pointer
+endif
+
ifdef CONFIG_DEBUG_INFO
-USER_CFLAGS += -g
+USER_CFLAGS += -g
endif
CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/uml.lds.s \
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] uml-patch-2.6.1
2004-01-18 16:23 ` [uml-devel] uml-patch-2.6.1 BlaisorBlade
@ 2004-01-19 0:03 ` Jeff Dike
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2004-01-19 0:03 UTC (permalink / raw)
To: BlaisorBlade; +Cc: user-mode-linux-devel
On Sun, Jan 18, 2004 at 05:23:32PM +0100, BlaisorBlade wrote:
> Try disabling CONFIG_MODE_TT and you'll see that
> arch/um/kernel/skas/include/uaccess.h doesn't compile (it uses EFAULT but
> errno.h is included only by arch/um/kernel/tt/include/uaccess.h).
Fixed now.
> This happens because hostfs is not compiled with -O2, since now -O2 is added
> to CFLAGS after including arch/??/Makefile. The inlines that do the needed
> wrapping are defined(in /usr/include/sys/stat.h) only if _OPTIMIZE_ if
> defined (probably because inlines don't work otherwise, but other inlines are
> defined anyway, so there is also a libc bug). So, I'm attaching the fix.
Applied, thanks.
Jeff
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-18 23:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 7:25 [uml-devel] uml-patch-2.6.1 Jeff Dike
2004-01-14 7:25 ` uml-patch-2.6.1 Jeff Dike
2004-01-18 16:23 ` [uml-devel] uml-patch-2.6.1 BlaisorBlade
2004-01-19 0:03 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.