# git rev-parse -q --verify f9d7adc7b0d6617fe778552d1f2a893ed39b961a^{commit} f9d7adc7b0d6617fe778552d1f2a893ed39b961a already have revision, skipping fetch # git checkout -q -f -B kisskb f9d7adc7b0d6617fe778552d1f2a893ed39b961a # git clean -qxdf # < git log -1 # commit f9d7adc7b0d6617fe778552d1f2a893ed39b961a # Author: Masahiro Yamada # Date: Mon May 13 15:22:17 2019 +0900 # # kbuild: remove 'addtree' and 'flags' magic for header search paths # # The 'addtree' and 'flags' in scripts/Kbuild.include are so compilecated # and ugly. # # As I mentioned in [1], Kbuild should stop automatic prefixing of header # search path options. # # Instead, in-kernel Makefiles should explicitly add $(srctree)/ to # the search paths in the srctree. # # Kbuild still caters to add $(srctree)/$(src) and $(objtree)/$(obj) # to the header search path for O= building, but never touches extra # compiler options from ccflags-y etc. # # Going forward, in-kernel Makefiles should explicitly specify # $(srctree)/ if extra search paths are needed. # # Example) ccflags-y += -I $(srctree)/foo/bar # # You do not have to change external module Makefiles because $(src) # is already an absolute path for external modules. # # Example) ccflags-y += -I $(src)/foo/bar # # [1]: https://patchwork.kernel.org/patch/9632347/ # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 f9d7adc7b0d6617fe778552d1f2a893ed39b961a # < make -s -j 120 ARCH=powerpc O=/kisskb/build/kbuild_ppc64e_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc64e_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/kbuild_ppc64e_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] :1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] :1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] :1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] :1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] :1403:2: warning: #warning syscall fspick not implemented [-Wcpp] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:193:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.28': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2076:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1851:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1764:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0x40e): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup() The function start_here_multiplatform() references the function __init .early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of .early_setup is wrong. WARNING: vmlinux.o (.PPC.EMB.apuinfo): unexpected non-allocatable section. Did you forget to use "ax"/"aw" in a .S file? Note that for example contains section definitions for use in .S files. INFO: Uncompressed kernel (size 0xc7adb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.1.0-gf9d7adc7b0d6 Created: Thu May 16 07:52:57 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5307463 Bytes = 5183.07 KiB = 5.06 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/kbuild_ppc64e_defconfig_powerpc-gcc4.6 # Build took: 0:00:34.020632