Project

General

Profile

Bug #12376

Updated by Toomas Soome over 1 year ago

Build error with gcc 9: 
 <pre> 
     ../../i86pc/os/fakebop.c: In function 'build_firmware_properties': 
     ../../i86pc/os/fakebop.c:2932:8: error: 'rsdp' may be used uninitialized in this function [-Werror=maybe-uninitialized] 
      2932 |     tp = find_fw_table(rsdp, ACPI_SIG_MCFG); 
           |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
     cc1: all warnings being treated as errors 
 </pre> 

 Testing done: build/install (I only do have i86pc). 

 Indeed, we are missing call to find_rsdp().

Back