All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Hogan <jhogan@kernel.org>
To: linux-mips@linux-mips.org, Arnd Bergmann <arnd@arndb.de>,
	Richard Henderson <rth@twiddle.net>,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Matt Turner <mattst88@gmail.com>,
	linux-alpha@vger.kernel.org, Jeff Dike <jdike@addtoit.com>,
	Richard Weinberger <richard@nod.at>,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [PATCH v4 2/4] um: Add generated/ to MODE_INCLUDE
Date: Mon, 14 May 2018 10:26:34 +0100	[thread overview]
Message-ID: <20180514092633.GA2419@jamesdev> (raw)
In-Reply-To: <d820cbb19a333cdfc4a24d0c6b2c3f09def1f3e5.1526074770.git-series.jhogan@kernel.org>


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

On Fri, May 11, 2018 at 10:47:00PM +0100, James Hogan wrote:
> Add the um specific generated includes directory to MODE_INCLUDE so that
> asm/compiler.h can be used for overriding linux/compiler*.h which is
> included automatically, with um using a generated asm-generic wrapper at
> arch/um/include/generated/asm/compiler.h.
> 
> Reported-by: kbuild test robot <lkp@intel.com>
> Signed-off-by: James Hogan <jhogan@kernel.org>
> Cc: Jeff Dike <jdike@addtoit.com>
> Cc: Richard Weinberger <richard@nod.at>
> Cc: user-mode-linux-devel@lists.sourceforge.net

Hmm, I thought I'd fixed this, but again the kbuild test robot
complains:

On Sat, May 12, 2018 at 09:47:40AM +0800, kbuild test robot wrote:
> bisected to: aea47daf8a396e512e0cfe11d9c05798749db172  compiler.h: Allow arch-specific overrides
> commit date: 2 days ago
> config: um-x86_64_defconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
> reproduce:
>         git checkout aea47daf8a396e512e0cfe11d9c05798749db172
>         # save the attached .config to linux build tree
>         make ARCH=um SUBARCH=x86_64
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from arch/um/include/shared/init.h:44:0,
>                     from arch/um/kernel/config.c:8:
> >> include/linux/compiler_types.h:58:10: fatal error: asm/compiler.h: No such file or directory
>     #include <asm/compiler.h>
>              ^~~~~~~~~~~~~~~~
>    compilation terminated.
> 
> vim +58 include/linux/compiler_types.h
> 
>     56	
>     57	/* Allow architectures to override some definitions where necessary */
>   > 58	#include <asm/compiler.h>
>     59	

Can anybody else reproduce that or have ideas why its still happening? I
don't seem to be able to.

Its from my mips-next-test branch here (that isn't in linux-next):
git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips.git

Cheers
James

[-- Attachment #1.2: .config.gz --]
[-- Type: application/gzip, Size: 7370 bytes --]

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

  reply	other threads:[~2018-05-14  9:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-11 21:46 [PATCH v4 0/4] MIPS: Override barrier_before_unreachable() to fix microMIPS James Hogan
2018-05-11 21:46 ` [PATCH v4 1/4] alpha: Use OPTIMIZE_INLINING instead of asm/compiler.h James Hogan
2018-05-11 21:47 ` [PATCH v4 2/4] um: Add generated/ to MODE_INCLUDE James Hogan
2018-05-14  9:26   ` James Hogan [this message]
2018-08-09 17:51     ` Paul Burton
2018-05-11 21:47 ` [PATCH v4 3/4] compiler.h: Allow arch-specific overrides James Hogan
2018-05-11 21:47 ` [PATCH v4 4/4] MIPS: Workaround GCC __builtin_unreachable reordering bug James Hogan

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=20180514092633.GA2419@jamesdev \
    --to=jhogan@kernel.org \
    --cc=arnd@arndb.de \
    --cc=ink@jurassic.park.msu.ru \
    --cc=jdike@addtoit.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=mattst88@gmail.com \
    --cc=richard@nod.at \
    --cc=rth@twiddle.net \
    --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 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.