Error:
| In function 'partition_epc',
| inlined from 'init_sgx' at arch/x86/sgx.c:116:19:
| [-Werror=maybe-uninitialized]
| 86 | vm_epc_maps[mid][vm_id].gpa = vm_config->epc.base + vm_config->epc.size - vm_request_size;
| | ~~~~^~~
| arch/x86/sgx.c: In function 'init_sgx':
| arch/x86/sgx.c:61:32: note: 'vm_config' was declared here
| 61 | struct acrn_vm_config *vm_config;
| | ^~~~~
| cc1: all warnings being treated as errors
Error: | In function 'partition_epc', | inlined from 'init_sgx' at arch/x86/sgx.c:116:19: | [-Werror=maybe-uninitialized] | 86 | vm_epc_maps[mid][vm_id].gpa = vm_config->epc.base + vm_config->epc.size - vm_request_size; | |
~~~~^~~ | arch/x86/sgx.c: In function 'init_sgx': | arch/x86/sgx.c:61:32: note: 'vm_config' was declared here | 61 | struct acrn_vm_config *vm_config; | | ^~~~~ | cc1: all warnings being treated as errorsIssue raised. https://github.com/projectacrn/acrn-hypervisor/issues/8413 Ignore fow now, until fixed upstream.