Buildresult: linus/sh-allyesconfig/sh4-gcc11 built on Jul 4 2023, 17:07
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jul 4 2023, 17:07
Duration:
0:05:18.017517
Builder:
ka7
Revision:
arch/arm64/mm/fault: Fix undeclared variable error in do_page_fault() (
24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc)
Target:
linus/sh-allyesconfig/sh4-gcc11
Branch:
linus
Compiler:
sh4-gcc11
(sh4-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible errors
drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr'; did you mean 'xlate_dev_mem_ptr'? [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:243: drivers/char/mem.o] Error 1 make[4]: *** [scripts/Makefile.build:477: drivers/char] Error 2 make[3]: *** [scripts/Makefile.build:477: drivers] Error 2 make[2]: *** [Makefile:2024: .] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2
Possible warnings (4)
<stdin>:1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence
Full Log
# git rev-parse -q --verify 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc^{commit} 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc already have revision, skipping fetch # git checkout -q -f -B kisskb 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc # git clean -qxdf # < git log -1 # commit 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc # Author: SeongJae Park <sj@kernel.org> # Date: Tue Jul 4 01:00:03 2023 +0000 # # arch/arm64/mm/fault: Fix undeclared variable error in do_page_fault() # # Commit ae870a68b5d1 ("arm64/mm: Convert to using # lock_mm_and_find_vma()") made do_page_fault() to use 'vma' even if # CONFIG_PER_VMA_LOCK is not defined, but the declaration is still in the # ifdef. # # As a result, building kernel without the config fails with undeclared # variable error as below: # # arch/arm64/mm/fault.c: In function 'do_page_fault': # arch/arm64/mm/fault.c:624:2: error: 'vma' undeclared (first use in this function); did you mean 'vmap'? # 624 | vma = lock_mm_and_find_vma(mm, addr, regs); # | ^~~ # | vmap # # Fix it by moving the declaration out of the ifdef. # # Fixes: ae870a68b5d1 ("arm64/mm: Convert to using lock_mm_and_find_vma()") # Signed-off-by: SeongJae Park <sj@kernel.org> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 24be4d0b46bb0c3c1dc7bacd30957d6144a70dfc # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h <stdin>:1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/drivers/char/mem.c: In function 'read_mem': /kisskb/src/drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr'; did you mean 'xlate_dev_mem_ptr'? [-Werror=implicit-function-declaration] 164 | unxlate_dev_mem_ptr(p, ptr); | ^~~~~~~~~~~~~~~~~~~ | xlate_dev_mem_ptr cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/char/mem.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:477: drivers/char] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:477: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2024: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 32 ARCH=sh O=/kisskb/build/linus_allyesconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allyesconfig_sh4-gcc11 # Build took: 0:05:18.017517
© Michael Ellerman 2006-2018.