* arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared; did you mean 'CONFIG_HAVE_PCI'?
@ 2024-04-14 14:52 kernel test robot
2024-04-14 15:46 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2024-04-14 14:52 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: oe-kbuild-all, linux-kernel, Thomas Gleixner
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7efd0a74039fb6b584be2cb91c1d0ef0bd796ee1
commit: 5394f1e9b687bcf26595cabf83483e568676128d arch: define CONFIG_PAGE_SIZE_*KB on all architectures
date: 6 weeks ago
config: alpha-randconfig-r016-20220816 (https://download.01.org/0day-ci/archive/20240414/202404142258.3CWV3f05-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240414/202404142258.3CWV3f05-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404142258.3CWV3f05-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/thread_info.h:60,
from include/asm-generic/current.h:6,
from ./arch/alpha/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from arch/alpha/kernel/asm-offsets.c:10:
arch/alpha/include/asm/thread_info.h:43: warning: "current_thread_info" redefined
43 | #define current_thread_info() __current_thread_info
|
include/linux/thread_info.h:24: note: this is the location of the previous definition
24 | #define current_thread_info() ((struct thread_info *)current)
|
In file included from include/linux/shm.h:6,
from include/linux/sched.h:23:
include/asm-generic/getorder.h: In function 'get_order':
>> arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_HAVE_PCI'?
9 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT
| ^~~~~~~~~~~~~~~~~
include/asm-generic/getorder.h:33:48: note: in expansion of macro 'PAGE_SHIFT'
33 | return BITS_PER_LONG - PAGE_SHIFT;
| ^~~~~~~~~~
arch/alpha/include/asm/page.h:9:25: note: each undeclared identifier is reported only once for each function it appears in
9 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT
| ^~~~~~~~~~~~~~~~~
include/asm-generic/getorder.h:33:48: note: in expansion of macro 'PAGE_SHIFT'
33 | return BITS_PER_LONG - PAGE_SHIFT;
| ^~~~~~~~~~
In file included from include/linux/sched.h:38:
include/linux/mm_types_task.h: At top level:
include/linux/mm_types_task.h:16:10: fatal error: asm/tlbbatch.h: No such file or directory
16 | #include <asm/tlbbatch.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:116: arch/alpha/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1199: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:240: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +9 arch/alpha/include/asm/page.h
7
8 /* PAGE_SHIFT determines the page size */
> 9 #define PAGE_SHIFT CONFIG_PAGE_SHIFT
10 #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
11 #define PAGE_MASK (~(PAGE_SIZE-1))
12
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared; did you mean 'CONFIG_HAVE_PCI'?
2024-04-14 14:52 arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared; did you mean 'CONFIG_HAVE_PCI'? kernel test robot
@ 2024-04-14 15:46 ` Arnd Bergmann
2024-04-16 5:47 ` Yujie Liu
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2024-04-14 15:46 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all, linux-kernel, Thomas Gleixner
On Sun, Apr 14, 2024, at 16:52, kernel test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head: 7efd0a74039fb6b584be2cb91c1d0ef0bd796ee1
> commit: 5394f1e9b687bcf26595cabf83483e568676128d arch: define
> CONFIG_PAGE_SIZE_*KB on all architectures
> date: 6 weeks ago
> config: alpha-randconfig-r016-20220816
> (https://download.01.org/0day-ci/archive/20240414/202404142258.3CWV3f05-lkp@intel.com/config)
> compiler: alpha-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build):
> (https://download.01.org/0day-ci/archive/20240414/202404142258.3CWV3f05-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes:
> https://lore.kernel.org/oe-kbuild-all/202404142258.3CWV3f05-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> In file included from include/linux/thread_info.h:60,
> from include/asm-generic/current.h:6,
> from ./arch/alpha/include/generated/asm/current.h:1,
> from include/linux/sched.h:12,
> from arch/alpha/kernel/asm-offsets.c:10:
> arch/alpha/include/asm/thread_info.h:43: warning:
> "current_thread_info" redefined
> 43 | #define current_thread_info() __current_thread_info
> |
> include/linux/thread_info.h:24: note: this is the location of the
> previous definition
> 24 | #define current_thread_info() ((struct thread_info *)current)
> |
> In file included from include/linux/shm.h:6,
> from include/linux/sched.h:23:
> include/asm-generic/getorder.h: In function 'get_order':
>>> arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_HAVE_PCI'?
> 9 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT
> | ^~~~~~~~~~~~~~~~~
I tried reproducing this, but it always works for me here,
using my own gcc-13.2 build. I tried both the latest linux-next
and the 5394f1e9b commit.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared; did you mean 'CONFIG_HAVE_PCI'?
2024-04-14 15:46 ` Arnd Bergmann
@ 2024-04-16 5:47 ` Yujie Liu
0 siblings, 0 replies; 3+ messages in thread
From: Yujie Liu @ 2024-04-16 5:47 UTC (permalink / raw)
To: Arnd Bergmann
Cc: kernel test robot, oe-kbuild-all, linux-kernel, Thomas Gleixner
On Sun, Apr 14, 2024 at 05:46:54PM +0200, Arnd Bergmann wrote:
> On Sun, Apr 14, 2024, at 16:52, kernel test robot wrote:
> > tree:
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > master
> > head: 7efd0a74039fb6b584be2cb91c1d0ef0bd796ee1
> > commit: 5394f1e9b687bcf26595cabf83483e568676128d arch: define
> > CONFIG_PAGE_SIZE_*KB on all architectures
> > date: 6 weeks ago
> > config: alpha-randconfig-r016-20220816
> > (https://download.01.org/0day-ci/archive/20240414/202404142258.3CWV3f05-lkp@intel.com/config)
> > compiler: alpha-linux-gcc (GCC) 13.2.0
> > reproduce (this is a W=1 build):
> > (https://download.01.org/0day-ci/archive/20240414/202404142258.3CWV3f05-lkp@intel.com/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new
> > version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes:
> > https://lore.kernel.org/oe-kbuild-all/202404142258.3CWV3f05-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> > In file included from include/linux/thread_info.h:60,
> > from include/asm-generic/current.h:6,
> > from ./arch/alpha/include/generated/asm/current.h:1,
> > from include/linux/sched.h:12,
> > from arch/alpha/kernel/asm-offsets.c:10:
> > arch/alpha/include/asm/thread_info.h:43: warning:
> > "current_thread_info" redefined
> > 43 | #define current_thread_info() __current_thread_info
> > |
> > include/linux/thread_info.h:24: note: this is the location of the
> > previous definition
> > 24 | #define current_thread_info() ((struct thread_info *)current)
> > |
> > In file included from include/linux/shm.h:6,
> > from include/linux/sched.h:23:
> > include/asm-generic/getorder.h: In function 'get_order':
> >>> arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_HAVE_PCI'?
> > 9 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT
> > | ^~~~~~~~~~~~~~~~~
>
> I tried reproducing this, but it always works for me here,
> using my own gcc-13.2 build. I tried both the latest linux-next
> and the 5394f1e9b commit.
Sorry for this false alarm. We re-examined this case and found that we
could not reproduce this issue either. It seems to be caused by a
malfunction of the bot. Please kindly ignore this report.
Thanks,
Yujie
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-16 5:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-14 14:52 arch/alpha/include/asm/page.h:9:25: error: 'CONFIG_PAGE_SHIFT' undeclared; did you mean 'CONFIG_HAVE_PCI'? kernel test robot
2024-04-14 15:46 ` Arnd Bergmann
2024-04-16 5:47 ` Yujie Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®