# git rev-parse -q --verify e3261611feee896a7c8f95b72017867d2e5b55a7^{commit} e3261611feee896a7c8f95b72017867d2e5b55a7 already have revision, skipping fetch # git checkout -q -f -B kisskb e3261611feee896a7c8f95b72017867d2e5b55a7 # git clean -qxdf # < git log -1 # commit e3261611feee896a7c8f95b72017867d2e5b55a7 # Author: Michael Ellerman # Date: Fri Oct 26 20:29:35 2018 +1100 # # selftests/powerpc/cache_shape: Fix out-of-tree build # # Use TEST_GEN_PROGS and don't redefine all, this makes the out-of-tree # build work. We need to move the extra dependencies below the include # of lib.mk, because it adds the $(OUTPUT) prefix if it's defined. # # We can also drop the clean rule, lib.mk does it for us. # # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 e3261611feee896a7c8f95b72017867d2e5b55a7 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xAC59D696 WARNING: unmet direct dependencies detected for LIBNVDIMM Depends on [n]: PHYS_ADDR_T_64BIT [=y] && HAS_IOMEM [=y] && BLK_DEV [=n] Selected by [y]: - PAPR_SCM [=y] && PPC_PSERIES [=y] && MEMORY_HOTPLUG [=y] WARNING: unmet direct dependencies detected for LIBNVDIMM Depends on [n]: PHYS_ADDR_T_64BIT [=y] && HAS_IOMEM [=y] && BLK_DEV [=n] Selected by [y]: - PAPR_SCM [=y] && PPC_PSERIES [=y] && MEMORY_HOTPLUG [=y] WARNING: unmet direct dependencies detected for LIBNVDIMM Depends on [n]: PHYS_ADDR_T_64BIT [=y] && HAS_IOMEM [=y] && BLK_DEV [=n] Selected by [y]: - PAPR_SCM [=y] && PPC_PSERIES [=y] && MEMORY_HOTPLUG [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: unmet direct dependencies detected for LIBNVDIMM Depends on [n]: PHYS_ADDR_T_64BIT [=y] && HAS_IOMEM [=y] && BLK_DEV [=n] Selected by [y]: - PAPR_SCM [=y] && PPC_PSERIES [=y] && MEMORY_HOTPLUG [=y] WARNING: unmet direct dependencies detected for LIBNVDIMM Depends on [n]: PHYS_ADDR_T_64BIT [=y] && HAS_IOMEM [=y] && BLK_DEV [=n] Selected by [y]: - PAPR_SCM [=y] && PPC_PSERIES [=y] && MEMORY_HOTPLUG [=y] WARNING: unmet direct dependencies detected for LIBNVDIMM Depends on [n]: PHYS_ADDR_T_64BIT [=y] && HAS_IOMEM [=y] && BLK_DEV [=n] Selected by [y]: - PAPR_SCM [=y] && PPC_PSERIES [=y] && MEMORY_HOTPLUG [=y] /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/eeh.c:1752:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] static int proc_eeh_show(struct seq_file *m, void *v) ^ /kisskb/src/drivers/i2c/busses/i2c-aspeed.c: In function 'aspeed_i2c_bus_irq': /kisskb/src/drivers/i2c/busses/i2c-aspeed.c:567:1: warning: label 'out' defined but not used [-Wunused-label] out: ^ In file included from /kisskb/src/drivers/nvdimm/core.c:25:0: /kisskb/src/drivers/nvdimm/nd.h: In function 'nd_iostat_start': /kisskb/src/drivers/nvdimm/nd.h:394:28: error: dereferencing pointer to incomplete type 'struct bio' struct gendisk *disk = bio->bi_disk; ^ /kisskb/src/drivers/nvdimm/nd.h:396:7: error: implicit declaration of function 'blk_queue_io_stat' [-Werror=implicit-function-declaration] if (!blk_queue_io_stat(disk->queue)) ^ /kisskb/src/drivers/nvdimm/nd.h:396:29: error: dereferencing pointer to incomplete type 'struct gendisk' if (!blk_queue_io_stat(disk->queue)) ^ /kisskb/src/drivers/nvdimm/nd.h:400:2: error: implicit declaration of function 'generic_start_io_acct' [-Werror=implicit-function-declaration] generic_start_io_acct(disk->queue, bio_op(bio), bio_sectors(bio), ^ /kisskb/src/drivers/nvdimm/nd.h:400:37: error: implicit declaration of function 'bio_op' [-Werror=implicit-function-declaration] generic_start_io_acct(disk->queue, bio_op(bio), bio_sectors(bio), ^ /kisskb/src/drivers/nvdimm/nd.h:400:50: error: implicit declaration of function 'bio_sectors' [-Werror=implicit-function-declaration] generic_start_io_acct(disk->queue, bio_op(bio), bio_sectors(bio), ^ /kisskb/src/drivers/nvdimm/nd.h: In function 'nd_iostat_end': /kisskb/src/drivers/nvdimm/nd.h:408:2: error: implicit declaration of function 'generic_end_io_acct' [-Werror=implicit-function-declaration] generic_end_io_acct(disk->queue, bio_op(bio), &disk->part0, start); ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:305: drivers/nvdimm/core.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/drivers/nvdimm/bus.c:31:0: /kisskb/src/drivers/nvdimm/nd.h: In function 'nd_iostat_start': /kisskb/src/drivers/nvdimm/nd.h:396:7: error: implicit declaration of function 'blk_queue_io_stat' [-Werror=implicit-function-declaration] if (!blk_queue_io_stat(disk->queue)) ^ /kisskb/src/drivers/nvdimm/nd.h:396:29: error: dereferencing pointer to incomplete type 'struct gendisk' if (!blk_queue_io_stat(disk->queue)) ^ /kisskb/src/drivers/nvdimm/nd.h:400:2: error: implicit declaration of function 'generic_start_io_acct' [-Werror=implicit-function-declaration] generic_start_io_acct(disk->queue, bio_op(bio), bio_sectors(bio), ^ /kisskb/src/drivers/nvdimm/nd.h:400:50: error: implicit declaration of function 'bio_sectors' [-Werror=implicit-function-declaration] generic_start_io_acct(disk->queue, bio_op(bio), bio_sectors(bio), ^ /kisskb/src/drivers/nvdimm/nd.h: In function 'nd_iostat_end': /kisskb/src/drivers/nvdimm/nd.h:408:2: error: implicit declaration of function 'generic_end_io_acct' [-Werror=implicit-function-declaration] generic_end_io_acct(disk->queue, bio_op(bio), &disk->part0, start); ^ /kisskb/src/drivers/nvdimm/bus.c: In function 'nvdimm_revalidate_disk': /kisskb/src/drivers/nvdimm/bus.c:570:23: error: implicit declaration of function 'disk_to_dev' [-Werror=implicit-function-declaration] struct device *dev = disk_to_dev(disk)->parent; ^ /kisskb/src/drivers/nvdimm/bus.c:570:40: error: invalid type argument of '->' (have 'int') struct device *dev = disk_to_dev(disk)->parent; ^ /kisskb/src/drivers/nvdimm/bus.c:572:16: error: implicit declaration of function 'get_disk_ro' [-Werror=implicit-function-declaration] int disk_ro = get_disk_ro(disk); ^ /kisskb/src/drivers/nvdimm/bus.c:583:2: error: implicit declaration of function 'set_disk_ro' [-Werror=implicit-function-declaration] set_disk_ro(disk, 1); ^ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:305: drivers/nvdimm/bus.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:546: drivers/nvdimm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: drivers] Error 2 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc5 # Build took: 0:01:49.972481