mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Richard Weinberger <richard@nod.at>
Subject: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
Date: Sun, 13 Mar 2016 06:45:06 +0800	[thread overview]
Message-ID: <201603130603.uCbpkitB%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]

Hi Al,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   03c668a93187fe7fba9464f96fbe7c22eebd9897
commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
date:   4 years, 4 months ago
config: um-i386_defconfig (attached as .config)
reproduce:
        git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
        # save the attached .config to linux build tree
        make ARCH=um SUBARCH=i386

All errors (new ones prefixed by >>):

>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
   compilation terminated.
   make[2]: *** [arch/x86/um/user-offsets.s] Error 1
   make[1]: *** [arch/x86/um/user-offsets.s] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +8 arch/x86/um/user-offsets.c

8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05   1  #include <stdio.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05   2  #include <stddef.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05   3  #include <signal.h>
63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27   4  #include <sys/poll.h>
16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06   5  #include <sys/mman.h>
189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16   6  #include <sys/user.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05   7  #define __FRAME_OFFSETS
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05  @8  #include <asm/ptrace.h>
ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20   9  #include <asm/types.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05  10  
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05  11  #define DEFINE(sym, val) \
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05  12  	asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro   2005-05-05  13  
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro   2005-09-28  14  #define DEFINE_LONGS(sym, val) \
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro   2005-09-28  15  	asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro   2005-09-28  16  

:::::: The code at line 8 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants

:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 4988 bytes --]

             reply	other threads:[~2016-03-12 22:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-12 22:45 kbuild test robot [this message]
2016-03-14  0:53 ` Krzysztof Kozlowski
2016-03-18  3:19   ` Philip Li
2016-03-18  3:22     ` Krzysztof Kozlowski
2016-03-18  3:27       ` Li, Philip
2016-03-18  8:59       ` Philip Li
2016-03-18  8:58         ` Richard Weinberger
2016-03-18  9:18           ` Li, Philip
  -- strict thread matches above, loose matches on Subject: below --
2016-03-19 23:46 kbuild test robot
2016-03-05 23:33 kbuild test robot
2016-02-27 23:17 kbuild test robot

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=201603130603.uCbpkitB%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard@nod.at \
    --cc=viro@ftp.linux.org.uk \
    /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

all inboxes | Powered by JetHome®