Re: [PATCH v4 2/4] um: Add generated/ to MODE_INCLUDE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> Signed-off-by: James Hogan <jhogan@xxxxxxxxxx>
> Cc: Jeff Dike <jdike@xxxxxxxxxxx>
> Cc: Richard Weinberger <richard@xxxxxx>
> Cc: user-mode-linux-devel@xxxxxxxxxxxxxxxxxxxxx

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: .config.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux