arch/xtensa/include/asm/processor.h:14:26: fatal error: variant/core.h: No such file or directory
Hi Chris,
FYI, xtensa has an error that happen in the below 2 configs:
xtensa-audio_kc705_defconfig (attached as .config) xtensa-smp_lx200_defconfig
It's too old to be bisect friendly. It'd be great if can be fixed.
In file included from arch/xtensa/include/asm/bitops.h:22:0,
from include/linux/bitops.h:33,
from include/linux/kernel.h:10,
from include/asm-generic/bug.h:13, from arch/xtensa/include/generated/asm/bug.h:1, from include/linux/bug.h:4,
from include/linux/page-flags.h:9, from kernel/bounds.c:9:
Quoted 1 line
Quoted 1 line
arch/xtensa/include/asm/processor.h:14:26: fatal error:variant/core.h: No such file or directory
#include <variant/core.h>
^ compilation terminated.
make[2]: *** [kernel/bounds.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +14 arch/xtensa/include/asm/processor.h
9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 1 /* 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 2 * include/asm-xtensa/processor.h 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 3 * 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 4 * This file is subject to the terms and conditions of the GNU General Public 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 5 * License. See the file "COPYING" in the main directory of this archive 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 6 * for more details. 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 7 * 2d1c645c arch/xtensa/include/asm/processor.h Marc Gauthier 2013-01-05 8 * Copyright (C) 2001 - 2008 Tensilica Inc. 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 9 */ 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 10 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 11 #ifndef _XTENSA_PROCESSOR_H 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 12 #define _XTENSA_PROCESSOR_H 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 13 367b8112 arch/xtensa/include/asm/processor.h Chris Zankel 2008-11-06 @14 #include <variant/core.h> e5083a63 arch/xtensa/include/asm/processor.h Johannes Weiner 2009-03-04 15 #include <platform/hardware.h> 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 16 f6dc8c5b include/asm-xtensa/processor.h Chase Venters 2006-07-08 17 #include <linux/compiler.h> 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 18 #include <asm/ptrace.h> 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 19 #include <asm/types.h> 173d6681 include/asm-xtensa/processor.h Chris Zankel 2006-12-10 20 #include <asm/regs.h> 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 21 9a8fd558 include/asm-xtensa/processor.h Chris Zankel 2005-06-23 22 /* Assertions. */
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Hello,
Quoted 6 lines · Fengguang Wu
FYI, xtensa has an error that happen in the below 2 configs:
xtensa-audio_kc705_defconfig (attached as .config) xtensa-smp_lx200_defconfig
It's too old to be bisect friendly. It'd be great if can be fixed.
I will post patches that add these core variants to xtensa arch. There's still an issue though: they wouldn't build with the default xtensa toolchain, because both these configurations have HiFi coprocessor and there's assembly code in variant-specific files that saves and restores coprocessor registers. Currently every xtensa core variant requires a toolchain specifically built for it with corresponding configuration overlay:
http://wiki.linux-xtensa.org/index.php/Toolchain_Overlay_File
Signature · 2 lines
Thanks. -- Max