# git rev-parse -q --verify e5d523f1ae8f2cef01f8e071aeee432654166708^{commit} e5d523f1ae8f2cef01f8e071aeee432654166708 already have revision, skipping fetch # git checkout -q -f -B kisskb e5d523f1ae8f2cef01f8e071aeee432654166708 # git clean -qxdf # < git log -1 # commit e5d523f1ae8f2cef01f8e071aeee432654166708 # Author: Nick Desaulniers # Date: Thu Jul 14 13:56:43 2022 -0700 # # ubsan: disable UBSAN_DIV_ZERO for clang # # Building with UBSAN_DIV_ZERO with clang produces numerous fallthrough # warnings from objtool. # # In the case of uncheck division, UBSAN_DIV_ZERO may introduce new # control flow to check for division by zero. # # Because the result of the division is undefined, LLVM may optimize the # control flow such that after the call to __ubsan_handle_divrem_overflow # doesn't matter. If panic_on_warn was set, # __ubsan_handle_divrem_overflow would panic. # # The problem is is that panic_on_warn is run time configurable. If it's # disabled, then we cannot guarantee that we will be able to recover # safely. Disable this config for clang until we can come up with a # solution in LLVM. # # Link: https://github.com/ClangBuiltLinux/linux/issues/1657 # Link: https://github.com/llvm/llvm-project/issues/56289 # Link: https://lore.kernel.org/lkml/CAHk-=wj1qhf7y3VNACEexyp5EbkNpdcu_542k-xZpzmYLOjiCg@mail.gmail.com/ # Reported-by: Sudip Mukherjee # Suggested-by: Linus Torvalds # Signed-off-by: Nick Desaulniers # Acked-by: Nathan Chancellor # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 e5d523f1ae8f2cef01f8e071aeee432654166708 # < make -s -j 32 ARCH=mips O=/kisskb/build/linus_32r6_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- 32r6_defconfig ./.config.32r6_defconfig:96:warning: override: CPU_BIG_ENDIAN changes choice state .config:95:warning: override: CPU_BIG_ENDIAN changes choice state # < make -s -j 32 ARCH=mips O=/kisskb/build/linus_32r6_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/linus_32r6_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/linus_32r6_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" Completed OK # rm -rf /kisskb/build/linus_32r6_defconfig_mips-gcc8 # Build took: 0:01:02.460229