lkml.org 
[lkml]   [2016]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warnings after merge of the tip tree
Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

In file included from tools/include/linux/hashtable.h:12:0,
from elf.h:24,
from builtin-check.c:33:
tools/include/linux/bitops.h:12:0: error: "BITS_PER_LONG" redefined [-Werror]
#define BITS_PER_LONG __WORDSIZE
^
In file included from /usr/include/powerpc64le-linux-gnu/asm/bitsperlong.h:10:0,
from /usr/include/asm-generic/int-ll64.h:11,
from /usr/include/powerpc64le-linux-gnu/asm/types.h:27,
from tools/include/linux/types.h:9,
from tools/include/linux/list.h:4,
from elf.h:23,
from builtin-check.c:33:
tools/include/asm-generic/bitsperlong.h:10:0: note: this is the location of the previous definition
#define BITS_PER_LONG 32
^
In file included from tools/include/linux/hashtable.h:12:0,
from elf.h:24,
from special.h:22,
from special.c:26:
tools/include/linux/bitops.h:12:0: error: "BITS_PER_LONG" redefined [-Werror]
#define BITS_PER_LONG __WORDSIZE
^
In file included from /usr/include/powerpc64le-linux-gnu/asm/bitsperlong.h:10:0,
from /usr/include/asm-generic/int-ll64.h:11,
from /usr/include/powerpc64le-linux-gnu/asm/types.h:27,
from tools/include/linux/types.h:9,
from tools/include/linux/list.h:4,
from elf.h:23,
from special.h:22,
from special.c:26:
tools/include/asm-generic/bitsperlong.h:10:0: note: this is the location of the previous definition
#define BITS_PER_LONG 32
^
In file included from tools/include/linux/hashtable.h:12:0,
from elf.h:24,
from elf.c:30:
tools/include/linux/bitops.h:12:0: error: "BITS_PER_LONG" redefined [-Werror]
#define BITS_PER_LONG __WORDSIZE
^
In file included from /usr/include/powerpc64le-linux-gnu/asm/bitsperlong.h:10:0,
from /usr/include/asm-generic/int-ll64.h:11,
from /usr/include/powerpc64le-linux-gnu/asm/types.h:27,
from tools/include/linux/types.h:9,
from tools/include/linux/list.h:4,
from elf.h:23,
from elf.c:30:
tools/include/asm-generic/bitsperlong.h:10:0: note: this is the location of the previous definition
#define BITS_PER_LONG 32
^
cc1: all warnings being treated as errors
In file included from tools/include/linux/hashtable.h:12:0,
from arch/x86/../../elf.h:24,
from arch/x86/decode.c:26:
tools/include/linux/bitops.h:12:0: error: "BITS_PER_LONG" redefined [-Werror]
#define BITS_PER_LONG __WORDSIZE
^
In file included from /usr/include/powerpc64le-linux-gnu/asm/bitsperlong.h:10:0,
from /usr/include/asm-generic/int-ll64.h:11,
from /usr/include/powerpc64le-linux-gnu/asm/types.h:27,
from tools/include/linux/types.h:9,
from tools/include/linux/list.h:4,
from arch/x86/../../elf.h:23,
from arch/x86/decode.c:26:
tools/include/asm-generic/bitsperlong.h:10:0: note: this is the location of the previous definition
#define BITS_PER_LONG 32
^

Introduced (I think) by commit

bb9707077b4e ("tools: Copy the bitsperlong.h files from the kernel")

I saw some discussion of this, so I assume ti will be fixed soon.

--
Cheers,
Stephen Rothwell

\
 
 \ /
  Last update: 2016-07-14 06:41    [W:0.046 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site