stable: queue/5.15: arch/x86/mm/extable.c:200:7: error: duplicate case value '12'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



x86 and i386 clang builds failed due this build warnings / errors on
stable-rc queue/5.15

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

git_ref: queue/5.15
git_describe: v5.15.56-266-gda50e215b6b1
git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc-queues
Build:   v5.15.56-266-gda50e215b6b1
Details: https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_5.15/build/v5.15.56-266-gda50e215b6b1

Steps to reproduce:
-------------------
tuxmake --runtime podman \
        --target-arch x86_64 \
        --toolchain clang-14 \
        --kconfig
https://builds.tuxbuild.com/2CT2NoyYwejQUXoBcT1lYTHbhtT/config \
          LLVM=1 \
          LLVM_IAS=1


Build error log:
-----------------
builds/linux/arch/x86/include/asm/extable_fixup_types.h:49:9: warning:
'EX_TYPE_DEFAULT_MCE_SAFE' macro redefined [-Wmacro-redefined]
#define EX_TYPE_DEFAULT_MCE_SAFE        12
        ^
arch/x86/include/asm/extable_fixup_types.h:42:9: note: previous
definition is here
#define EX_TYPE_DEFAULT_MCE_SAFE        14
        ^
arch/x86/include/asm/extable_fixup_types.h:50:9: warning:
'EX_TYPE_FAULT_MCE_SAFE' macro redefined [-Wmacro-redefined]
#define EX_TYPE_FAULT_MCE_SAFE          13
        ^
arch/x86/include/asm/extable_fixup_types.h:43:9: note: previous
definition is here
#define EX_TYPE_FAULT_MCE_SAFE          15
        ^
arch/x86/mm/extable.c:200:7: error: duplicate case value '12'
        case EX_TYPE_WRMSR_IN_MCE:
             ^
arch/x86/include/asm/extable_fixup_types.h:40:31: note: expanded from
macro 'EX_TYPE_WRMSR_IN_MCE'
#define EX_TYPE_WRMSR_IN_MCE            12
                                        ^
arch/x86/mm/extable.c:177:7: note: previous case defined here
        case EX_TYPE_DEFAULT_MCE_SAFE:
             ^
arch/x86/include/asm/extable_fixup_types.h:49:34: note: expanded from
macro 'EX_TYPE_DEFAULT_MCE_SAFE'
#define EX_TYPE_DEFAULT_MCE_SAFE        12
                                        ^
arch/x86/mm/extable.c:203:7: error: duplicate case value '13'
        case EX_TYPE_RDMSR_IN_MCE:
             ^
arch/x86/include/asm/extable_fixup_types.h:41:31: note: expanded from
macro 'EX_TYPE_RDMSR_IN_MCE'
#define EX_TYPE_RDMSR_IN_MCE            13
                                        ^
arch/x86/mm/extable.c:180:7: note: previous case defined here
        case EX_TYPE_FAULT_MCE_SAFE:
             ^
arch/x86/include/asm/extable_fixup_types.h:50:33: note: expanded from
macro 'EX_TYPE_FAULT_MCE_SAFE'
#define EX_TYPE_FAULT_MCE_SAFE          13
                                        ^
2 warnings and 2 errors generated.
make[3]: *** [scripts/Makefile.build:289: arch/x86/mm/extable.o] Error 1

Build link:
https://builds.tuxbuild.com/2CT2NoyYwejQUXoBcT1lYTHbhtT/



--
Linaro LKFT
https://lkft.linaro.org



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux