linux-um archives
 help / color / mirror / Atom feed
From: Sergei Trofimovich <slyich@gmail.com>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: David Howells <dhowells@redhat.com>
Subject: [uml-devel] 3.4.0-rc1 is broken due to asm/system.h restructure
Date: Mon, 2 Apr 2012 21:17:30 +0300	[thread overview]
Message-ID: <20120402211730.19f6baaf@sf.home> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1809 bytes --]

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 <dhowells@redhat.com>
> 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

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 191 bytes --]

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2012-04-02 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 18:17 Sergei Trofimovich [this message]
2012-04-02 18:16 ` [uml-devel] 3.4.0-rc1 is broken due to asm/system.h restructure richard -rw- weinberger
2012-04-02 18:35   ` Sergei Trofimovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120402211730.19f6baaf@sf.home \
    --to=slyich@gmail.com \
    --cc=dhowells@redhat.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox