# git rev-parse -q --verify d9fc5677ceb67b5e300ea382a2a536e07136ec26^{commit} d9fc5677ceb67b5e300ea382a2a536e07136ec26 already have revision, skipping fetch # git checkout -q -f -B kisskb d9fc5677ceb67b5e300ea382a2a536e07136ec26 # git clean -qxdf # < git log -1 # commit d9fc5677ceb67b5e300ea382a2a536e07136ec26 # Author: Masahiro Yamada # Date: Sun Sep 25 03:19:15 2022 +0900 # # kbuild: remove head-y syntax # # Kbuild puts the objects listed in head-y at the head of vmlinux. # Conventionally, we do this for head*.S, which contains the kernel entry # point. # # A counter approach is to control the section order by the linker script. # Actually, the code marked as __HEAD goes into the ".head.text" section, # which is placed before the normal ".text" section. # # I do not know if both of them are needed. From the build system # perspective, head-y is not mandatory. If you can achieve the proper code # placement by the linker script only, it would be cleaner. # # I collected the current head-y objects into head-object-list.txt. It is # a whitelist. My hope is it will be reduced in the long run. # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 d9fc5677ceb67b5e300ea382a2a536e07136ec26 # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- defconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] 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_sparc64-defconfig_sparc64-gcc5 # Build took: 0:01:14.627153