# git rev-parse -q --verify edd4d23d290772d75891f7cf35eb6bb66f2e4fe5^{commit} edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 already have revision, skipping fetch # git checkout -q -f -B kisskb edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # git clean -qxdf # < git log -1 # commit edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # Author: Luc Van Oostenryck # Date: Sat Nov 9 13:12:16 2019 +0100 # # kbuild: tell sparse about the $ARCH # # Sparse uses the same executable for all archs and uses flags # like -m64, -mbig-endian or -D__arm__ for arch-specific parameters. # But Sparse also uses value from the host machine used to build # Sparse as default value for the target machine. # # This works, of course, well for native build but can create # problems when cross-compiling, like defining both '__i386__' # and '__arm__' when cross-compiling for arm on a x86-64 machine. # # Fix this by explicitely telling sparse the target architecture. # # Reported-by: Ben Dooks # Signed-off-by: Luc Van Oostenryck # 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 edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204: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:338:21: note: 'pdeo' was declared here /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.37': /kisskb/src/net/bridge/br_netlink.c:648:7: warning: 'err' 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:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1836:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1749:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x54337c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553a28) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:57 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2687655 Bytes = 2624.66 KiB = 2.56 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:57 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719266 Bytes = 2655.53 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:57 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719216 Bytes = 2655.48 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014cc Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719252 Bytes = 2655.52 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719302 Bytes = 2655.57 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014d8 Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719176 Bytes = 2655.45 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006000c8 Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719293 Bytes = 2655.56 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014c0 Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719268 Bytes = 2655.54 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719112 Bytes = 2655.38 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006001bc Image Name: Linux-5.4.0-rc7-gedd4d23d2907 Created: Tue Nov 12 00:19:58 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719263 Bytes = 2655.53 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006014e0 Completed OK # rm -rf /kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.6 # Build took: 0:00:56.245637