# git rev-parse -q --verify a979522a1a88556e42a22ce61bccc58e304cb361^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next # git rev-parse -q --verify a979522a1a88556e42a22ce61bccc58e304cb361^{commit} a979522a1a88556e42a22ce61bccc58e304cb361 # git checkout -q -f -B kisskb a979522a1a88556e42a22ce61bccc58e304cb361 # git clean -qxdf # < git log -1 # commit a979522a1a88556e42a22ce61bccc58e304cb361 # Author: Matthias Maennich # Date: Sat Jun 12 15:18:38 2021 +0100 # # kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set # # To avoid unnecessary recompilations, mkcompile_h does not regenerate # compile.h if just the timestamp changed. # Though, if KBUILD_BUILD_TIMESTAMP is set, an explicit timestamp for the # build was requested, in which case we should not ignore it. # # If a user follows the documentation for reproducible builds [1] and # defines KBUILD_BUILD_TIMESTAMP as the git commit timestamp, a clean # build will have the correct timestamp. A subsequent cherry-pick (or # amend) changes the commit timestamp and if an incremental build is done # with a different KBUILD_BUILD_TIMESTAMP now, that new value is not taken # into consideration. But it should for reproducibility. # # Hence, whenever KBUILD_BUILD_TIMESTAMP is explicitly set, do not ignore # UTS_VERSION when making a decision about whether the regenerated version # of compile.h should be moved into place. # # [1] https://www.kernel.org/doc/html/latest/kbuild/reproducible-builds.html # # Signed-off-by: Matthias Maennich # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 a979522a1a88556e42a22ce61bccc58e304cb361 # < make -s -j 24 ARCH=m68k O=/kisskb/build/kbuild_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 24 ARCH=m68k O=/kisskb/build/kbuild_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 24 ARCH=m68k O=/kisskb/build/kbuild_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 24 ARCH=m68k O=/kisskb/build/kbuild_m68k-defconfig_m68k-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/m68k-linux/bin/m68k-linux- /kisskb/src/arch/m68k/mvme147/config.c: In function 'mvme147_hwclk': /kisskb/src/arch/m68k/mvme147/config.c:174:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/arch/m68k/mvme16x/config.c: In function 'mvme16x_hwclk': /kisskb/src/arch/m68k/mvme16x/config.c:439:2: warning: #warning check me! [-Wcpp] #warning check me! ^~~~~~~ /kisskb/src/drivers/i2c/busses/i2c-icy.c: In function 'icy_probe': /kisskb/src/drivers/i2c/busses/i2c-icy.c:126:24: warning: unused variable 'new_fwnode' [-Wunused-variable] struct fwnode_handle *new_fwnode; ^~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/8390/xsurf100.c:48: /kisskb/src/drivers/net/ethernet/8390/lib8390.c:995:27: warning: '____alloc_ei_netdev' defined but not used [-Wunused-function] static struct net_device *____alloc_ei_netdev(int size) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:957:13: warning: '__ei_set_multicast_list' defined but not used [-Wunused-function] static void __ei_set_multicast_list(struct net_device *dev) ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:857:33: warning: '__ei_get_stats' defined but not used [-Wunused-function] static struct net_device_stats *__ei_get_stats(struct net_device *dev) ^~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:512:13: warning: '__ei_poll' defined but not used [-Wunused-function] static void __ei_poll(struct net_device *dev) ^~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:303:20: warning: '__ei_start_xmit' defined but not used [-Wunused-function] static netdev_tx_t __ei_start_xmit(struct sk_buff *skb, ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:257:13: warning: '__ei_tx_timeout' defined but not used [-Wunused-function] static void __ei_tx_timeout(struct net_device *dev, unsigned int txqueue) ^~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:233:12: warning: '__ei_close' defined but not used [-Wunused-function] static int __ei_close(struct net_device *dev) ^~~~~~~~~~ /kisskb/src/drivers/net/ethernet/8390/lib8390.c:204:12: warning: '__ei_open' defined but not used [-Wunused-function] static int __ei_open(struct net_device *dev) ^~~~~~~~~ Completed OK # rm -rf /kisskb/build/kbuild_m68k-defconfig_m68k-gcc8 # Build took: 0:02:55.008424