VMware Communities
deerpark
Contributor
Contributor

VMware player 16.2.3 failed to build

VMware player 16.2.3 failed to build in latest ubuntu 20.04 

Kernel:  5.15.0-41

2022-07-18T01:41:50.272Z In(05) host-7345 [AppLoader] GLib does not have GSettings support.
2022-07-18T01:41:50.272Z In(05) host-7345 Using kernel build system.
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
2022-07-18T01:41:50.272Z In(05) host-7345 In file included from /tmp/modconfig-jt2k3M/vmmon-only/./include/x86desc.h:33,
2022-07-18T01:41:50.272Z In(05) host-7345 from /tmp/modconfig-jt2k3M/vmmon-only/./include/modulecall.h:34,
2022-07-18T01:41:50.272Z In(05) host-7345 from /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:60:
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c: In function ‘TaskRestoreHostGDTTRLDT’:
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:263:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 263 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:726:7: note: in expansion of macro ‘SET_TR’
2022-07-18T01:41:50.272Z In(05) host-7345 726 | SET_TR(tr);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:129:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 129 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:728:7: note: in expansion of macro ‘SET_LDT’
2022-07-18T01:41:50.272Z In(05) host-7345 728 | SET_LDT(ldt);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’

2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:263:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 263 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:751:10: note: in expansion of macro ‘SET_TR’
2022-07-18T01:41:50.272Z In(05) host-7345 751 | SET_TR(tr);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:129:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 129 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:761:7: note: in expansion of macro ‘SET_LDT’
2022-07-18T01:41:50.272Z In(05) host-7345 761 | SET_LDT(ldt);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c: In function ‘Task_Switch’:
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:215:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 215 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:228:22: note: in expansion of macro ‘SET_SEGREG’
2022-07-18T01:41:50.272Z In(05) host-7345 228 | #define SET_SS(expr) SET_SEGREG(ss, expr)
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:2620:13: note: in expansion of macro ‘SET_SS’
2022-07-18T01:41:50.272Z In(05) host-7345 2620 | SET_SS(kernelStackSegment);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~

 

 

0 Kudos
1 Reply
scott28tt
VMware Employee
VMware Employee

Your thread needs moving to the Workstation Player area so it gets the right audience, I have reported it to moderators who should move it.

You should add text dumps like that to a “spoiler”, the icon to add one is a triangle with a !

Here’s the effect.

Spoiler

2022-07-18T01:41:50.272Z In(05) host-7345 [AppLoader] GLib does not have GSettings support.
2022-07-18T01:41:50.272Z In(05) host-7345 Using kernel build system.
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
2022-07-18T01:41:50.272Z In(05) host-7345 In file included from /tmp/modconfig-jt2k3M/vmmon-only/./include/x86desc.h:33,
2022-07-18T01:41:50.272Z In(05) host-7345 from /tmp/modconfig-jt2k3M/vmmon-only/./include/modulecall.h:34,
2022-07-18T01:41:50.272Z In(05) host-7345 from /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:60:
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c: In function ‘TaskRestoreHostGDTTRLDT’:
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:263:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 263 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:726:7: note: in expansion of macro ‘SET_TR’
2022-07-18T01:41:50.272Z In(05) host-7345 726 | SET_TR(tr);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:129:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 129 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:728:7: note: in expansion of macro ‘SET_LDT’
2022-07-18T01:41:50.272Z In(05) host-7345 728 | SET_LDT(ldt);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’

2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:263:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 263 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:751:10: note: in expansion of macro ‘SET_TR’
2022-07-18T01:41:50.272Z In(05) host-7345 751 | SET_TR(tr);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:129:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 129 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:761:7: note: in expansion of macro ‘SET_LDT’
2022-07-18T01:41:50.272Z In(05) host-7345 761 | SET_LDT(ldt);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c: In function ‘Task_Switch’:
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_assert.h:372:22: note: in definition of macro ‘ASSERT_ON_COMPILE’
2022-07-18T01:41:50.272Z In(05) host-7345 372 | _Static_assert(e, #e); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:215:7: note: in expansion of macro ‘ASSERT_ON_COMPILE_SELECTOR_SIZE’
2022-07-18T01:41:50.272Z In(05) host-7345 215 | ASSERT_ON_COMPILE_SELECTOR_SIZE(expr); \
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:228:22: note: in expansion of macro ‘SET_SEGREG’
2022-07-18T01:41:50.272Z In(05) host-7345 228 | #define SET_SS(expr) SET_SEGREG(ss, expr)
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/common/task.c:2620:13: note: in expansion of macro ‘SET_SS’
2022-07-18T01:41:50.272Z In(05) host-7345 2620 | SET_SS(kernelStackSegment);
2022-07-18T01:41:50.272Z In(05) host-7345 | ^~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 /tmp/modconfig-jt2k3M/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
2022-07-18T01:41:50.272Z In(05) host-7345 67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-18T01:41:50.272Z In(05) host-7345 69 | sizeof(expr) <= 2))
2022-07-18T01:41:50.272Z In(05) host-7345 | ~~~~~~~~~~~~~~~~~~


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos