# git rev-parse -q --verify b7eb335e26a9c7f258c96b3962c283c379d3ede0^{commit} b7eb335e26a9c7f258c96b3962c283c379d3ede0 already have revision, skipping fetch # git checkout -q -f -B kisskb b7eb335e26a9c7f258c96b3962c283c379d3ede0 # git clean -qxdf # < git log -1 # commit b7eb335e26a9c7f258c96b3962c283c379d3ede0 # Author: Gustavo A. R. Silva # Date: Mon Jul 12 00:57:54 2021 -0500 # # Makefile: Enable -Wimplicit-fallthrough for Clang # # With the recent fixes for fallthrough warnings, it is now possible to # enable -Wimplicit-fallthrough for Clang. # # It's important to mention that since we have adopted the use of the # pseudo-keyword macro fallthrough; we also want to avoid having more # /* fall through */ comments being introduced. Notice that contrary # to GCC, Clang doesn't recognize any comments as implicit fall-through # markings when the -Wimplicit-fallthrough option is enabled. So, in # order to avoid having more comments being introduced, we have to use # the option -Wimplicit-fallthrough=5 for GCC, which similar to Clang, # will cause a warning in case a code comment is intended to be used # as a fall-through marking. # # Co-developed-by: Kees Cook # Signed-off-by: Kees Cook # Signed-off-by: Gustavo A. R. Silva # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux-ld --version # < git log --format=%s --max-count=1 b7eb335e26a9c7f258c96b3962c283c379d3ede0 # < make -s -j 24 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- axs103_smp_defconfig # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # < make -s -j 24 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- help /kisskb/src/arch/arc/Makefile:27: ** WARNING ** CONFIG_ARC_TUNE_MCPU flag '' is unknown, fallback to '' # make -s -j 24 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- olddefconfig # make -s -j 24 ARCH=arc O=/kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-10.1.0-nolibc/arc-linux/bin/arc-linux- Completed OK # rm -rf /kisskb/build/gustavoars_axs103_smp_defconfig_arc-gcc10 # Build took: 0:01:30.767264