# git rev-parse -q --verify 585d32f9b0532ca2407943edec163c23191de488^{commit} 585d32f9b0532ca2407943edec163c23191de488 already have revision, skipping fetch # git checkout -q -f -B kisskb 585d32f9b0532ca2407943edec163c23191de488 # git clean -qxdf # < git log -1 # commit 585d32f9b0532ca2407943edec163c23191de488 # 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, so skipping them makes this # script work slightly faster. 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 585d32f9b0532ca2407943edec163c23191de488 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1521:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1584 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101373 Bytes = 3028.68 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007001b8 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:15 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101346 Bytes = 3028.66 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101407 Bytes = 3028.72 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101315 Bytes = 3028.63 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 00701498 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101349 Bytes = 3028.66 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014b8 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101361 Bytes = 3028.67 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101420 Bytes = 3028.73 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 00701488 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101306 Bytes = 3028.62 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007000c4 Image Name: Linux-5.11.0-rc7-82902-g585d32f9 Created: Wed Feb 17 01:34:16 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101417 Bytes = 3028.73 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a0 Completed OK # rm -rf /kisskb/build/kbuild_ppc44x_defconfig_powerpc-gcc4.9 # Build took: 0:00:59.516969