>>> linux 6.10.3 Extracting xzcat /home/buildroot/autobuild/run/instance-1/dl/linux/linux-6.10.3.tar.xz | /home/buildroot/autobuild/run/instance-1/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3 -xf - >>> linux 6.10.3 Patching for p in ; do if test -d $p ; then TAR="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/tar" PATH=/home/buildroot/autobuild/run/instance-1/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3 $p \*.patch || exit 1 ; else TAR="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/tar" PATH=/home/buildroot/autobuild/run/instance-1/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3 `dirname $p` `basename $p` || exit 1; fi done make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTCC scripts/kconfig/lexer.lex.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'multi_defconfig' # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' Using /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3/.config as base # # merged configuration written to /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3/.config (needs make) # make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' # # No change to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' >>> linux 6.10.3 Updating kernel config with fixups make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' # # configuration written to .config # make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' >>> linux 6.10.3 Configuring >>> linux 6.10.3 Building GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-1/output-1/host/bin:/home/buildroot/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/run/instance-1/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/run/instance-1/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/run/instance-1/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 HOSTCC="/usr/bin/gcc -O2 -isystem /home/buildroot/autobuild/run/instance-1/output-1/host/include -L/home/buildroot/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/output-1/host/lib" ARCH=m68k INSTALL_MOD_PATH=/home/buildroot/autobuild/run/instance-1/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/run/instance-1/output-1/host/bin/m68k-buildroot-uclinux-uclibc-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/buildroot/autobuild/run/instance-1/output-1/host/sbin/depmod -C /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3 all make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' SYNC include/config/auto.conf.cmd HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/expr.o HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf SYSTBL arch/m68k/include/generated/asm/syscall_table.h SYSHDR arch/m68k/include/generated/uapi/asm/unistd_32.h WRAP arch/m68k/include/generated/uapi/asm/auxvec.h WRAP arch/m68k/include/generated/uapi/asm/bitsperlong.h WRAP arch/m68k/include/generated/uapi/asm/bpf_perf_event.h WRAP arch/m68k/include/generated/uapi/asm/errno.h WRAP arch/m68k/include/generated/uapi/asm/ioctl.h WRAP arch/m68k/include/generated/uapi/asm/ipcbuf.h WRAP arch/m68k/include/generated/uapi/asm/mman.h WRAP arch/m68k/include/generated/uapi/asm/msgbuf.h WRAP arch/m68k/include/generated/uapi/asm/resource.h WRAP arch/m68k/include/generated/uapi/asm/sembuf.h WRAP arch/m68k/include/generated/uapi/asm/shmbuf.h WRAP arch/m68k/include/generated/uapi/asm/siginfo.h WRAP arch/m68k/include/generated/uapi/asm/socket.h WRAP arch/m68k/include/generated/uapi/asm/sockios.h WRAP arch/m68k/include/generated/uapi/asm/statfs.h WRAP arch/m68k/include/generated/uapi/asm/termbits.h WRAP arch/m68k/include/generated/uapi/asm/termios.h WRAP arch/m68k/include/generated/uapi/asm/types.h UPD include/generated/uapi/linux/version.h WRAP arch/m68k/include/generated/asm/extable.h WRAP arch/m68k/include/generated/asm/kvm_para.h WRAP arch/m68k/include/generated/asm/mcs_spinlock.h WRAP arch/m68k/include/generated/asm/spinlock.h WRAP arch/m68k/include/generated/asm/archrandom.h WRAP arch/m68k/include/generated/asm/barrier.h WRAP arch/m68k/include/generated/asm/bugs.h WRAP arch/m68k/include/generated/asm/cfi.h WRAP arch/m68k/include/generated/asm/compat.h WRAP arch/m68k/include/generated/asm/device.h WRAP arch/m68k/include/generated/asm/dma-mapping.h UPD include/generated/compile.h WRAP arch/m68k/include/generated/asm/emergency-restart.h WRAP arch/m68k/include/generated/asm/exec.h WRAP arch/m68k/include/generated/asm/futex.h WRAP arch/m68k/include/generated/asm/hardirq.h WRAP arch/m68k/include/generated/asm/hw_irq.h UPD include/config/kernel.release WRAP arch/m68k/include/generated/asm/irq_regs.h WRAP arch/m68k/include/generated/asm/irq_work.h WRAP arch/m68k/include/generated/asm/kdebug.h WRAP arch/m68k/include/generated/asm/kmap_size.h WRAP arch/m68k/include/generated/asm/kprobes.h WRAP arch/m68k/include/generated/asm/local.h WRAP arch/m68k/include/generated/asm/local64.h WRAP arch/m68k/include/generated/asm/mmiowb.h WRAP arch/m68k/include/generated/asm/msi.h WRAP arch/m68k/include/generated/asm/percpu.h WRAP arch/m68k/include/generated/asm/preempt.h WRAP arch/m68k/include/generated/asm/sections.h WRAP arch/m68k/include/generated/asm/rwonce.h HOSTCC scripts/kallsyms WRAP arch/m68k/include/generated/asm/shmparam.h WRAP arch/m68k/include/generated/asm/simd.h WRAP arch/m68k/include/generated/asm/softirq_stack.h WRAP arch/m68k/include/generated/asm/topology.h WRAP arch/m68k/include/generated/asm/trace_clock.h WRAP arch/m68k/include/generated/asm/unaligned.h WRAP arch/m68k/include/generated/asm/word-at-a-time.h WRAP arch/m68k/include/generated/asm/vermagic.h WRAP arch/m68k/include/generated/asm/xor.h HOSTCC scripts/asn1_compiler UPD include/generated/utsrelease.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s UPD scripts/mod/devicetable-offsets.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/symsearch.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost CC kernel/bounds.s CHKSHA1 include/linux/atomic/atomic-arch-fallback.h CHKSHA1 include/linux/atomic/atomic-instrumented.h CHKSHA1 include/linux/atomic/atomic-long.h UPD include/generated/timeconst.h UPD include/generated/bounds.h CC arch/m68k/kernel/asm-offsets.s UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh LDS scripts/module.lds CC init/main.o LDS arch/m68k/kernel/vmlinux.lds AS arch/m68k/kernel/head.o HOSTCC usr/gen_init_cpio AS arch/m68k/kernel/entry.o In file included from ./include/linux/kernel.h:15, from ./include/linux/cpumask.h:11, from ./include/linux/alloc_tag.h:13, from ./include/linux/percpu.h:5, from ./include/linux/arch_topology.h:9, from ./include/linux/topology.h:30, from ./include/linux/gfp.h:8, from ./include/linux/slab.h:16, from ./arch/m68k/include/asm/pgtable_no.h:11, from ./arch/m68k/include/asm/pgtable.h:8, from ./include/linux/pgtable.h:6, from arch/m68k/kernel/head.S:254: ./include/linux/align.h:8: warning: "ALIGN" redefined 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | In file included from arch/m68k/kernel/head.S:252: ./include/linux/linkage.h:103: note: this is the location of the previous definition 103 | #define ALIGN __ALIGN | In file included from ./include/linux/panic.h:5, from ./include/linux/kernel.h:30: ./include/linux/compiler_attributes.h:55: warning: "__always_inline" redefined 55 | #define __always_inline inline __attribute__((__always_inline__)) | In file included from ./include/linux/stddef.h:5, from ./include/linux/container_of.h:6, from ./include/linux/alloc_tag.h:10: ./include/uapi/linux/stddef.h:8: note: this is the location of the previous definition 8 | #define __always_inline inline | ./include/linux/compiler_attributes.h:91:20: error: missing binary operator before token "(" 91 | #if __has_attribute(__copy__) | ^ ./include/linux/compiler_attributes.h:104:20: error: missing binary operator before token "(" 104 | #if __has_attribute(__counted_by__) | ^ ./include/linux/compiler_attributes.h:107: warning: "__counted_by" redefined 107 | # define __counted_by(member) | ./include/uapi/linux/stddef.h:55: note: this is the location of the previous definition 55 | #define __counted_by(m) | ./include/linux/compiler_attributes.h:116:20: error: missing binary operator before token "(" 116 | #if __has_attribute(__diagnose_as_builtin__) | ^ ./include/linux/compiler_attributes.h:139:20: error: missing binary operator before token "(" 139 | #if __has_attribute(__designated_init__) | ^ ./include/linux/compiler_attributes.h:150:20: error: missing binary operator before token "(" 150 | #if __has_attribute(__error__) | ^ ./include/linux/compiler_attributes.h:161:20: error: missing binary operator before token "(" 161 | #if __has_attribute(__externally_visible__) | ^ ./include/linux/compiler_attributes.h:198:20: error: missing binary operator before token "(" 198 | #if __has_attribute(__no_caller_saved_registers__) | ^ ./include/linux/compiler_attributes.h:209:20: error: missing binary operator before token "(" 209 | #if __has_attribute(__noclone__) | ^ ./include/linux/compiler_attributes.h:226:20: error: missing binary operator before token "(" 226 | #if __has_attribute(__fallthrough__) | ^ ./include/linux/compiler_attributes.h:252:20: error: missing binary operator before token "(" 252 | #if __has_attribute(__nonstring__) | ^ ./include/linux/compiler_attributes.h:264:20: error: missing binary operator before token "(" 264 | #if __has_attribute(__no_profile_instrument_function__) | ^ ./include/linux/compiler_attributes.h:283:20: error: missing binary operator before token "(" 283 | #if __has_attribute(__no_stack_protector__) | ^ ./include/linux/compiler_attributes.h:294:20: error: missing binary operator before token "(" 294 | #if __has_attribute(__overloadable__) | ^ ./include/linux/compiler_attributes.h:313:20: error: missing binary operator before token "(" 313 | #if __has_attribute(__pass_dynamic_object_size__) | ^ ./include/linux/compiler_attributes.h:318:20: error: missing binary operator before token "(" 318 | #if __has_attribute(__pass_object_size__) | ^ ./include/linux/compiler_attributes.h:342:20: error: missing binary operator before token "(" 342 | #if __has_attribute(__uninitialized__) | ^ ./include/linux/compiler_attributes.h:388:20: error: missing binary operator before token "(" 388 | #if __has_attribute(__warning__) | ^ ./include/linux/compiler_attributes.h:405:20: error: missing binary operator before token "(" 405 | #if __has_attribute(disable_sanitizer_instrumentation) | ^ arch/m68k/kernel/entry.S: Assembler messages: arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:50: Info: macro invoked from here arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:56: Info: macro invoked from here arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:63: Info: macro invoked from here arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:69: Info: macro invoked from here arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:76: Info: macro invoked from here arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:86: Info: macro invoked from here arch/m68k/kernel/entry.S:214: Error: operands mismatch -- statement `moveml %sp@+,%a3-%a6/%d6-%d7' ignored arch/m68k/kernel/entry.S:105: Info: macro invoked from here arch/m68k/kernel/entry.S:190: Error: operands mismatch -- statement `moveml %d1-%d5/%a0-%a2,%sp@-' ignored arch/m68k/kernel/entry.S:112: Info: macro invoked from here arch/m68k/kernel/entry.S:190: Error: operands mismatch -- statement `moveml %d1-%d5/%a0-%a2,%sp@-' ignored arch/m68k/kernel/entry.S:120: Info: macro invoked from here arch/m68k/kernel/entry.S:178: Error: operands mismatch -- statement `movel #-38,%sp@(32)' ignored arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:180: Info: macro invoked from here arch/m68k/kernel/entry.S:214: Error: operands mismatch -- statement `moveml %sp@+,%a3-%a6/%d6-%d7' ignored arch/m68k/kernel/entry.S:182: Info: macro invoked from here arch/m68k/kernel/entry.S:191: Error: operands mismatch -- statement `movel #-38,%sp@(32)' ignored arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:196: Info: macro invoked from here arch/m68k/kernel/entry.S:214: Error: operands mismatch -- statement `moveml %sp@+,%a3-%a6/%d6-%d7' ignored arch/m68k/kernel/entry.S:198: Info: macro invoked from here arch/m68k/kernel/entry.S:197: Error: operands mismatch -- statement `moveml %d1-%d5/%a0-%a2,%sp@-' ignored arch/m68k/kernel/entry.S:203: Info: macro invoked from here arch/m68k/kernel/entry.S:220: Error: invalid operand mode for this architecture; needs 68020 or higher -- statement `jbsr @(sys_call_table,%d0:l:4)@(0)' ignored arch/m68k/kernel/entry.S:201: Error: operands mismatch -- statement `moveml %sp@+,%a0-%a2/%d1-%d5' ignored arch/m68k/kernel/entry.S:227: Info: macro invoked from here arch/m68k/kernel/entry.S:232: 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 `lslw #1,%d0' ignored arch/m68k/kernel/entry.S:235: 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 `lslw #8,%d0' ignored arch/m68k/kernel/entry.S:248: 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 `andw #(~0x700),%sr' ignored arch/m68k/kernel/entry.S:201: Error: operands mismatch -- statement `moveml %sp@+,%a0-%a2/%d1-%d5' ignored arch/m68k/kernel/entry.S:254: Info: macro invoked from here arch/m68k/kernel/entry.S:259: 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 `lslb #1,%d0' ignored arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:268: Info: macro invoked from here arch/m68k/kernel/entry.S:270: Error: invalid instruction for this architecture; needs 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 51 [51ac, 51ag, 51cn, 51em, 51je, 51jf, 51jg, 51jm, 51mm, 51qe, 51qm], 5407, 54418 [54410, 54415, 54416, 54417], 54455 [54450, 54451, 54452, 54453, 54454], 547x [5470, 5471, 5472, 5473, 5474, ... -- statement `bsrl do_notify_resume' ignored arch/m68k/kernel/entry.S:214: Error: operands mismatch -- statement `moveml %sp@+,%a3-%a6/%d6-%d7' ignored arch/m68k/kernel/entry.S:272: Info: macro invoked from here arch/m68k/kernel/entry.S:190: Error: operands mismatch -- statement `moveml %d1-%d5/%a0-%a2,%sp@-' ignored arch/m68k/kernel/entry.S:290: Info: macro invoked from here arch/m68k/kernel/entry.S:293: Error: invalid instruction for this architecture; needs 68020 or higher (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060]) -- statement `bfextu %sp@(52){#4,#10},%d0' ignored arch/m68k/kernel/entry.S:294: 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 `subw #(24),%d0' ignored arch/m68k/kernel/entry.S:190: Error: operands mismatch -- statement `moveml %d1-%d5/%a0-%a2,%sp@-' ignored arch/m68k/kernel/entry.S:306: Info: macro invoked from here arch/m68k/kernel/entry.S:309: Error: invalid instruction for this architecture; needs 68020 or higher (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060]) -- statement `bfextu %sp@(52){#4,#10},%d0' ignored arch/m68k/kernel/entry.S:311: 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 `subw #(64),%d0' ignored arch/m68k/kernel/entry.S:190: Error: operands mismatch -- statement `moveml %d1-%d5/%a0-%a2,%sp@-' ignored arch/m68k/kernel/entry.S:322: Info: macro invoked from here arch/m68k/kernel/entry.S:338: Error: operands mismatch -- statement `movew %sr,%a0@(1088+8)' ignored arch/m68k/kernel/entry.S:341: Error: operands mismatch -- statement `movec %sfc,%d0' ignored arch/m68k/kernel/entry.S:346: Error: operands mismatch -- statement `movec %usp,%d0' ignored arch/m68k/kernel/entry.S:210: Error: operands mismatch -- statement `moveml %a3-%a6/%d6-%d7,%sp@-' ignored arch/m68k/kernel/entry.S:350: Info: macro invoked from here arch/m68k/kernel/entry.S:361: Error: invalid instruction for this architecture; needs 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 547x [5470, 5471, 5472, 5473, 5474, 5475], 548x [5480, 5481, 5482, 5483, 5484, 5485] -- statement `fsave %a0@(1088+144)' ignored arch/m68k/kernel/entry.S:365: Error: operands mismatch -- statement `btst #3,m68k_cputype+3' ignored arch/m68k/kernel/entry.S:379: Error: invalid instruction for this architecture; needs M68K fpu (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360]) -- statement `fmovemx %fp0-%fp7,%a0@(1088+36)' ignored arch/m68k/kernel/entry.S:380: Error: invalid instruction for this architecture; needs M68K fpu (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360]) -- statement `fmoveml %fpcr/%fpsr/%fpiar,%a0@(1088+132)' ignored arch/m68k/kernel/entry.S:397: Error: operands mismatch -- statement `btst #3,m68k_cputype+3' ignored arch/m68k/kernel/entry.S:411: Error: invalid instruction for this architecture; needs M68K fpu (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360]) -- statement `fmovemx %a1@(1088+36),%fp0-%fp7' ignored arch/m68k/kernel/entry.S:412: Error: invalid instruction for this architecture; needs M68K fpu (68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360]) -- statement `fmoveml %a1@(1088+132),%fpcr/%fpsr/%fpiar' ignored arch/m68k/kernel/entry.S:413: Error: invalid instruction for this architecture; needs 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], 547x [5470, 5471, 5472, 5473, 5474, 5475], 548x [5480, 5481, 5482, 5483, 5484, 5485] -- statement `frestore %a1@(1088+144)' ignored arch/m68k/kernel/entry.S:214: Error: operands mismatch -- statement `moveml %sp@+,%a3-%a6/%d6-%d7' ignored arch/m68k/kernel/entry.S:421: Info: macro invoked from here arch/m68k/kernel/entry.S:429: Error: operands mismatch -- statement `movec %a0,%sfc' ignored arch/m68k/kernel/entry.S:430: Error: operands mismatch -- statement `movec %a0,%dfc' ignored arch/m68k/kernel/entry.S:434: 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,%d0' ignored scripts/Makefile.build:362: recipe for target 'arch/m68k/kernel/entry.o' failed make[5]: *** [arch/m68k/kernel/entry.o] Error 1 make[5]: *** Waiting for unfinished jobs.... UPD init/utsversion-tmp.h CC init/do_mounts.o scripts/Makefile.build:362: recipe for target 'arch/m68k/kernel/head.o' failed make[5]: *** [arch/m68k/kernel/head.o] Error 1 scripts/Makefile.build:485: recipe for target 'arch/m68k/kernel' failed make[4]: *** [arch/m68k/kernel] Error 2 scripts/Makefile.build:485: recipe for target 'arch/m68k' failed make[3]: *** [arch/m68k] Error 2 make[3]: *** Waiting for unfinished jobs.... CC init/do_mounts_rd.o GEN usr/initramfs_data.cpio COPY usr/initramfs_inc_data AS usr/initramfs_data.o AR usr/built-in.a CC init/do_mounts_initrd.o In file included from ./include/linux/mm.h:30, from ./include/linux/scatterlist.h:8, from ./include/linux/dma-mapping.h:11, from ./include/linux/kfifo.h:40, from ./include/linux/tty_port.h:5, from ./include/linux/tty.h:11, from init/do_mounts.c:6: ./include/linux/pgtable.h: In function 'pte_index': ./include/linux/pgtable.h:69:43: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 69 | return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:69:43: note: each undeclared identifier is reported only once for each function it appears in ./include/linux/pgtable.h: In function 'pmd_index': In file included from ./include/linux/mm.h:30, from ./include/linux/ring_buffer.h:5, from ./include/linux/trace_events.h:6, from ./include/trace/syscall.h:7, from ./include/linux/syscalls.h:93, from init/main.c:21: ./include/linux/pgtable.h: In function 'pte_index': ./include/linux/pgtable.h:69:43: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 69 | return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:69:43: note: each undeclared identifier is reported only once for each function it appears in ./include/linux/pgtable.h:75:28: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~ | PUD_SHIFT ./include/linux/pgtable.h: In function 'pmd_index': ./include/linux/pgtable.h:75:28: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~ | PUD_SHIFT ./include/linux/pgtable.h:75:42: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:75:42: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 75 | 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:8, from ./include/linux/pgtable.h:6: ./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:83:28: note: in expansion of macro 'PUD_SHIFT' 83 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); | ^~~~~~~~~ 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:8, from ./include/linux/pgtable.h:6: ./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:83:28: note: in expansion of macro 'PUD_SHIFT' 83 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'pte_offset_kernel': ./include/linux/pgtable.h:96:25: error: implicit declaration of function 'pmd_page_vaddr'; did you mean 'pgd_page_vaddr'? [-Werror=implicit-function-declaration] 96 | return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); | ^~~~~~~~~~~~~~ | pgd_page_vaddr ./include/linux/pgtable.h: In function 'pte_offset_kernel': ./include/linux/pgtable.h:96:25: error: implicit declaration of function 'pmd_page_vaddr'; did you mean 'pgd_page_vaddr'? [-Werror=implicit-function-declaration] 96 | return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); | ^~~~~~~~~~~~~~ | pgd_page_vaddr ./include/linux/pgtable.h: In function 'pgd_offset_pgd': ./include/linux/pgtable.h:90:32: error: 'PGDIR_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ In file included from ./include/linux/mm.h:30, from ./arch/m68k/include/asm/cacheflush_no.h:8, from ./arch/m68k/include/asm/cacheflush.h:3, from ./include/linux/cacheflush.h:5, from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/blk_types.h:10, from ./include/linux/blkdev.h:9, from init/do_mounts.h:3, from init/do_mounts_rd.c:12: ./include/linux/pgtable.h: In function 'pte_index': ./include/linux/pgtable.h:69:43: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 69 | return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:69:43: note: each undeclared identifier is reported only once for each function it appears in ./include/linux/pgtable.h: In function 'pgd_offset_pgd': ./include/linux/pgtable.h:90:32: error: 'PGDIR_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h:90:48: error: 'PTRS_PER_PGD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'pmd_index': ./include/linux/pgtable.h:75:28: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~ | PUD_SHIFT ./include/linux/pgtable.h: In function 'virt_to_kpte': ./include/linux/pgtable.h:177:16: error: implicit declaration of function 'pmd_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 177 | return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h:90:48: error: 'PTRS_PER_PGD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'virt_to_kpte': ./include/linux/pgtable.h:177:16: error: implicit declaration of function 'pmd_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 177 | return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h:75:42: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD In file included from ./arch/m68k/include/asm/thread_info.h:6, from ./include/linux/thread_info.h:60, from ./include/asm-generic/preempt.h:5, from ./arch/m68k/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:79, from ./include/linux/spinlock.h:56, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from init/main.c:17: ./include/linux/pgtable.h: In function 'pte_advance_pfn': ./include/linux/pgtable.h:239:44: error: 'PFN_PTE_SHIFT' undeclared (first use in this function); did you mean 'S_DT_SHIFT'? 239 | return __pte(pte_val(pte) + (nr << PFN_PTE_SHIFT)); | ^~~~~~~~~~~~~ ./arch/m68k/include/asm/page.h:45:37: note: in definition of macro '__pte' 45 | #define __pte(x) ((pte_t) { (x) } ) | ^ 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:8, from ./include/linux/pgtable.h:6: ./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:83:28: note: in expansion of macro 'PUD_SHIFT' 83 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'set_ptes': ./include/linux/pgtable.h:271:17: error: implicit declaration of function 'set_pte'; did you mean 'set_ptes'? [-Werror=implicit-function-declaration] 271 | set_pte(ptep, pte); | ^~~~~~~ | set_ptes In file included from ./arch/m68k/include/asm/thread_info.h:6, from ./include/linux/thread_info.h:60, from ./include/asm-generic/preempt.h:5, from ./arch/m68k/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:79, from ./include/linux/spinlock.h:56, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:17, from init/do_mounts.c:2: ./include/linux/pgtable.h: In function 'pte_advance_pfn': ./include/linux/pgtable.h:239:44: error: 'PFN_PTE_SHIFT' undeclared (first use in this function); did you mean 'S_DT_SHIFT'? 239 | return __pte(pte_val(pte) + (nr << PFN_PTE_SHIFT)); | ^~~~~~~~~~~~~ ./arch/m68k/include/asm/page.h:45:37: note: in definition of macro '__pte' 45 | #define __pte(x) ((pte_t) { (x) } ) | ^ ./include/linux/pgtable.h: In function 'ptep_test_and_clear_young': ./include/linux/pgtable.h:356:14: error: implicit declaration of function 'pte_young'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 356 | if (!pte_young(pte)) | ^~~~~~~~~ | pmd_young ./include/linux/pgtable.h: In function 'set_ptes': ./include/linux/pgtable.h:271:17: error: implicit declaration of function 'set_pte'; did you mean 'set_ptes'? [-Werror=implicit-function-declaration] 271 | set_pte(ptep, pte); | ^~~~~~~ | set_ptes ./include/linux/pgtable.h: In function 'pte_offset_kernel': ./include/linux/pgtable.h:96:25: error: implicit declaration of function 'pmd_page_vaddr'; did you mean 'pgd_page_vaddr'? [-Werror=implicit-function-declaration] 96 | return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); | ^~~~~~~~~~~~~~ | pgd_page_vaddr ./include/linux/pgtable.h: In function 'ptep_test_and_clear_young': ./include/linux/pgtable.h:356:14: error: implicit declaration of function 'pte_young'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 356 | if (!pte_young(pte)) | ^~~~~~~~~ | pmd_young ./include/linux/pgtable.h:359:55: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:359:55: error: incompatible type for argument 4 of 'set_ptes' 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ ./include/linux/pgtable.h: In function 'ptep_get_and_clear': ./include/linux/pgtable.h:456:9: error: implicit declaration of function 'pte_clear'; did you mean 'p4d_clear'? [-Werror=implicit-function-declaration] 456 | pte_clear(mm, address, ptep); | ^~~~~~~~~ | p4d_clear ./include/linux/pgtable.h: In function 'clear_young_dirty_ptes': ./include/linux/pgtable.h:493:39: error: incompatible types when assigning to type 'pte_t' from type 'int' 493 | pte = pte_mkold(pte); | ^~~~~~~~~ ./include/linux/pgtable.h:359:55: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:359:55: error: incompatible type for argument 4 of 'set_ptes' 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ ./include/linux/pgtable.h: In function 'pgd_offset_pgd': ./include/linux/pgtable.h:90:32: error: 'PGDIR_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'ptep_get_and_clear': ./include/linux/pgtable.h:456:9: error: implicit declaration of function 'pte_clear'; did you mean 'p4d_clear'? [-Werror=implicit-function-declaration] 456 | pte_clear(mm, address, ptep); | ^~~~~~~~~ | p4d_clear ./include/linux/pgtable.h: In function 'clear_young_dirty_ptes': ./include/linux/pgtable.h:493:39: error: incompatible types when assigning to type 'pte_t' from type 'int' 493 | pte = pte_mkold(pte); | ^~~~~~~~~ ./include/linux/pgtable.h:495:39: error: implicit declaration of function 'pte_mkclean' [-Werror=implicit-function-declaration] 495 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ ./include/linux/pgtable.h:495:39: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h:90:48: error: 'PTRS_PER_PGD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'virt_to_kpte': ./include/linux/pgtable.h:177:16: error: implicit declaration of function 'pmd_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 177 | return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h: In function 'get_and_clear_full_ptes': ./include/linux/pgtable.h:683:21: error: implicit declaration of function 'pte_dirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 683 | if (pte_dirty(tmp_pte)) | ^~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h:495:39: error: implicit declaration of function 'pte_mkclean' [-Werror=implicit-function-declaration] 495 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ ./include/linux/pgtable.h:495:39: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h: In function 'get_and_clear_full_ptes': ./include/linux/pgtable.h:683:21: error: implicit declaration of function 'pte_dirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 683 | if (pte_dirty(tmp_pte)) | ^~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h:684:31: error: implicit declaration of function 'pte_mkdirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 684 | pte = pte_mkdirty(pte); | ^~~~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h:684:31: error: incompatible types when assigning to type 'pte_t' from type 'int' In file included from ./arch/m68k/include/asm/thread_info.h:6, from ./include/linux/thread_info.h:60, from ./include/asm-generic/preempt.h:5, from ./arch/m68k/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:79, from ./include/linux/spinlock.h:56, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from init/do_mounts_rd.c:3: ./include/linux/pgtable.h: In function 'pte_advance_pfn': ./include/linux/pgtable.h:239:44: error: 'PFN_PTE_SHIFT' undeclared (first use in this function); did you mean 'S_DT_SHIFT'? 239 | return __pte(pte_val(pte) + (nr << PFN_PTE_SHIFT)); | ^~~~~~~~~~~~~ ./arch/m68k/include/asm/page.h:45:37: note: in definition of macro '__pte' 45 | #define __pte(x) ((pte_t) { (x) } ) | ^ ./include/linux/pgtable.h: In function 'set_ptes': ./include/linux/pgtable.h:271:17: error: implicit declaration of function 'set_pte'; did you mean 'set_ptes'? [-Werror=implicit-function-declaration] 271 | set_pte(ptep, pte); | ^~~~~~~ | set_ptes ./include/linux/pgtable.h:684:31: error: implicit declaration of function 'pte_mkdirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 684 | pte = pte_mkdirty(pte); | ^~~~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h:684:31: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h:686:31: error: implicit declaration of function 'pte_mkyoung'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 686 | pte = pte_mkyoung(pte); | ^~~~~~~~~~~ | pmd_young ./include/linux/pgtable.h:686:31: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h: In function 'ptep_test_and_clear_young': ./include/linux/pgtable.h:356:14: error: implicit declaration of function 'pte_young'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 356 | if (!pte_young(pte)) | ^~~~~~~~~ | pmd_young ./include/linux/pgtable.h:686:31: error: implicit declaration of function 'pte_mkyoung'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 686 | pte = pte_mkyoung(pte); | ^~~~~~~~~~~ | pmd_young ./include/linux/pgtable.h:686:31: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h:359:55: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:359:55: error: incompatible type for argument 4 of 'set_ptes' 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ ./include/linux/pgtable.h: In function 'ptep_get_and_clear': ./include/linux/pgtable.h:456:9: error: implicit declaration of function 'pte_clear'; did you mean 'p4d_clear'? [-Werror=implicit-function-declaration] 456 | pte_clear(mm, address, ptep); | ^~~~~~~~~ | p4d_clear ./include/linux/pgtable.h: In function 'clear_young_dirty_ptes': ./include/linux/pgtable.h:493:39: error: incompatible types when assigning to type 'pte_t' from type 'int' 493 | pte = pte_mkold(pte); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'pte_mkwrite': ./include/linux/pgtable.h:802:16: error: implicit declaration of function 'pte_mkwrite_novma'; did you mean 'pte_mkwrite'? [-Werror=implicit-function-declaration] 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~ | pte_mkwrite ./include/linux/pgtable.h:802:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pgtable.h: In function 'pte_mkwrite': ./include/linux/pgtable.h:802:16: error: implicit declaration of function 'pte_mkwrite_novma'; did you mean 'pte_mkwrite'? [-Werror=implicit-function-declaration] 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~ | pte_mkwrite ./include/linux/pgtable.h:802:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/pgtable.h:495:39: error: implicit declaration of function 'pte_mkclean' [-Werror=implicit-function-declaration] 495 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ ./include/linux/pgtable.h:495:39: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h: In function 'get_and_clear_full_ptes': ./include/linux/pgtable.h:683:21: error: implicit declaration of function 'pte_dirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 683 | if (pte_dirty(tmp_pte)) | ^~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h: In function 'ptep_set_wrprotect': ./include/linux/pgtable.h:818:39: error: implicit declaration of function 'pte_wrprotect'; did you mean 'ptep_set_wrprotect'? [-Werror=implicit-function-declaration] 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:818:39: error: incompatible type for argument 4 of 'set_ptes' 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ In file included from ./include/linux/mm.h:30, from ./arch/m68k/include/asm/cacheflush_no.h:8, from ./arch/m68k/include/asm/cacheflush.h:3, from ./include/linux/cacheflush.h:5, from ./include/linux/highmem.h:8, from ./include/linux/bvec.h:10, from ./include/linux/blk_types.h:10, from ./include/linux/blkdev.h:9, from init/do_mounts.h:3, from init/do_mounts_initrd.c:13: ./include/linux/pgtable.h: In function 'pte_index': ./include/linux/pgtable.h:69:43: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 69 | return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:69:43: note: each undeclared identifier is reported only once for each function it appears in ./include/linux/pgtable.h: In function 'pud_none_or_clear_bad': ./include/linux/pgtable.h:1243:13: error: implicit declaration of function 'pud_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 1243 | if (pud_none(*pud)) | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h: In function 'ptep_set_wrprotect': ./include/linux/pgtable.h:818:39: error: implicit declaration of function 'pte_wrprotect'; did you mean 'ptep_set_wrprotect'? [-Werror=implicit-function-declaration] 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:818:39: error: incompatible type for argument 4 of 'set_ptes' 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h: In function 'pmd_index': ./include/linux/pgtable.h:75:28: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~ | PUD_SHIFT ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ In file included from ./include/linux/build_bug.h:5, from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/module.h:12: ./include/linux/pgtable.h:1245:22: error: implicit declaration of function 'pud_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1245 | if (unlikely(pud_bad(*pud))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h: In function 'pmd_none_or_clear_bad': ./include/linux/pgtable.h:1256:22: error: implicit declaration of function 'pmd_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1256 | if (unlikely(pmd_bad(*pmd))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h: In function 'pud_none_or_clear_bad': ./include/linux/pgtable.h:1243:13: error: implicit declaration of function 'pud_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 1243 | if (pud_none(*pud)) | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h:684:31: error: implicit declaration of function 'pte_mkdirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 684 | pte = pte_mkdirty(pte); | ^~~~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h:684:31: error: incompatible types when assigning to type 'pte_t' from type 'int' In file included from ./include/linux/build_bug.h:5, from ./include/linux/container_of.h:5, from ./include/linux/list.h:5, from ./include/linux/module.h:12: ./include/linux/pgtable.h:1245:22: error: implicit declaration of function 'pud_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1245 | if (unlikely(pud_bad(*pud))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h:75:42: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 75 | return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h: In function 'pmd_none_or_clear_bad': ./include/linux/pgtable.h:1256:22: error: implicit declaration of function 'pmd_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1256 | if (unlikely(pmd_bad(*pmd))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h:686:31: error: implicit declaration of function 'pte_mkyoung'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 686 | pte = pte_mkyoung(pte); | ^~~~~~~~~~~ | pmd_young ./include/linux/pgtable.h:686:31: error: incompatible types when assigning to type 'pte_t' from type 'int' 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:8, from ./include/linux/pgtable.h:6: ./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:83:28: note: in expansion of macro 'PUD_SHIFT' 83 | return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'pte_offset_kernel': ./include/linux/pgtable.h:96:25: error: implicit declaration of function 'pmd_page_vaddr'; did you mean 'pgd_page_vaddr'? [-Werror=implicit-function-declaration] 96 | return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); | ^~~~~~~~~~~~~~ | pgd_page_vaddr ./include/linux/pgtable.h: In function 'pte_mkwrite': ./include/linux/pgtable.h:802:16: error: implicit declaration of function 'pte_mkwrite_novma'; did you mean 'pte_mkwrite'? [-Werror=implicit-function-declaration] 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~ | pte_mkwrite ./include/linux/pgtable.h:802:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/mm.h: In function 'mm_inc_nr_pmds': ./include/linux/pgtable.h: In function 'pgd_offset_pgd': ./include/linux/pgtable.h:90:32: error: 'PGDIR_SHIFT' undeclared (first use in this function); did you mean 'PUD_SHIFT'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/mm.h:2807:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2807 | atomic_long_add(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h: In function 'ptep_set_wrprotect': ./include/linux/pgtable.h:818:39: error: implicit declaration of function 'pte_wrprotect'; did you mean 'ptep_set_wrprotect'? [-Werror=implicit-function-declaration] 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:818:39: error: incompatible type for argument 4 of 'set_ptes' 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ ./include/linux/pgtable.h: In function 'pud_none_or_clear_bad': ./include/linux/pgtable.h:1243:13: error: implicit declaration of function 'pud_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 1243 | if (pud_none(*pud)) | ^~~~~~~~ | p4d_none ./include/linux/pgtable.h:90:48: error: 'PTRS_PER_PGD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 90 | #define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) | ^~~~~~~~~~~~ ./include/linux/pgtable.h:140:23: note: in expansion of macro 'pgd_index' 140 | return (pgd + pgd_index(address)); | ^~~~~~~~~ ./include/linux/pgtable.h: In function 'virt_to_kpte': ./include/linux/pgtable.h:177:16: error: implicit declaration of function 'pmd_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 177 | return pmd_none(*pmd) ? NULL : pte_offset_kernel(pmd, vaddr); | ^~~~~~~~ | p4d_none In file included from ./include/linux/array_size.h:5, from ./include/linux/kernel.h:16, from init/do_mounts_rd.c:2: ./include/linux/pgtable.h:1245:22: error: implicit declaration of function 'pud_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1245 | if (unlikely(pud_bad(*pud))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h: In function 'pmd_none_or_clear_bad': ./include/linux/pgtable.h:1256:22: error: implicit declaration of function 'pmd_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1256 | if (unlikely(pmd_bad(*pmd))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/mm.h: In function 'mm_dec_nr_pmds': ./include/linux/mm.h:2814:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2814 | atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD In file included from ./arch/m68k/include/asm/thread_info.h:6, from ./include/linux/thread_info.h:60, from ./include/asm-generic/preempt.h:5, from ./arch/m68k/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:79, from ./include/linux/spinlock.h:56, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from init/do_mounts_initrd.c:4: ./include/linux/pgtable.h: In function 'pte_advance_pfn': ./include/linux/pgtable.h:239:44: error: 'PFN_PTE_SHIFT' undeclared (first use in this function); did you mean 'S_DT_SHIFT'? 239 | return __pte(pte_val(pte) + (nr << PFN_PTE_SHIFT)); | ^~~~~~~~~~~~~ ./arch/m68k/include/asm/page.h:45:37: note: in definition of macro '__pte' 45 | #define __pte(x) ((pte_t) { (x) } ) | ^ ./include/linux/mm.h: In function 'mm_inc_nr_pmds': ./include/linux/pgtable.h: In function 'set_ptes': ./include/linux/pgtable.h:271:17: error: implicit declaration of function 'set_pte'; did you mean 'set_ptes'? [-Werror=implicit-function-declaration] 271 | set_pte(ptep, pte); | ^~~~~~~ | set_ptes ./include/linux/mm.h:2807:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2807 | atomic_long_add(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:2831:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2831 | atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h: In function 'ptep_test_and_clear_young': ./include/linux/pgtable.h:356:14: error: implicit declaration of function 'pte_young'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 356 | if (!pte_young(pte)) | ^~~~~~~~~ | pmd_young ./include/linux/pgtable.h:359:55: error: implicit declaration of function 'pte_mkold' [-Werror=implicit-function-declaration] 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:359:55: error: incompatible type for argument 4 of 'set_ptes' 359 | set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); | ^~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ ./include/linux/mm.h: In function 'mm_dec_nr_pmds': ./include/linux/pgtable.h: In function 'ptep_get_and_clear': ./include/linux/mm.h:2814:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2814 | atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:456:9: error: implicit declaration of function 'pte_clear'; did you mean 'p4d_clear'? [-Werror=implicit-function-declaration] 456 | pte_clear(mm, address, ptep); | ^~~~~~~~~ | p4d_clear ./include/linux/pgtable.h: In function 'clear_young_dirty_ptes': ./include/linux/pgtable.h:493:39: error: incompatible types when assigning to type 'pte_t' from type 'int' 493 | pte = pte_mkold(pte); | ^~~~~~~~~ ./include/linux/mm.h: In function 'mm_dec_nr_ptes': ./include/linux/mm.h:2836:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2836 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:495:39: error: implicit declaration of function 'pte_mkclean' [-Werror=implicit-function-declaration] 495 | pte = pte_mkclean(pte); | ^~~~~~~~~~~ ./include/linux/pgtable.h:495:39: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/pgtable.h: In function 'get_and_clear_full_ptes': ./include/linux/mm.h: In function 'mm_inc_nr_pmds': ./include/linux/pgtable.h:683:21: error: implicit declaration of function 'pte_dirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 683 | if (pte_dirty(tmp_pte)) | ^~~~~~~~~ | pmd_dirty ./include/linux/mm.h:2807:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2807 | atomic_long_add(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:2831:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2831 | atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:684:31: error: implicit declaration of function 'pte_mkdirty'; did you mean 'pmd_dirty'? [-Werror=implicit-function-declaration] 684 | pte = pte_mkdirty(pte); | ^~~~~~~~~~~ | pmd_dirty ./include/linux/pgtable.h:684:31: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/mm.h: In function 'mm_dec_nr_pmds': ./include/linux/mm.h:2814:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2814 | atomic_long_sub(PTRS_PER_PMD * sizeof(pmd_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h:686:31: error: implicit declaration of function 'pte_mkyoung'; did you mean 'pmd_young'? [-Werror=implicit-function-declaration] 686 | pte = pte_mkyoung(pte); | ^~~~~~~~~~~ | pmd_young ./include/linux/pgtable.h:686:31: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/mm.h: In function 'mm_dec_nr_ptes': ./include/linux/mm.h:2836:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2836 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/mm.h: In function 'mm_inc_nr_ptes': ./include/linux/mm.h:2831:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2831 | atomic_long_add(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h: In function 'pte_mkwrite': ./include/linux/pgtable.h:802:16: error: implicit declaration of function 'pte_mkwrite_novma'; did you mean 'pte_mkwrite'? [-Werror=implicit-function-declaration] 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~ | pte_mkwrite ./include/linux/pgtable.h:802:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 802 | return pte_mkwrite_novma(pte); | ^~~~~~~~~~~~~~~~~~~~~~ ./include/linux/mm.h: In function 'mm_dec_nr_ptes': ./include/linux/mm.h:2836:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2836 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD ./include/linux/pgtable.h: In function 'ptep_set_wrprotect': ./include/linux/pgtable.h:818:39: error: implicit declaration of function 'pte_wrprotect'; did you mean 'ptep_set_wrprotect'? [-Werror=implicit-function-declaration] 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~ ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:818:39: error: incompatible type for argument 4 of 'set_ptes' 818 | set_pte_at(mm, address, ptep, pte_wrprotect(old_pte)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int ./include/linux/pgtable.h:280:66: note: in definition of macro 'set_pte_at' 280 | #define set_pte_at(mm, addr, ptep, pte) set_ptes(mm, addr, ptep, pte, 1) | ^~~ ./include/linux/pgtable.h:265:36: note: expected 'pte_t' but argument is of type 'int' 265 | pte_t *ptep, pte_t pte, unsigned int nr) | ~~~~~~^~~ ./include/linux/pgtable.h: In function 'pud_none_or_clear_bad': ./include/linux/pgtable.h:1243:13: error: implicit declaration of function 'pud_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 1243 | if (pud_none(*pud)) | ^~~~~~~~ | p4d_none In file included from ./include/linux/array_size.h:5, from ./include/linux/kernel.h:16, from init/do_mounts_initrd.c:3: ./include/linux/pgtable.h:1245:22: error: implicit declaration of function 'pud_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1245 | if (unlikely(pud_bad(*pud))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/pgtable.h: In function 'pmd_none_or_clear_bad': ./include/linux/pgtable.h:1256:22: error: implicit declaration of function 'pmd_bad'; did you mean 'p4d_bad'? [-Werror=implicit-function-declaration] 1256 | if (unlikely(pmd_bad(*pmd))) { | ^~~~~~~ ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' 77 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ ./include/linux/mm.h: In function 'mm_inc_nr_pmds': ./include/linux/mm.h:2807:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2807 | 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:2814:25: error: 'PTRS_PER_PMD' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2814 | 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:2831:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2831 | 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:2836:25: error: 'PTRS_PER_PTE' undeclared (first use in this function); did you mean 'PTRS_PER_PUD'? 2836 | atomic_long_sub(PTRS_PER_PTE * sizeof(pte_t), &mm->pgtables_bytes); | ^~~~~~~~~~~~ | PTRS_PER_PUD In file included from ./include/linux/mmu_context.h:5, from ./include/linux/cpuset.h:18, from init/main.c:52: ./arch/m68k/include/asm/mmu_context.h: In function 'switch_mm_0230': ./arch/m68k/include/asm/mmu_context.h:237:30: error: '_PAGE_TABLE' undeclared (first use in this function); did you mean 'NR_PAGETABLE'? 237 | 0x80000000 | _PAGE_TABLE, mm->context | ^~~~~~~~~~~ | NR_PAGETABLE In file included from ./include/linux/userfaultfd_k.h:19, from ./include/linux/shmem_fs.h:12, from init/do_mounts.c:20: ./include/linux/swapops.h: In function 'pte_swp_clear_flags': ./include/linux/swapops.h:74:13: error: implicit declaration of function 'pte_swp_exclusive'; did you mean 'tty_kopen_exclusive'? [-Werror=implicit-function-declaration] 74 | if (pte_swp_exclusive(pte)) | ^~~~~~~~~~~~~~~~~ | tty_kopen_exclusive ./arch/m68k/include/asm/mmu_context.h:248:38: error: 'FLUSH_I_AND_D' undeclared (first use in this function) 248 | : "=d" (tmp) : "di" (FLUSH_I_AND_D)); | ^~~~~~~~~~~~~ ./include/linux/swapops.h:75:23: error: implicit declaration of function 'pte_swp_clear_exclusive'; did you mean 'pte_swp_clear_flags'? [-Werror=implicit-function-declaration] 75 | pte = pte_swp_clear_exclusive(pte); | ^~~~~~~~~~~~~~~~~~~~~~~ | pte_swp_clear_flags ./include/linux/swapops.h:75:23: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/swapops.h: In function 'is_swap_pte': ./include/linux/swapops.h:126:17: error: implicit declaration of function 'pte_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 126 | return !pte_none(pte) && !pte_present(pte); | ^~~~~~~~ | p4d_none ./include/linux/swapops.h:126:35: error: implicit declaration of function 'pte_present'; did you mean 'p4d_present'? [-Werror=implicit-function-declaration] 126 | return !pte_none(pte) && !pte_present(pte); | ^~~~~~~~~~~ | p4d_present ./include/linux/swapops.h: In function 'pte_to_swp_entry': ./include/linux/swapops.h:138:22: error: implicit declaration of function '__pte_to_swp_entry'; did you mean 'pte_to_swp_entry'? [-Werror=implicit-function-declaration] 138 | arch_entry = __pte_to_swp_entry(pte); | ^~~~~~~~~~~~~~~~~~ | pte_to_swp_entry ./include/linux/swapops.h:138:22: error: incompatible types when assigning to type 'swp_entry_t' from type 'int' ./include/linux/swapops.h:139:26: error: implicit declaration of function '__swp_type'; did you mean 'swp_type'? [-Werror=implicit-function-declaration] 139 | return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); | ^~~~~~~~~~ | swp_type ./include/linux/swapops.h:139:50: error: implicit declaration of function '__swp_offset'; did you mean 'swp_offset'? [-Werror=implicit-function-declaration] 139 | return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); | ^~~~~~~~~~~~ | swp_offset ./include/linux/swapops.h: In function 'swp_entry_to_pte': ./include/linux/swapops.h:150:22: error: implicit declaration of function '__swp_entry'; did you mean 'swp_entry'? [-Werror=implicit-function-declaration] 150 | arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); | ^~~~~~~~~~~ | swp_entry ./include/linux/swapops.h:150:22: error: incompatible types when assigning to type 'swp_entry_t' from type 'int' In file included from ./include/linux/userfaultfd_k.h:19, from ./include/linux/shmem_fs.h:12, from init/main.c:80: ./include/linux/swapops.h: In function 'pte_swp_clear_flags': ./include/linux/swapops.h:74:13: error: implicit declaration of function 'pte_swp_exclusive' [-Werror=implicit-function-declaration] 74 | if (pte_swp_exclusive(pte)) | ^~~~~~~~~~~~~~~~~ ./include/linux/swapops.h:151:16: error: implicit declaration of function '__swp_entry_to_pte'; did you mean 'swp_entry_to_pte'? [-Werror=implicit-function-declaration] 151 | return __swp_entry_to_pte(arch_entry); | ^~~~~~~~~~~~~~~~~~ | swp_entry_to_pte ./include/linux/swapops.h:151:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 151 | return __swp_entry_to_pte(arch_entry); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:244: recipe for target 'init/do_mounts_rd.o' failed make[4]: *** [init/do_mounts_rd.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ./include/linux/swapops.h:75:23: error: implicit declaration of function 'pte_swp_clear_exclusive'; did you mean 'pte_swp_clear_flags'? [-Werror=implicit-function-declaration] 75 | pte = pte_swp_clear_exclusive(pte); | ^~~~~~~~~~~~~~~~~~~~~~~ | pte_swp_clear_flags ./include/linux/swapops.h:75:23: error: incompatible types when assigning to type 'pte_t' from type 'int' ./include/linux/swapops.h: In function 'is_swap_pte': ./include/linux/swapops.h:126:17: error: implicit declaration of function 'pte_none'; did you mean 'p4d_none'? [-Werror=implicit-function-declaration] 126 | return !pte_none(pte) && !pte_present(pte); | ^~~~~~~~ | p4d_none ./include/linux/swapops.h:126:35: error: implicit declaration of function 'pte_present'; did you mean 'p4d_present'? [-Werror=implicit-function-declaration] 126 | return !pte_none(pte) && !pte_present(pte); | ^~~~~~~~~~~ | p4d_present ./include/linux/swapops.h: In function 'pte_to_swp_entry': ./include/linux/swapops.h:138:22: error: implicit declaration of function '__pte_to_swp_entry'; did you mean 'pte_to_swp_entry'? [-Werror=implicit-function-declaration] 138 | arch_entry = __pte_to_swp_entry(pte); | ^~~~~~~~~~~~~~~~~~ | pte_to_swp_entry ./include/linux/swapops.h:138:22: error: incompatible types when assigning to type 'swp_entry_t' from type 'int' ./include/linux/swapops.h:139:26: error: implicit declaration of function '__swp_type'; did you mean 'swp_type'? [-Werror=implicit-function-declaration] 139 | return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); | ^~~~~~~~~~ | swp_type cc1: some warnings being treated as errors scripts/Makefile.build:244: recipe for target 'init/do_mounts_initrd.o' failed make[4]: *** [init/do_mounts_initrd.o] Error 1 ./include/linux/swapops.h:139:50: error: implicit declaration of function '__swp_offset'; did you mean 'swp_offset'? [-Werror=implicit-function-declaration] 139 | return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); | ^~~~~~~~~~~~ | swp_offset ./include/linux/swapops.h: In function 'swp_entry_to_pte': ./include/linux/swapops.h:150:22: error: implicit declaration of function '__swp_entry'; did you mean 'swp_entry'? [-Werror=implicit-function-declaration] 150 | arch_entry = __swp_entry(swp_type(entry), swp_offset(entry)); | ^~~~~~~~~~~ | swp_entry ./include/linux/swapops.h:150:22: error: incompatible types when assigning to type 'swp_entry_t' from type 'int' ./include/linux/swapops.h:151:16: error: implicit declaration of function '__swp_entry_to_pte'; did you mean 'swp_entry_to_pte'? [-Werror=implicit-function-declaration] 151 | return __swp_entry_to_pte(arch_entry); | ^~~~~~~~~~~~~~~~~~ | swp_entry_to_pte ./include/linux/swapops.h:151:16: error: incompatible types when returning type 'int' but 'pte_t' was expected 151 | return __swp_entry_to_pte(arch_entry); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:244: recipe for target 'init/main.o' failed make[4]: *** [init/main.o] Error 1 cc1: some warnings being treated as errors scripts/Makefile.build:244: recipe for target 'init/do_mounts.o' failed make[4]: *** [init/do_mounts.o] Error 1 scripts/Makefile.build:485: recipe for target 'init' failed make[3]: *** [init] Error 2 /home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3/Makefile:1934: recipe for target '.' failed make[2]: *** [.] Error 2 Makefile:240: recipe for target '__sub-make' failed make[1]: *** [__sub-make] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3' package/pkg-generic.mk:286: recipe for target '/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output-1/build/linux-6.10.3/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'