# git rev-parse -q --verify 44929bfaceaaa6a854ddc6df6de9433fab1eef92^{commit} 44929bfaceaaa6a854ddc6df6de9433fab1eef92 already have revision, skipping fetch # git checkout -q -f -B kisskb 44929bfaceaaa6a854ddc6df6de9433fab1eef92 # git clean -qxdf # < git log -1 # commit 44929bfaceaaa6a854ddc6df6de9433fab1eef92 # Author: Masahiro Yamada # Date: Wed Mar 6 21:47:09 2024 +0900 # # kbuild: remove GCC's default -Wpacked-bitfield-compat flag # # Commit 4a5838ad9d2d ("kbuild: Add extra gcc checks") added the # -Wpacked-bitfield-compat flag, but there is no need to add it # explicitly. # # GCC manual says: # "This warning is enabled by default. Use -Wno-packed-bitfield-compat # to disable this warning." # # The test code in the manual: # # struct foo # { # char a:4; # char b:8; # } __attribute__ ((packed)); # # ... emits "note: offset of packed bit-field ‘b’ has changed in GCC 4.4" # without W=3. # # Let's remove it, as it is a default with GCC. # # Clang does not support this flag, so its removal will not affect Clang # builds. # # Signed-off-by: Masahiro Yamada # Reviewed-by: Nathan Chancellor # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 44929bfaceaaa6a854ddc6df6de9433fab1eef92 # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_PERF_EVENTS=n # < make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 # Build took: 0:01:47.585560