# 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-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 385ab28c42facc9f7df3418f5a326c01bf311d3f # make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc64 O=/kisskb/build/kbuild_defconfig_sparc64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: arch/sparc/vdso/vdso-note.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: warning: arch/sparc/vdso/vdso32/vdso-note.o: missing .note.GNU-stack section implies executable stack /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/sparc64-linux/bin/sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. Is "_mcount" prototyped in ? kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/kbuild_defconfig_sparc64-gcc12 # Build took: 0:01:10.429506