Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #####@make -f ./Makefile silentoldconfig
- CHK include/config/kernel.release
- CHK include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- CHK include/generated/timeconst.h
- CHK include/generated/bounds.h
- CC arch/x86/kernel/asm-offsets.s
- In file included from ./arch/x86/include/asm/atomic.h:4:0,
- from ./include/linux/atomic.h:4,
- from ./include/linux/crypto.h:20,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/seccomp.h: In function ‘secure_computing’:
- ./include/linux/thread_info.h:108:22: error: implicit declaration of function ‘current_thread_info’ [-Werror=implicit-function-declaration]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/compiler.h:168:42: note: in definition of macro ‘unlikely’
- # define unlikely(x) __builtin_expect(!!(x), 0)
- ^
- ./include/linux/seccomp.h:34:15: note: in expansion of macro ‘test_thread_flag’
- if (unlikely(test_thread_flag(TIF_SECCOMP)))
- ^~~~~~~~~~~~~~~~
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/compiler.h:168:42: note: in definition of macro ‘unlikely’
- # define unlikely(x) __builtin_expect(!!(x), 0)
- ^
- ./include/linux/seccomp.h:34:15: note: in expansion of macro ‘test_thread_flag’
- if (unlikely(test_thread_flag(TIF_SECCOMP)))
- ^~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/bug.h:35:0,
- from ./include/linux/bug.h:4,
- from ./include/linux/crypto.h:23,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘set_restore_sigmask’:
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/asm-generic/bug.h:92:25: note: in definition of macro ‘WARN_ON’
- int __ret_warn_on = !!(condition); \
- ^~~~~~~~~
- ./include/linux/sched.h:2773:11: note: in expansion of macro ‘test_thread_flag’
- WARN_ON(!test_thread_flag(TIF_SIGPENDING));
- ^~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./include/linux/kasan.h:4:0,
- from ./include/linux/slab.h:118,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘setup_thread_stack’:
- ./include/linux/sched.h:3156:21: error: ‘struct thread_info’ has no member named ‘task’
- task_thread_info(p)->task = p;
- ^~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘__current_set_polling’:
- ./include/linux/thread_info.h:100:21: warning: passing argument 1 of ‘set_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- set_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/sched.h:3380:2: note: in expansion of macro ‘set_thread_flag’
- set_thread_flag(TIF_POLLING_NRFLAG);
- ^~~~~~~~~~~~~~~
- ./include/linux/thread_info.h:74:20: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline void set_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/atomic.h:4:0,
- from ./include/linux/atomic.h:4,
- from ./include/linux/crypto.h:20,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘current_set_polling_and_test’:
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/compiler.h:168:42: note: in definition of macro ‘unlikely’
- # define unlikely(x) __builtin_expect(!!(x), 0)
- ^
- ./include/linux/thread_info.h:110:28: note: in expansion of macro ‘test_thread_flag’
- #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
- ^~~~~~~~~~~~~~~~
- ./include/linux/sched.h:3393:18: note: in expansion of macro ‘tif_need_resched’
- return unlikely(tif_need_resched());
- ^~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- ./include/linux/sched.h: In function ‘__current_clr_polling’:
- ./include/linux/thread_info.h:102:23: warning: passing argument 1 of ‘clear_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- clear_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/sched.h:3398:2: note: in expansion of macro ‘clear_thread_flag’
- clear_thread_flag(TIF_POLLING_NRFLAG);
- ^~~~~~~~~~~~~~~~~
- ./include/linux/thread_info.h:79:20: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline void clear_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/atomic.h:4:0,
- from ./include/linux/atomic.h:4,
- from ./include/linux/crypto.h:20,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘current_clr_polling_and_test’:
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/compiler.h:168:42: note: in definition of macro ‘unlikely’
- # define unlikely(x) __builtin_expect(!!(x), 0)
- ^
- ./include/linux/thread_info.h:110:28: note: in expansion of macro ‘test_thread_flag’
- #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
- ^~~~~~~~~~~~~~~~
- ./include/linux/sched.h:3411:18: note: in expansion of macro ‘tif_need_resched’
- return unlikely(tif_need_resched());
- ^~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- ./include/linux/sched.h: In function ‘current_clr_polling’:
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/thread_info.h:110:28: note: in expansion of macro ‘test_thread_flag’
- #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
- ^~~~~~~~~~~~~~~~
- ./include/linux/preempt.h:247:6: note: in expansion of macro ‘tif_need_resched’
- if (tif_need_resched()) \
- ^~~~~~~~~~~~~~~~
- ./include/linux/sched.h:3441:2: note: in expansion of macro ‘preempt_fold_need_resched’
- preempt_fold_need_resched();
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/atomic.h:4:0,
- from ./include/linux/atomic.h:4,
- from ./include/linux/crypto.h:20,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘need_resched’:
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./include/linux/compiler.h:168:42: note: in definition of macro ‘unlikely’
- # define unlikely(x) __builtin_expect(!!(x), 0)
- ^
- ./include/linux/thread_info.h:110:28: note: in expansion of macro ‘test_thread_flag’
- #define tif_need_resched() test_thread_flag(TIF_NEED_RESCHED)
- ^~~~~~~~~~~~~~~~
- ./include/linux/sched.h:3446:18: note: in expansion of macro ‘tif_need_resched’
- return unlikely(tif_need_resched());
- ^~~~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- In file included from ./include/linux/kasan.h:4:0,
- from ./include/linux/slab.h:118,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./include/linux/sched.h: In function ‘task_cpu’:
- ./include/linux/sched.h:3485:28: error: ‘struct thread_info’ has no member named ‘cpu’
- return task_thread_info(p)->cpu;
- ^~
- In file included from ./arch/x86/include/asm/preempt.h:6:0,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/mmzone.h:7,
- from ./include/linux/gfp.h:5,
- from ./include/linux/slab.h:14,
- from ./include/linux/crypto.h:24,
- from arch/x86/kernel/asm-offsets.c:8:
- ./arch/x86/include/asm/compat.h: In function ‘arch_compat_alloc_user_space’:
- ./include/linux/thread_info.h:108:22: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast [-Wint-conversion]
- test_ti_thread_flag(current_thread_info(), flag)
- ^
- ./arch/x86/include/asm/compat.h:311:6: note: in expansion of macro ‘test_thread_flag’
- if (test_thread_flag(TIF_IA32)) {
- ^~~~~~~~~~~~~~~~
- ./include/linux/thread_info.h:94:19: note: expected ‘struct thread_info *’ but argument is of type ‘int’
- static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
- ^~~~~~~~~~~~~~~~~~~
- In file included from arch/x86/kernel/asm-offsets.c:13:0:
- arch/x86/kernel/asm-offsets.c: In function ‘common’:
- ./include/linux/compiler-gcc.h:159:2: error: ‘struct task_struct’ has no member named ‘thread_info’; did you mean ‘sched_info’?
- __builtin_offsetof(a, b)
- ^
- ./include/linux/kbuild.h:5:55: note: in definition of macro ‘DEFINE’
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
- ^~~
- ./include/linux/stddef.h:16:32: note: in expansion of macro ‘__compiler_offsetof’
- #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
- ^~~~~~~~~~~~~~~~~~~
- ./include/linux/kbuild.h:10:14: note: in expansion of macro ‘offsetof’
- DEFINE(sym, offsetof(struct str, mem))
- ^~~~~~~~
- arch/x86/kernel/asm-offsets.c:38:2: note: in expansion of macro ‘OFFSET’
- OFFSET(TASK_TI_flags, task_struct, thread_info.flags);
- ^~~~~~
- cc1: some warnings being treated as errors
- make[1]: *** [Kbuild:82: arch/x86/kernel/asm-offsets.s] Error 1
- make: *** [Makefile:1027: prepare0] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement