# git rev-parse -q --verify 385ab28c42facc9f7df3418f5a326c01bf311d3f^{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 warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 385ab28c42facc9f7df3418f5a326c01bf311d3f^{commit} 385ab28c42facc9f7df3418f5a326c01bf311d3f # git checkout -q -f -B kisskb 385ab28c42facc9f7df3418f5a326c01bf311d3f # git clean -qxdf # < git log -1 # commit 385ab28c42facc9f7df3418f5a326c01bf311d3f # Author: Masahiro Yamada # Date: Tue Dec 26 23:33:59 2023 +0900 # # kbuild: deb-pkg: use build ID instead of debug link for dbg package # # There are two ways of managing separate debug info files: # # [1] The executable contains the .gnu_debuglink section, which specifies # the name and the CRC of the separate debug info file. # # [2] The executable contains a build ID, and the corresponding debug info # file is placed in the .build-id directory. # # We could do both, but the former, which 'make deb-pkg' currently does, # results in complicated installation steps because we need to manually # strip the debug sections, create debug links, and re-sign the modules. # Besides, it is not working with module compression. # # This commit abandons the approach [1], and instead opts for [2]. # # Debian kernel commit de26137e2a9f ("Drop not needed extra step to add # debug links") also stopped adding debug links. # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 385ab28c42facc9f7df3418f5a326c01bf311d3f # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 # Build took: 0:02:42.570289