# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_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/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ /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(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa78fb4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa78fb4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa8970c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5060407 Bytes = 4941.80 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b002a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5058393 Bytes = 4939.84 KiB = 4.82 MiB Load Address: 00b00000 Entry Point: 00b002a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5060365 Bytes = 4941.76 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b002a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5060353 Bytes = 4941.75 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b002a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5058815 Bytes = 4940.25 KiB = 4.82 MiB Load Address: 00b00000 Entry Point: 00b002a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5030824 Bytes = 4912.91 KiB = 4.80 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5060580 Bytes = 4941.97 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b008a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5060992 Bytes = 4942.38 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b008a0 Image Name: Linux-4.19.0-rc3+ Created: Fri Nov 2 05:54:32 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5060344 Bytes = 4941.74 KiB = 4.83 MiB Load Address: 00b00000 Entry Point: 00b002a0 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:01:10.995046