Re: [uml-devel] uml build failure on arch i386
On Monday 02 April 2012 11:59 AM, richard -rw- weinberger wrote: >> > My initial search led me to: >> > http://sourceforge.net/mailarchive/message.php?msg_id=27848489 >> > >> > Based on the comment there, I've tried SUBARCH=i386. But that didn't >> > help. Any suggestions? > Please share your .config. Config file available at: http://people.debian.org/~rrs/tmp/config.i386 -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: OpenPGP digital signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] uml build failure on arch i386
On Mon, Apr 2, 2012 at 9:19 AM, Ritesh Raj Sarraf wrote: > On Monday 02 April 2012 11:59 AM, richard -rw- weinberger wrote: >>> > My initial search led me to: >>> > http://sourceforge.net/mailarchive/message.php?msg_id=27848489 >>> > >>> > Based on the comment there, I've tried SUBARCH=i386. But that didn't >>> > help. Any suggestions? >> Please share your .config. > > Config file available at: > http://people.debian.org/~rrs/tmp/config.i386 Please give the attached patch a try! -- Thanks, //richard diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile index 8fb5840..f322503 100644 --- a/arch/x86/um/Makefile +++ b/arch/x86/um/Makefile @@ -19,7 +19,8 @@ ifeq ($(CONFIG_X86_32),y) obj-y += checksum_32.o obj-$(CONFIG_BINFMT_ELF) += elfcore.o -subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o +subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o \ + ../lib/atomic64_386_32.o ../lib/cmpxchg8b_emu.o subarch-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += ../lib/rwsem.o subarch-$(CONFIG_HIGHMEM) += ../mm/highmem_32.o -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] uml build failure on arch i386
On Monday 02 April 2012 01:20 PM, richard -rw- weinberger wrote: >> Config file available at: >> > http://people.debian.org/~rrs/tmp/config.i386 > Please give the attached patch a try! > Thank you Richard. The patch fixes the build failure on i386. > diff --git a/arch/x86/um/Makefile b/arch/x86/um/Makefile > index 8fb5840..f322503 100644 > --- a/arch/x86/um/Makefile > +++ b/arch/x86/um/Makefile > @@ -19,7 +19,8 @@ ifeq ($(CONFIG_X86_32),y) > obj-y += checksum_32.o > obj-$(CONFIG_BINFMT_ELF) += elfcore.o > > -subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o > +subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o > \ > + ../lib/atomic64_386_32.o ../lib/cmpxchg8b_emu.o > subarch-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += ../lib/rwsem.o > subarch-$(CONFIG_HIGHMEM) += ../mm/highmem_32.o > -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: OpenPGP digital signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] uml build failure on arch i386
On Mon, Apr 2, 2012 at 2:22 PM, Ritesh Raj Sarraf wrote: > On Monday 02 April 2012 01:20 PM, richard -rw- weinberger wrote: >>> Config file available at: >>> > http://people.debian.org/~rrs/tmp/config.i386 >> Please give the attached patch a try! >> > > Thank you Richard. The patch fixes the build failure on i386. Okay. :-) I'll queue it for -stable and 3.4-rc2. -- Thanks, //richard -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
[uml-devel] 3.4.0-rc1 is broken due to asm/system.h restructure
The asm/system.h patches missed ARCH=um which caused build breakage [2]. The commit can be used as an example [2]. I've failed to produce fix myself. Sorry. [1]: > commit f05e798ad4c09255f590f5b2c00a7ca6c172f983 > Author: David Howells > Date: Wed Mar 28 18:11:12 2012 +0100 > >Disintegrate asm/system.h for X86 [2]: linux-2.6/arch/um/drivers/mconsole_kern.c: In function 'stack_proc': linux-2.6/arch/um/drivers/mconsole_kern.c:707:2: error: implicit declaration of function 'switch_to' make[2]: *** [arch/um/drivers/mconsole_kern.o] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [arch/um/drivers] Error 2 CC kernel/sys.o CC kernel/sched/core.o linux-2.6/kernel/sched/core.c: In function 'context_switch': linux-2.6/kernel/sched/core.c:2086:2: error: expected ':' or ')' before '__percpu_arg' make[3]: *** [kernel/sched/core.o] Error 1 make[3]: Target `__build' not remade because of errors. make[2]: *** [kernel/sched] Error 2 make[2]: Target `__build' not remade because of errors. make[1]: *** [kernel] Error 2 CC fs/exec.o linux-2.6/fs/exec.c: In function 'setup_arg_pages': linux-2.6/fs/exec.c:686:2: error: implicit declaration of function 'arch_align_stack' make[2]: *** [fs/exec.o] Error 1 CC fs/binfmt_elf.o linux-2.6/fs/binfmt_elf.c: In function 'create_elf_tables': linux-2.6/fs/binfmt_elf.c:165:2: error: implicit declaration of function 'arch_align_stack' make[2]: *** [fs/binfmt_elf.o] Error 1 make[2]: Target `__build' not remade because of errors. make[1]: *** [fs] Error 2 make[1]: Target `_all' not remade because of errors. make: *** [sub-make] Error 2 make: Target `_all' not remade because of errors. make: Leaving directory `linux-2.6' -- Sergei signature.asc Description: PGP signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] 3.4.0-rc1 is broken due to asm/system.h restructure
On Mon, Apr 2, 2012 at 8:17 PM, Sergei Trofimovich wrote: > The asm/system.h patches missed ARCH=um > which caused build breakage [2]. > > The commit can be used as an example [2]. > I've failed to produce fix myself. Sorry. See: http://comments.gmane.org/gmane.linux.kernel/1274493 -- Thanks, //richard -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] 3.4.0-rc1 is broken due to asm/system.h restructure
On Mon, 2 Apr 2012 20:16:24 +0200 richard -rw- weinberger wrote: > On Mon, Apr 2, 2012 at 8:17 PM, Sergei Trofimovich wrote: > > The asm/system.h patches missed ARCH=um > > which caused build breakage [2]. > See: > http://comments.gmane.org/gmane.linux.kernel/1274493 Oh, your patches helped! Sorry for the noise. Thank you! -- Sergei signature.asc Description: PGP signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel