# git rev-parse -q --verify f5983dab0ead92dc2690d147f0604a0badcac6a8^{commit} f5983dab0ead92dc2690d147f0604a0badcac6a8 already have revision, skipping fetch # git checkout -q -f -B kisskb f5983dab0ead92dc2690d147f0604a0badcac6a8 # git clean -qxdf # < git log -1 # commit f5983dab0ead92dc2690d147f0604a0badcac6a8 # Author: Masahiro Yamada # Date: Wed Jun 28 01:32:05 2023 +0900 # # modpost: define more R_ARM_* for old distributions # # On CentOS 7, the following build error occurs. # # scripts/mod/modpost.c: In function 'addend_arm_rel': # scripts/mod/modpost.c:1312:7: error: 'R_ARM_MOVW_ABS_NC' undeclared (first use in this function); did you mean 'R_ARM_THM_ABS5'? # case R_ARM_MOVW_ABS_NC: # ^~~~~~~~~~~~~~~~~ # R_ARM_THM_ABS5 # scripts/mod/modpost.c:1312:7: note: each undeclared identifier is reported only once for each function it appears in # scripts/mod/modpost.c:1313:7: error: 'R_ARM_MOVT_ABS' undeclared (first use in this function); did you mean 'R_ARM_THM_ABS5'? # case R_ARM_MOVT_ABS: # ^~~~~~~~~~~~~~ # R_ARM_THM_ABS5 # scripts/mod/modpost.c:1326:7: error: 'R_ARM_THM_MOVW_ABS_NC' undeclared (first use in this function); did you mean 'R_ARM_THM_ABS5'? # case R_ARM_THM_MOVW_ABS_NC: # ^~~~~~~~~~~~~~~~~~~~~ # R_ARM_THM_ABS5 # scripts/mod/modpost.c:1327:7: error: 'R_ARM_THM_MOVT_ABS' undeclared (first use in this function); did you mean 'R_ARM_THM_ABS5'? # case R_ARM_THM_MOVT_ABS: # ^~~~~~~~~~~~~~~~~~ # R_ARM_THM_ABS5 # # Fixes: 12ca2c67d742 ("modpost: detect section mismatch for R_ARM_{MOVW_ABS_NC,MOVT_ABS}") # Fixes: cd1824fb7a37 ("modpost: detect section mismatch for R_ARM_THM_{MOVW_ABS_NC,MOVT_ABS}") # Reported-by: Tetsuo Handa # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 f5983dab0ead92dc2690d147f0604a0badcac6a8 # make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc8 # Build took: 0:03:48.805937