# git rev-parse -q --verify 5478b37e294b44d4836c96d132e5be51e251eb08^{commit} 5478b37e294b44d4836c96d132e5be51e251eb08 already have revision, skipping fetch # git checkout -q -f -B kisskb 5478b37e294b44d4836c96d132e5be51e251eb08 # git clean -qxdf # < git log -1 # commit 5478b37e294b44d4836c96d132e5be51e251eb08 # Author: Masahiro Yamada # Date: Fri Feb 12 01:11:54 2021 +0900 # # gen_compile_commands: prune some directories # # If directories are passed to gen_compile_commands.py, os.walk() traverses # all the subdirectories to search for .cmd files, but we know some of them # are not worth traversing. # # Use the 'topdown' parameter of os.walk to prune them. # # Documentation about the 'topdown' option of os.walk: # When topdown is True, the caller can modify the dirnames list # in-place (perhaps using del or slice assignment), and walk() will # only recurse into the subdirectories whose names remain in dirnames; # this can be used to prune the search, impose a specific order of # visiting, or even to inform walk() about directories the caller # creates or renames before it resumes walk() again. Modifying # dirnames when topdown is False has no effect on the behavior of # the walk, because in bottom-up mode the directories in dirnames # are generated before dirpath itself is generated. # # This commit prunes four directories, .git, Documentation, include, and # tools. # # The first three do not contain any C files. My main motivation is the # last one, tools/ directory. # # Commit 6ca4c6d25949 ("gen_compile_commands: do not support .cmd files # under tools/ directory") stopped supporting the tools/ directory. # The current code no longer picks up .cmd files from the tools/ # directory. # # If you run: # # ./scripts/clang-tools/gen_compile_commands.py --log_level=INFO # # then, you will see several "File ... not found" log messages. # # This is expected, and I do not want to support the tools/ directory. # However, without an explicit comment "do not support tools/", somebody # might try to get it back. Clarify this. # # Signed-off-by: Masahiro Yamada # Acked-by: Nathan Chancellor # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 5478b37e294b44d4836c96d132e5be51e251eb08 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-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:12, 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:78: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)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: 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 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdfde98) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xded76c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820432 Bytes = 6660.58 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819594 Bytes = 6659.76 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820132 Bytes = 6660.29 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819496 Bytes = 6659.66 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820060 Bytes = 6660.21 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819603 Bytes = 6659.77 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820748 Bytes = 6660.89 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819472 Bytes = 6659.64 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820774 Bytes = 6660.91 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819493 Bytes = 6659.66 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820177 Bytes = 6660.33 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819471 Bytes = 6659.64 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819491 Bytes = 6659.66 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6820090 Bytes = 6660.24 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6819598 Bytes = 6659.76 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc7-g5478b37e294b Created: Tue Feb 16 13:40:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6788988 Bytes = 6629.87 KiB = 6.47 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/kbuild_mpc85xx_smp_defconfig_powerpc-gcc4.9 # Build took: 0:02:34.762350