# git rev-parse -q --verify 385ab28c42facc9f7df3418f5a326c01bf311d3f^{commit} 385ab28c42facc9f7df3418f5a326c01bf311d3f already have revision, skipping fetch # 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-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 385ab28c42facc9f7df3418f5a326c01bf311d3f # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4524:warning: override: reassigning to symbol SMP # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_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_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:00:58.020950