# git rev-parse -q --verify 265e51be6d27250edf42e9045db287b406897873^{commit} 265e51be6d27250edf42e9045db287b406897873 already have revision, skipping fetch # git checkout -q -f -B kisskb 265e51be6d27250edf42e9045db287b406897873 # git clean -qxdf # < git log -1 # commit 265e51be6d27250edf42e9045db287b406897873 # Author: Michael Ellerman # Date: Wed Oct 10 16:13:06 2018 +1100 # # powerpc: Add -Werror at arch/powerpc level # # Back when I added -Werror in commit ba55bd74360e ("powerpc: Add # configurable -Werror for arch/powerpc") I did it by adding it to most # of the arch Makefiles. # # At the time we excluded math-emu, because apparently it didn't build # cleanly. But that seems to have been fixed somewhere in the interim. # # So move the -Werror addition to the top-level of the arch, this saves # us from repeating it in every Makefile and means we won't forget to # add it to any new sub-dirs. # # 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 265e51be6d27250edf42e9045db287b406897873 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0x4B24035A WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=n] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=n] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=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=n # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_BOOK3E_64=n # Added to kconfig CONFIG_PPC_BOOK3S_64=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_LD_HEAD_STUB_CATCH=y # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le-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 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset': /kisskb/src/arch/powerpc/include/asm/io.h:163:2: warning: 'px_is' may be used uninitialized in this function [-Wmaybe-uninitialized] __asm__ __volatile__("sync;"#insn"%U0%X0 %1,%0" \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:14: note: 'px_is' was declared here u32 px_cmd, px_is, px_val; ^ In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/arch/powerpc/include/asm/io.h:163:2: warning: 'px_cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] __asm__ __volatile__("sync;"#insn"%U0%X0 %1,%0" \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:6: note: 'px_cmd' was declared here u32 px_cmd, px_is, px_val; ^ /kisskb/src/drivers/usb/misc/usbtest.c: In function 'test_queue': /kisskb/src/drivers/usb/misc/usbtest.c:2128:1: warning: the frame size of 1136 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ arch/powerpc/platforms/pseries/setup.o: In function `dlpar_hp_pmem': setup.c:(.text+0x790): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/iommu.o: In function `dlpar_hp_pmem': iommu.c:(.text+0x2110): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/event_sources.o: In function `dlpar_hp_pmem': event_sources.c:(.text+0x0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/ras.o: In function `dlpar_hp_pmem': ras.c:(.text+0x8d0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/firmware.o: In function `dlpar_hp_pmem': firmware.c:(.text+0x0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/power.o: In function `dlpar_hp_pmem': power.c:(.text+0xd0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/dlpar.o: In function `dlpar_hp_pmem': dlpar.c:(.text+0x130): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/mobility.o: In function `dlpar_hp_pmem': mobility.c:(.text+0xf0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/pci.o: In function `dlpar_hp_pmem': pci.c:(.text+0x100): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/pci_dlpar.o: In function `dlpar_hp_pmem': pci_dlpar.c:(.text+0x220): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/msi.o: In function `dlpar_hp_pmem': msi.c:(.text+0xbe0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/smp.o: In function `dlpar_hp_pmem': smp.c:(.text+0x280): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/kexec.o: In function `dlpar_hp_pmem': kexec.c:(.text+0x0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/hotplug-cpu.o: In function `dlpar_hp_pmem': hotplug-cpu.c:(.text+0x1490): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here arch/powerpc/platforms/pseries/io_event_irq.o: In function `dlpar_hp_pmem': io_event_irq.c:(.text+0x1c0): multiple definition of `dlpar_hp_pmem' arch/powerpc/platforms/pseries/lpar.o:lpar.c:(.text+0x17f0): first defined here make[1]: *** [/kisskb/src/Makefile:1040: vmlinux] Error 1 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le-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_randconfig+ppc64le_ppc64le-gcc5 # Build took: 0:00:30.942071