[powerpc:test 36/49] arch/powerpc/include/asm/elf.h:166:32: error: 'ppc64_caches' undeclared
kbuild test robot
fengguang.wu at intel.com
Tue Jan 31 09:00:33 AEDT 2017
tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git test
head: 675b1ff3778df243879ed2c58dfa80aeb1f9bf03
commit: c500c7698377f9cd34f676372762513704b4c79d [36/49] powerpc: A new cache geometry aux vectors
config: powerpc-lite5200b_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout c500c7698377f9cd34f676372762513704b4c79d
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
fs/binfmt_elf.c: In function 'create_elf_tables':
>> arch/powerpc/include/asm/elf.h:166:32: error: 'ppc64_caches' undeclared (first use in this function)
NEW_AUX_ENT(AT_L1I_CACHESIZE, ppc64_caches.l1i.size); \
^
fs/binfmt_elf.c:222:26: note: in definition of macro 'NEW_AUX_ENT'
elf_info[ei_index++] = val; \
^~~
fs/binfmt_elf.c:232:2: note: in expansion of macro 'ARCH_DLINFO'
ARCH_DLINFO;
^~~~~~~~~~~
arch/powerpc/include/asm/elf.h:166:32: note: each undeclared identifier is reported only once for each function it appears in
NEW_AUX_ENT(AT_L1I_CACHESIZE, ppc64_caches.l1i.size); \
^
fs/binfmt_elf.c:222:26: note: in definition of macro 'NEW_AUX_ENT'
elf_info[ei_index++] = val; \
^~~
fs/binfmt_elf.c:232:2: note: in expansion of macro 'ARCH_DLINFO'
ARCH_DLINFO;
^~~~~~~~~~~
vim +/ppc64_caches +166 arch/powerpc/include/asm/elf.h
160 NEW_AUX_ENT(AT_IGNOREPPC, AT_IGNOREPPC); \
161 /* Cache size items */ \
162 NEW_AUX_ENT(AT_DCACHEBSIZE, dcache_bsize); \
163 NEW_AUX_ENT(AT_ICACHEBSIZE, icache_bsize); \
164 NEW_AUX_ENT(AT_UCACHEBSIZE, ucache_bsize); \
165 VDSO_AUX_ENT(AT_SYSINFO_EHDR, current->mm->context.vdso_base); \
> 166 NEW_AUX_ENT(AT_L1I_CACHESIZE, ppc64_caches.l1i.size); \
167 NEW_AUX_ENT(AT_L1I_CACHEGEOMETRY, get_cache_shape(l1i)); \
168 NEW_AUX_ENT(AT_L1D_CACHESIZE, ppc64_caches.l1i.size); \
169 NEW_AUX_ENT(AT_L1D_CACHEGEOMETRY, get_cache_shape(l1i)); \
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 13601 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170131/8b98c642/attachment-0001.gz>
More information about the Linuxppc-dev
mailing list