# git rev-parse -q --verify 1936f094e164cc13ebf17aba1d6b34e033e64188^{commit} 1936f094e164cc13ebf17aba1d6b34e033e64188 already have revision, skipping fetch # git checkout -q -f -B kisskb 1936f094e164cc13ebf17aba1d6b34e033e64188 # git clean -qxdf # < git log -1 # commit 1936f094e164cc13ebf17aba1d6b34e033e64188 # Author: Naveen N. Rao # Date: Wed Oct 31 22:48:13 2018 +0530 # # selftests/powerpc: Fix compilation issue due to asm label # # We are using 'dscr_insn' as a label in inline asm to identify if a # SIGILL was generated by the mtspr instruction at that point. However, # with inline assembly, the compiler is still free to duplicate the asm # statement for optimization purposes, which results in the label being # defined twice with the error: # /tmp/ccerQCql.s:874: Error: symbol `dscr_insn' is already defined # # With different compiler versions, we may also see: # /tmp/ccJzLDlN.o:(.toc+0x0): undefined reference to `dscr_insn' # # Remove the use of the label in the inline assembly. Instead, just look # for the offending instruction in the signal handler. # # Fixes: d2bf793237b3 ("selftests/powerpc: Add test to verify rfi flush across a system call") # Reported-by: Breno Leitao # Signed-off-by: Naveen N. Rao # Tested-by: Breno Leitao # 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 1936f094e164cc13ebf17aba1d6b34e033e64188 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-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/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:77:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc09abc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xbf92c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:11 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5942816 Bytes = 5803.53 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:11 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5911068 Bytes = 5772.53 KiB = 5.64 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:12 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5941002 Bytes = 5801.76 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:11 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940965 Bytes = 5801.72 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:12 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5941004 Bytes = 5801.76 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:12 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940736 Bytes = 5801.50 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940709 Bytes = 5801.47 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940529 Bytes = 5801.30 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940742 Bytes = 5801.51 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940711 Bytes = 5801.48 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5941539 Bytes = 5802.28 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5940754 Bytes = 5801.52 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d00320 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5941976 Bytes = 5802.71 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5942878 Bytes = 5803.59 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5941512 Bytes = 5802.26 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d002b0 Image Name: Linux-4.19.0-rc3-g1936f094e164 Created: Fri Nov 2 06:01:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5941183 Bytes = 5801.94 KiB = 5.67 MiB Load Address: 00d00000 Entry Point: 00d00320 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:01:49.431343