# git rev-parse -q --verify 44929bfaceaaa6a854ddc6df6de9433fab1eef92^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next remote: warning: multi-pack bitmap is missing required reverse index # git rev-parse -q --verify 44929bfaceaaa6a854ddc6df6de9433fab1eef92^{commit} 44929bfaceaaa6a854ddc6df6de9433fab1eef92 # 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 24 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4513:warning: override: reassigning to symbol SMP # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_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_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:02:57.954339