# git rev-parse -q --verify f5983dab0ead92dc2690d147f0604a0badcac6a8^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next remote: warning: multi-pack bitmap is missing required reverse index # git rev-parse -q --verify f5983dab0ead92dc2690d147f0604a0badcac6a8^{commit} f5983dab0ead92dc2690d147f0604a0badcac6a8 # 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f5983dab0ead92dc2690d147f0604a0badcac6a8 # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/kbuild_44x_fsp2_defconfig_powerpc-gcc5 # Build took: 0:04:18.102275