# 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/s390x-linux/bin/s390x-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux-ld --version # < git log --format=%s --max-count=1 f9d7adc7b0d6617fe778552d1f2a893ed39b961a # < make -s -j 120 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- defconfig # make -s -j 120 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-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/drivers/s390/scsi/zfcp_erp.c: In function 'zfcp_erp_setup_act': /kisskb/src/drivers/s390/scsi/zfcp_erp.c:262:2: warning: 'erp_action' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/time/posix-timers.c:885:1: internal compiler error: unspellable token PRAGMA Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[3]: *** [/kisskb/src/scripts/Makefile.build:279: kernel/time/posix-timers.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/s390/block/dasd_eckd.c: In function 'dasd_eckd_build_cp_raw': /kisskb/src/drivers/s390/block/dasd_eckd.c:3829:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t' [-Wformat] /kisskb/src/drivers/s390/block/dasd_eckd.c:3829:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'sector_t' [-Wformat] make[2]: *** [/kisskb/src/scripts/Makefile.build:489: kernel/time] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1071: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... /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] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1464:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/timerfd.c:537:1: internal compiler error: unspellable token PRAGMA Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [/kisskb/src/scripts/Makefile.build:279: fs/timerfd.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1071: fs] Error 2 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 120 ARCH=s390 O=/kisskb/build/kbuild_s390-defconfig_s390x CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/s390x-linux/bin/s390x-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/kbuild_s390-defconfig_s390x # Build took: 0:00:23.940998