./include/linux/pgtable.h:1237:67: error: implicit declaration of function ‘pmd_present’; did you mean ‘p4d_present’? [-Werror=implicit-function-declaration] 1237 | (IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION) && !pmd_present(pmdval))) | ^~~~~~~~~~~ | p4d_present ./include/linux/pgtable.h: In function ‘pud_none_or_clear_bad’: ./include/linux/pgtable.h:758:13: error: implicit declaration of function ‘pud_none’; did you mean ‘p4d_none’? [-Werror=implicit-function-declaration] 758 | if (pud_none(*pud)) | ^~~~~~~~ | p4d_none In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/rculist.h:10, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from kernel/sched/sched.h:5, from kernel/sched/clock.c:56: ./include/linux/pgtable.h:760:22: error: implicit declaration of function ‘pud_bad’; did you mean ‘p4d_bad’? [-Werror=implicit-function-declaration] 760 | if (unlikely(pud_bad(*pud))) { | ^~~~~~~ ./include/linux/compiler.h:78:45: note: in definition of macro ‘unlikely’ 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h: In function ‘pmd_none_or_clear_bad’: ./include/linux/pgtable.h:771:22: error: implicit declaration of function ‘pmd_bad’; did you mean ‘p4d_bad’? [-Werror=implicit-function-declaration] 771 | if (unlikely(pmd_bad(*pmd))) { | ^~~~~~~ ./include/linux/compiler.h:78:45: note: in definition of macro ‘unlikely’ 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mm.h:33, from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/clock.c:56: ./include/linux/pgtable.h: In function ‘pmd_none_or_trans_huge_or_clear_bad’: ./include/linux/pgtable.h:1237:67: error: implicit declaration of function ‘pmd_present’; did you mean ‘p4d_present’? [-Werror=implicit-function-declaration] 1237 | (IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION) && !pmd_present(pmdval))) | ^~~~~~~~~~~ | p4d_present In file included from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/cputime.c:5: ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/mm.h:971:23: error: implicit declaration of function ‘pte_mkwrite’; did you mean ‘maybe_mkwrite’? [-Werror=implicit-function-declaration] 971 | pte = pte_mkwrite(pte); | ^~~~~~~~~~~ | maybe_mkwrite ./include/linux/mm.h:971:23: error: incompatible types when assigning to type ‘pte_t’ from type ‘int’ In file included from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/clock.c:56: ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/mm.h:971:23: error: implicit declaration of function ‘pte_mkwrite’; did you mean ‘maybe_mkwrite’? [-Werror=implicit-function-declaration] 971 | pte = pte_mkwrite(pte); | ^~~~~~~~~~~ | maybe_mkwrite ./include/linux/mm.h:971:23: error: incompatible types when assigning to type ‘pte_t’ from type ‘int’ In file included from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/cputime.c:5: ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/mm.h:2080:25: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2080 | atomic_long_add(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: ./include/linux/mm.h:2087:25: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2087 | atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D In file included from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/clock.c:56: ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/mm.h:2080:25: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2080 | atomic_long_add(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/mm.h:2104:25: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2104 | atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: In file included from ./include/linux/mmu_context.h:5, from kernel/sched/sched.h:54, from kernel/sched/loadavg.c:9: ./arch/m68k/include/asm/mmu_context.h: In function ‘switch_mm_0230’: ./arch/m68k/include/asm/mmu_context.h:239:30: error: ‘_PAGE_TABLE’ undeclared (first use in this function); did you mean ‘NR_PAGETABLE’? 239 | 0x80000000 | _PAGE_TABLE, mm->context | ^~~~~~~~~~~ | NR_PAGETABLE ./include/linux/mm.h:2087:25: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2087 | atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/mm.h:2109:25: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2109 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/mm.h:2104:25: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2104 | atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/mm.h:2109:25: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_P4D’? 2109 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_P4D ./arch/m68k/include/asm/mmu_context.h:250:38: error: ‘FLUSH_I_AND_D’ undeclared (first use in this function) 250 | : "=d" (tmp) : "di" (FLUSH_I_AND_D)); | ^~~~~~~~~~~~~ In file included from ./include/linux/mmu_context.h:5, from kernel/sched/sched.h:54, from kernel/sched/core.c:13: ./arch/m68k/include/asm/mmu_context.h: In function ‘switch_mm_0230’: ./arch/m68k/include/asm/mmu_context.h:239:30: error: ‘_PAGE_TABLE’ undeclared (first use in this function); did you mean ‘NR_PAGETABLE’? 239 | 0x80000000 | _PAGE_TABLE, mm->context | ^~~~~~~~~~~ | NR_PAGETABLE In file included from ./arch/m68k/include/asm/tlb.h:5, from kernel/sched/sched.h:69, from kernel/sched/loadavg.c:9: ./include/asm-generic/tlb.h: In function ‘tlb_get_unmap_shift’: ./include/asm-generic/tlb.h:468:24: error: ‘PMD_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 468 | return PMD_SHIFT; | ^~~~~~~~~ | PUD_SHIFT In file included from ./include/asm-generic/pgtable-nopud.h:7, from ./arch/m68k/include/asm/pgtable_no.h:5, from ./arch/m68k/include/asm/pgtable.h:3, from ./include/linux/pgtable.h:6, from ./include/linux/mm.h:33, from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/loadavg.c:9: ./include/asm-generic/pgtable-nop4d.h:11:33: error: ‘PGDIR_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 11 | #define P4D_SHIFT PGDIR_SHIFT | ^~~~~~~~~~~ ./include/asm-generic/pgtable-nopud.h:18:25: note: in expansion of macro ‘P4D_SHIFT’ 18 | #define PUD_SHIFT P4D_SHIFT | ^~~~~~~~~ ./include/asm-generic/tlb.h:470:24: note: in expansion of macro ‘PUD_SHIFT’ 470 | return PUD_SHIFT; | ^~~~~~~~~ ./arch/m68k/include/asm/mmu_context.h:250:38: error: ‘FLUSH_I_AND_D’ undeclared (first use in this function) 250 | : "=d" (tmp) : "di" (FLUSH_I_AND_D)); | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:280: kernel/sched/loadavg.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CC kernel/locking/semaphore.o In file included from ./arch/m68k/include/asm/tlb.h:5, from kernel/sched/sched.h:69, from kernel/sched/core.c:13: ./include/asm-generic/tlb.h: In function ‘tlb_get_unmap_shift’: ./include/asm-generic/tlb.h:468:24: error: ‘PMD_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 468 | return PMD_SHIFT; | ^~~~~~~~~ | PUD_SHIFT In file included from ./include/asm-generic/pgtable-nopud.h:7, from ./arch/m68k/include/asm/pgtable_no.h:5, from ./arch/m68k/include/asm/pgtable.h:3, from ./include/linux/pgtable.h:6, from ./include/linux/mm.h:33, from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/core.c:13: ./include/asm-generic/pgtable-nop4d.h:11:33: error: ‘PGDIR_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 11 | #define P4D_SHIFT PGDIR_SHIFT | ^~~~~~~~~~~ ./include/asm-generic/pgtable-nopud.h:18:25: note: in expansion of macro ‘P4D_SHIFT’ 18 | #define PUD_SHIFT P4D_SHIFT | ^~~~~~~~~ ./include/asm-generic/tlb.h:470:24: note: in expansion of macro ‘PUD_SHIFT’ 470 | return PUD_SHIFT; | ^~~~~~~~~ In file included from ./include/linux/mmu_context.h:5, from kernel/sched/sched.h:54, from kernel/sched/cputime.c:5: ./arch/m68k/include/asm/mmu_context.h: In function ‘switch_mm_0230’: ./arch/m68k/include/asm/mmu_context.h:239:30: error: ‘_PAGE_TABLE’ undeclared (first use in this function); did you mean ‘NR_PAGETABLE’? 239 | 0x80000000 | _PAGE_TABLE, mm->context | ^~~~~~~~~~~ | NR_PAGETABLE In file included from ./include/linux/mmu_context.h:5, from kernel/sched/sched.h:54, from kernel/sched/clock.c:56: ./arch/m68k/include/asm/mmu_context.h: In function ‘switch_mm_0230’: ./arch/m68k/include/asm/mmu_context.h:239:30: error: ‘_PAGE_TABLE’ undeclared (first use in this function); did you mean ‘NR_PAGETABLE’? 239 | 0x80000000 | _PAGE_TABLE, mm->context | ^~~~~~~~~~~ | NR_PAGETABLE ./arch/m68k/include/asm/mmu_context.h:250:38: error: ‘FLUSH_I_AND_D’ undeclared (first use in this function) 250 | : "=d" (tmp) : "di" (FLUSH_I_AND_D)); | ^~~~~~~~~~~~~ ./arch/m68k/include/asm/mmu_context.h:250:38: error: ‘FLUSH_I_AND_D’ undeclared (first use in this function) 250 | : "=d" (tmp) : "di" (FLUSH_I_AND_D)); | ^~~~~~~~~~~~~ In file included from ./arch/m68k/include/asm/tlb.h:5, from kernel/sched/sched.h:69, from kernel/sched/cputime.c:5: ./include/asm-generic/tlb.h: In function ‘tlb_get_unmap_shift’: ./include/asm-generic/tlb.h:468:24: error: ‘PMD_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 468 | return PMD_SHIFT; | ^~~~~~~~~ | PUD_SHIFT In file included from ./arch/m68k/include/asm/tlb.h:5, from kernel/sched/sched.h:69, from kernel/sched/clock.c:56: ./include/asm-generic/tlb.h: In function ‘tlb_get_unmap_shift’: ./include/asm-generic/tlb.h:468:24: error: ‘PMD_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 468 | return PMD_SHIFT; | ^~~~~~~~~ | PUD_SHIFT In file included from ./include/asm-generic/pgtable-nopud.h:7, from ./arch/m68k/include/asm/pgtable_no.h:5, from ./arch/m68k/include/asm/pgtable.h:3, from ./include/linux/pgtable.h:6, from ./include/linux/mm.h:33, from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/cputime.c:5: ./include/asm-generic/pgtable-nop4d.h:11:33: error: ‘PGDIR_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 11 | #define P4D_SHIFT PGDIR_SHIFT | ^~~~~~~~~~~ ./include/asm-generic/pgtable-nopud.h:18:25: note: in expansion of macro ‘P4D_SHIFT’ 18 | #define PUD_SHIFT P4D_SHIFT | ^~~~~~~~~ ./include/asm-generic/tlb.h:470:24: note: in expansion of macro ‘PUD_SHIFT’ 470 | return PUD_SHIFT; | ^~~~~~~~~ cc1: some warnings being treated as errors In file included from ./include/asm-generic/pgtable-nopud.h:7, from ./arch/m68k/include/asm/pgtable_no.h:5, from ./arch/m68k/include/asm/pgtable.h:3, from ./include/linux/pgtable.h:6, from ./include/linux/mm.h:33, from ./include/linux/bvec.h:14, from ./include/linux/blk_types.h:10, from ./include/linux/genhd.h:19, from ./include/linux/blkdev.h:8, from kernel/sched/sched.h:39, from kernel/sched/clock.c:56: ./include/asm-generic/pgtable-nop4d.h:11:33: error: ‘PGDIR_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 11 | #define P4D_SHIFT PGDIR_SHIFT | ^~~~~~~~~~~ ./include/asm-generic/pgtable-nopud.h:18:25: note: in expansion of macro ‘P4D_SHIFT’ 18 | #define PUD_SHIFT P4D_SHIFT | ^~~~~~~~~ ./include/asm-generic/tlb.h:470:24: note: in expansion of macro ‘PUD_SHIFT’ 470 | return PUD_SHIFT; | ^~~~~~~~~ make[3]: *** [scripts/Makefile.build:280: kernel/sched/core.o] Error 1 CC kernel/locking/rwsem.o cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:280: kernel/sched/cputime.o] Error 1 CC kernel/locking/percpu-rwsem.o cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:280: kernel/sched/clock.o] Error 1 make[2]: *** [scripts/Makefile.build:497: kernel/sched] Error 2 make[2]: *** Waiting for unfinished jobs.... CC kernel/locking/rtmutex.o In file included from ./include/linux/mm.h:33, from ./include/linux/kallsyms.h:12, from ./include/linux/ftrace.h:11, from kernel/locking/semaphore.c:34: ./include/linux/pgtable.h: In function ‘pte_index’: ./include/linux/pgtable.h:45:43: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 45 | return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:45:43: note: each undeclared identifier is reported only once for each function it appears in ./include/linux/pgtable.h: In function ‘pmd_index’: ./include/linux/pgtable.h:52:28: error: ‘PMD_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 52 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~ | PUD_SHIFT ./include/linux/pgtable.h:52:42: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 52 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD In file included from ./include/asm-generic/pgtable-nopud.h:7, from ./arch/m68k/include/asm/pgtable_no.h:5, from ./arch/m68k/include/asm/pgtable.h:3, from ./include/linux/pgtable.h:6, from ./include/linux/mm.h:33, from ./include/linux/kallsyms.h:12, from ./include/linux/ftrace.h:11, from kernel/locking/semaphore.c:34: ./include/linux/pgtable.h: In function ‘pud_index’: ./include/asm-generic/pgtable-nop4d.h:11:33: error: ‘PGDIR_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 11 | #define P4D_SHIFT PGDIR_SHIFT | ^~~~~~~~~~~ ./include/asm-generic/pgtable-nopud.h:18:25: note: in expansion of macro ‘P4D_SHIFT’ 18 | #define PUD_SHIFT P4D_SHIFT | ^~~~~~~~~ ./include/linux/pgtable.h:60:28: note: in expansion of macro ‘PUD_SHIFT’ 60 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); | ^~~~~~~~~ In file included from ./include/linux/mm.h:33, from ./include/linux/kallsyms.h:12, from ./include/linux/ftrace.h:11, from kernel/locking/semaphore.c:34: ./include/linux/pgtable.h: In function ‘pte_offset_kernel’: ./include/linux/pgtable.h:73:25: error: implicit declaration of function ‘pmd_page_vaddr’; did you mean ‘p4d_page_vaddr’? [-Werror=implicit-function-declaration] 73 | return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); | ^~~~~~~~~~~~~~ | p4d_page_vaddr ./include/linux/pgtable.h: In function ‘pgd_offset_pgd’: ./include/linux/pgtable.h:67:32: error: ‘PGDIR_SHIFT’ undeclared (first use in this function); did you mean ‘PUD_SHIFT’? 67 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~ ./include/linux/pgtable.h:107:23: note: in expansion of macro ‘pgd_index’ 107 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h:67:48: error: ‘PTRS_PER_PGD’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 67 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~~ ./include/linux/pgtable.h:107:23: note: in expansion of macro ‘pgd_index’ 107 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function ‘virt_to_kpte’: ./include/linux/pgtable.h:146:16: error: implicit declaration of function ‘pmd_none’; did you mean ‘p4d_none’? [-Werror=implicit-function-declaration] 146 | return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h: In function ‘ptep_test_and_clear_young’: ./include/linux/pgtable.h:188:14: error: implicit declaration of function ‘pte_young’ [-Werror=implicit-function-declaration] 188 | if (!pte_young(pte)) | ^~~~~~~~~ ./include/linux/pgtable.h:191:17: error: implicit declaration of function ‘set_pte_at’ [-Werror=implicit-function-declaration] 191 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~~ ./include/linux/pgtable.h:191:55: error: implicit declaration of function ‘pte_mkold’ [-Werror=implicit-function-declaration] 191 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function ‘ptep_get_and_clear’: ./include/linux/pgtable.h:250:9: error: implicit declaration of function ‘pte_clear’; did you mean ‘p4d_clear’? [-Werror=implicit-function-declaration] 250 | pte_clear(mm, address, ptep); | ^~~~~~~~~ | p4d_clear ./include/linux/pgtable.h: In function ‘ptep_set_wrprotect’: ./include/linux/pgtable.h:369:39: error: implicit declaration of function ‘pte_wrprotect’; did you mean ‘ptep_set_wrprotect’? [-Werror=implicit-function-declaration] 369 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~ | ptep_set_wrprotect ./include/linux/pgtable.h: In function ‘pud_none_or_clear_bad’: ./include/linux/pgtable.h:758:13: error: implicit declaration of function ‘pud_none’; did you mean ‘p4d_none’? [-Werror=implicit-function-declaration] 758 | if (pud_none(*pud)) | ^~~~~~~~ | p4d_none In file included from kernel/locking/semaphore.c:27: ./include/linux/pgtable.h:760:22: error: implicit declaration of function ‘pud_bad’; did you mean ‘p4d_bad’? [-Werror=implicit-function-declaration] 760 | if (unlikely(pud_bad(*pud))) { | ^~~~~~~ ./include/linux/compiler.h:78:45: note: in definition of macro ‘unlikely’ 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h: In function ‘pmd_none_or_clear_bad’: ./include/linux/pgtable.h:771:22: error: implicit declaration of function ‘pmd_bad’; did you mean ‘p4d_bad’? [-Werror=implicit-function-declaration] 771 | if (unlikely(pmd_bad(*pmd))) { | ^~~~~~~ ./include/linux/compiler.h:78:45: note: in definition of macro ‘unlikely’ 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ In file included from ./include/linux/mm.h:33, from ./include/linux/kallsyms.h:12, from ./include/linux/ftrace.h:11, from kernel/locking/semaphore.c:34: ./include/linux/pgtable.h: In function ‘pmd_none_or_trans_huge_or_clear_bad’: ./include/linux/pgtable.h:1237:67: error: implicit declaration of function ‘pmd_present’; did you mean ‘p4d_present’? [-Werror=implicit-function-declaration] 1237 | (IS_ENABLED(CONFIG_ARCH_ENABLE_THP_MIGRATION) && !pmd_present(pmdval))) | ^~~~~~~~~~~ | p4d_present In file included from ./include/linux/kallsyms.h:12, from ./include/linux/ftrace.h:11, from kernel/locking/semaphore.c:34: ./include/linux/mm.h: In function ‘maybe_mkwrite’: ./include/linux/mm.h:971:23: error: implicit declaration of function ‘pte_mkwrite’; did you mean ‘maybe_mkwrite’? [-Werror=implicit-function-declaration] 971 | pte = pte_mkwrite(pte); | ^~~~~~~~~~~ | maybe_mkwrite ./include/linux/mm.h:971:23: error: incompatible types when assigning to type ‘pte_t’ from type ‘int’ {standard input}: Assembler messages: {standard input}:63: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:102: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:112: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:139: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:177: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `andiw #-1793,%sr' ignored {standard input}:283: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:310: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored make[3]: *** [scripts/Makefile.build:280: kernel/locking/percpu-rwsem.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/kallsyms.h:12, from ./include/linux/ftrace.h:11, from kernel/locking/semaphore.c:34: ./include/linux/mm.h: In function ‘mm_inc_nr_pmds’: ./include/linux/mm.h:2080:25: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 2080 | atomic_long_add(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/mm.h: In function ‘mm_dec_nr_pmds’: ./include/linux/mm.h:2087:25: error: ‘PTRS_PER_PMD’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 2087 | atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/mm.h: In function ‘mm_inc_nr_ptes’: ./include/linux/mm.h:2104:25: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 2104 | atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/mm.h: In function ‘mm_dec_nr_ptes’: ./include/linux/mm.h:2109:25: error: ‘PTRS_PER_PTE’ undeclared (first use in this function); did you mean ‘PTRS_PER_PUD’? 2109 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD {standard input}: Assembler messages: {standard input}:21: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `andiw #-1793,%sr' ignored {standard input}:49: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:77: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:147: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:174: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:228: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:315: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:382: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:415: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:432: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:463: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:483: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:522: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:560: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:602: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:617: Error: operands mismatch -- statement `andl #-7,(%a3)' ignored {standard input}:733: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:776: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:806: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:831: Error: operands mismatch -- statement `orl #2,4(%a3)' ignored {standard input}:842: Error: operands mismatch -- statement `orl #2,(%a3)' ignored {standard input}:874: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:887: Error: operands mismatch -- statement `addl #-4,(%a3)' ignored {standard input}:895: Error: operands mismatch -- statement `andl #-3,(%a3)' ignored {standard input}:935: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:955: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:981: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored make[3]: *** [scripts/Makefile.build:280: kernel/locking/rwsem.o] Error 1 cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:280: kernel/locking/semaphore.o] Error 1 {standard input}: Assembler messages: {standard input}:21: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `andiw #-1793,%sr' ignored {standard input}:267: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:297: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:411: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:742: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:768: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:871: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:947: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1034: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1153: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1230: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1250: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1351: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1388: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1400: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1425: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1482: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1589: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1633: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored {standard input}:1665: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `oriw #0x0700,%sr' ignored make[3]: *** [scripts/Makefile.build:280: kernel/locking/rtmutex.o] Error 1 make[2]: *** [scripts/Makefile.build:497: kernel/locking] Error 2 make[1]: *** [Makefile:1822: kernel] Error 2 make[1]: Leaving directory '/home/thomas/autobuild/instance-3/output-1/build/linux-5.10.109-cip5-rt4' make: *** [package/pkg-generic.mk:293: /home/thomas/autobuild/instance-3/output-1/build/linux-5.10.109-cip5-rt4/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-3/buildroot'