# git rev-parse -q --verify 2f050d49e589cc23e2aa40628d9154e9569aee43^{commit} 2f050d49e589cc23e2aa40628d9154e9569aee43 already have revision, skipping fetch # git checkout -q -f -B kisskb 2f050d49e589cc23e2aa40628d9154e9569aee43 # git clean -qxdf # < git log -1 # commit 2f050d49e589cc23e2aa40628d9154e9569aee43 # Author: Nathan Chancellor # Date: Sun Aug 11 19:32:15 2019 -0700 # # powerpc: Avoid clang warnings around setjmp and longjmp # # Commit aea447141c7e ("powerpc: Disable -Wbuiltin-requires-header when # setjmp is used") disabled -Wbuiltin-requires-header because of a # warning about the setjmp and longjmp declarations. # # r367387 in clang added another diagnostic around this, complaining # that there is no jmp_buf declaration. # # In file included from ../arch/powerpc/xmon/xmon.c:47: # ../arch/powerpc/include/asm/setjmp.h:10:13: error: declaration of # built-in function 'setjmp' requires the declaration of the 'jmp_buf' # type, commonly provided in the header . # [-Werror,-Wincomplete-setjmp-declaration] # extern long setjmp(long *); # ^ # ../arch/powerpc/include/asm/setjmp.h:11:13: error: declaration of # built-in function 'longjmp' requires the declaration of the 'jmp_buf' # type, commonly provided in the header . # [-Werror,-Wincomplete-setjmp-declaration] # extern void longjmp(long *, long); # ^ # 2 errors generated. # # Take the same approach as the above commit by disabling the warning # for the same reason, we provide our own longjmp/setjmp function. # # Cc: stable@vger.kernel.org # 4.19+ # Signed-off-by: Nathan Chancellor # Reviewed-by: Nick Desaulniers # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20190812023214.107817-1-natechancellor@gmail.com # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 2f050d49e589cc23e2aa40628d9154e9569aee43 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/crypto/talitos.c: In function 'talitos_remove': /kisskb/src/drivers/crypto/talitos.c:3142:4: warning: this statement may fall through [-Wimplicit-fallthrough=] crypto_unregister_aead(&t_alg->algt.alg.aead); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/talitos.c:3143:3: note: here case CRYPTO_ALG_TYPE_AHASH: ^~~~ In file included from /kisskb/src/sound/ppc/pmac.h:12, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208: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:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^~~~~~~~~~~ INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb355cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb355cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:24 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385988 Bytes = 5259.75 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385295 Bytes = 5259.08 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5349897 Bytes = 5224.51 KiB = 5.10 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385207 Bytes = 5258.99 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:25 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385692 Bytes = 5259.46 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386250 Bytes = 5260.01 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5384529 Bytes = 5258.33 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:26 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385092 Bytes = 5258.88 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Thu Sep 5 03:29:27 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385015 Bytes = 5258.80 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:04:00.566616