[uml-devel] Re: [patch 1/3] uml: add dwarf sections to static link script

2005-07-30 Thread Sam Ravnborg
On Sat, Jul 30, 2005 at 09:05:33PM +0200, [EMAIL PROTECTED] wrote: > > From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> > > Inside the linker script, insert the code for DWARF debug info sections. This > may help GDB'ing a Uml binary. Actually, it seems that ld is able to guess > what I a

[uml-devel] Re: [patch 2/7] i386 / uml: add dwarf sections to static link script

2005-09-10 Thread Sam Ravnborg
l linker scripts include this section so it > should be correct anyway adding it. > > On request by Sam Ravnborg <[EMAIL PROTECTED]>, I've added it to > asm-generic/vmlinux.lds.s. I've also moved there the stabs debug section, > used the new macro in i386 linker script

[uml-devel] Re: Why did oldconfig's behavior change in 2.6.15-rc1?

2005-11-12 Thread Sam Ravnborg
On Sat, Nov 12, 2005 at 05:31:25PM -0600, Rob Landley wrote: > On Saturday 12 November 2005 16:56, Rob Landley wrote: > > Linus says if we're going to test something, test -rc1, so I did. > > > > It went boing. > > > > I'm still trying to get -skas0 working on x86-64, but this was a standard > > x8

[uml-devel] Re: Using compiler.h from uml userspace code (was: Re: uml build error)

2006-01-18 Thread Sam Ravnborg
On Wed, Jan 18, 2006 at 01:47:26PM +0100, Blaisorblade wrote: > Possible solutions below - akpm doesn't need to read this. Sam, instead, > please do read and give an opinion. > > Found it: we're using __attribute_used__ from /usr/include/sys/cdefs.h rather > than from compiler.h, because we can'

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread Sam Ravnborg
> > > The series touches also m68k, sh, mips and unicore32. > > These architectures magically select a cross compiler if ARCH != SUBARCH. > > Do really need that behavior? > > This does remove functionality. > It allows to build a kernel using e.g. "make ARCH=m68k". > > Perhaps this can be moved

Re: [uml-devel] [patch] uml: fix cmpxchg warnings in -mm

2007-04-27 Thread Sam Ravnborg
On Fri, Apr 27, 2007 at 06:18:02PM +0200, Miklos Szeredi wrote: > > From: Miklos Szeredi <[EMAIL PROTECTED]> > > I get lot's of these on i386: > > In file included from include/asm/atomic.h:10, > from include/linux/file.h:9, > from mm/fadvise.c:12: > include/asm

Re: [uml-devel] [PATCH] UML - Add a .note.SuSE section

2007-08-17 Thread Sam Ravnborg
On Thu, Aug 16, 2007 at 03:26:39PM -0400, Jeff Dike wrote: > > The crash is in this section: > > __uml_setup_start = .; > .uml.setup.init : { *(.uml.setup.init) } > __uml_setup_end = .; This looks like a classic bug. You wanted this: .uml.setup.init : { __uml_setup_start = .;

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-21 Thread Sam Ravnborg
On Mon, Oct 22, 2007 at 02:52:02PM +0800, WANG Cong wrote: > On Mon, Oct 22, 2007 at 07:42:33AM +0100, Nix wrote: > >On 22 Oct 2007, WANG Cong uttered the following: > >> I build UML for non-SMP x86. But I don't know about UML_NET_VDE. ;( > >> > >> Errors threw out by gcc (too many) are put here: >

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-24 Thread Sam Ravnborg
Hi Jeff. On Wed, Oct 24, 2007 at 11:22:40AM -0400, Jeff Dike wrote: > On Thu, Oct 11, 2007 at 05:54:46PM -0500, Rob Landley wrote: > > Guess what? I still need this patch to build the final 2.6.23, months > > later. > > > > I know it may not be the right fix, but the build breaks for me without

Re: [uml-devel] UML defconfig building failed again

2007-11-06 Thread Sam Ravnborg
On Tue, Nov 06, 2007 at 02:11:43PM +, Al Viro wrote: > On Tue, Nov 06, 2007 at 07:46:02PM +0800, WANG Cong wrote: > > > > Hi, Jeff! > > > > I used today's linus-tree and defconfig to compile uml, but it failed. > > Error messages are > > things like: > > > > In file included from include/as

Re: [uml-devel] [PATCH] allow use of mtd and jffs2 on uml

2007-12-28 Thread Sam Ravnborg
On Thu, Dec 27, 2007 at 01:15:25PM -0500, Jason Lunz wrote: > > Allow parts of drivers/mtd to compile on uml by pushing the HAS_IOMEM > dependencies down closer to the parts of mtd that actually need it. This > allows enough of mtd to build to let jffs2 be used on uml. > > Signed-off-by: Jason Lu

Re: [uml-devel] [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles

2008-01-01 Thread Sam Ravnborg
On Tue, Jan 01, 2008 at 03:18:46PM +0800, WANG Cong wrote: > > TOPDIR is obsolete, use objtree instead. > This patch removes TOPDIR from all UML Makefiles. > I do not feel confident with these changes. In some places I had expected to see srctree and not objtree. I would like to see this tested

Re: [uml-devel] [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles

2008-01-01 Thread Sam Ravnborg
On Tue, Jan 01, 2008 at 11:33:42AM +0100, Sam Ravnborg wrote: > On Tue, Jan 01, 2008 at 03:18:46PM +0800, WANG Cong wrote: > > > > TOPDIR is obsolete, use objtree instead. > > This patch removes TOPDIR from all UML Makefiles. > > > > I do not feel confident wit

Re: [uml-devel] (Try #2) [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles

2008-01-02 Thread Sam Ravnborg
On Wed, Jan 02, 2008 at 10:02:55AM -0500, Jeff Dike wrote: > On Tue, Jan 01, 2008 at 09:01:25PM +0800, WANG Cong wrote: > > TOPDIR is obsolete, use srctree instead. > > This patch removes TOPDIR from all UML Makefiles. > > Thanks, I'll send this to Andrew. Thanks Jeff. Sam -

Re: [uml-devel] [Patch] UML build: fix missing posix_types.h

2008-07-31 Thread Sam Ravnborg
On Thu, Jul 31, 2008 at 01:10:28PM +0100, WANG Cong wrote: > > When building UML with 'O=foo' specified, I got: > > CC kernel/bounds.s > In file included from > /home/wangcong/Projects/linux-2.6/include/linux/types.h:11, > from > /home/wangcong/Projects/linux-2.6/include/l

Re: [uml-devel] [PATCH v2 0/6] macros for section name cleanup

2009-05-01 Thread Sam Ravnborg
have collisions with sections > generated for code like: > > static int nosave = 0; /* -fdata-sections places in .data.nosave */ > static void head(); /* -ffunction-sections places in .text.head */ > > Sam Ravnborg proposed that rather than just renaming all the sections > outright, w

Re: [uml-devel] [PATCH v2 1/6] Add new macros for page-aligned data and bss sections.

2009-05-01 Thread Sam Ravnborg
lot of the kernel. > > The long-term goal here is to be able to change the kernel's magic > section names to those that are compatible with -ffunction-sections > -fdata-sections. This requires renaming all magic sections with names > of the form ".data.foo". > &

Re: [uml-devel] [PATCH v2 2/6] Add new NOSAVE_DATA linker script macro.

2009-05-01 Thread Sam Ravnborg
e is to be able to change the kernel's magic > section names to those that are compatible with -ffunction-sections > -fdata-sections. This requires renaming all magic sections with names > of the form ".data.foo". > > Signed-off-by: Tim Abbott > Cc: Sam R

Re: [uml-devel] [PATCH 6/6] Add support for __read_mostly to linux/cache.h

2009-05-01 Thread Sam Ravnborg
On Thu, Apr 30, 2009 at 03:32:36PM -0400, Tim Abbott wrote: > Signed-off-by: Tim Abbott > --- > include/linux/cache.h |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/include/linux/cache.h b/include/linux/cache.h > index 97e2488..99d8a6f 100644 > --- a/include/l

Re: [uml-devel] [PATCH v2 0/6] macros for section name cleanup

2009-05-01 Thread Sam Ravnborg
have collisions with sections > generated for code like: > > static int nosave = 0; /* -fdata-sections places in .data.nosave */ > static void head(); /* -ffunction-sections places in .text.head */ > > Sam Ravnborg proposed that rather than just renaming all the sections > outright, w

Re: [uml-devel] [PATCH v2 1/6] Add new macros for page-aligned data and bss sections.

2009-05-01 Thread Sam Ravnborg
On Fri, May 01, 2009 at 09:33:13AM -0700, H. Peter Anvin wrote: > Tim Abbott wrote: > > On Fri, 1 May 2009, Sam Ravnborg wrote: > > > >> On Thu, Apr 30, 2009 at 03:54:08PM -0400, Tim Abbott wrote: > >>> +#define __PAGE_ALIGNED_DATA .section ".d

Re: [uml-devel] [PATCH v2 1/6] Add new macros for page-aligned data and bss sections.

2009-05-01 Thread Sam Ravnborg
On Fri, May 01, 2009 at 10:18:20AM -0700, H. Peter Anvin wrote: > Sam Ravnborg wrote: > > On Fri, May 01, 2009 at 09:33:13AM -0700, H. Peter Anvin wrote: > >> Tim Abbott wrote: > >>> On Fri, 1 May 2009, Sam Ravnborg wrote: > >>> > >>>> O

Re: [uml-devel] [PATCH] um: minor Makefile simplification through use of cc-ifversion

2009-07-23 Thread Sam Ravnborg
On Thu, Jul 23, 2009 at 08:57:51PM +0200, Frans Pop wrote: > Signed-off-by: Frans Pop Acked-by: Sam Ravnborg If this patch is not pisked up by anyone else I will take it in kbuild.git.

Re: [uml-devel] [PATCH v2] um: Clean up linker script using standard macros.

2009-09-19 Thread Sam Ravnborg
On Fri, Sep 18, 2009 at 04:35:32PM -0400, Tim Abbott wrote: > Signed-off-by: Tim Abbott > Cc: Jeff Dike > Cc: user-mode-linux-devel@lists.sourceforge.net > Cc: Sam Ravnborg Acked-by: Sam Ravnborg Sam ---