Project

General

Profile

Bug #13413

Updated by Toomas Soome 6 months ago

Build errors with gcc 10: 
 <pre> 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file deathrow.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file dict.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file env.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file expand.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file file.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file fork.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file graph.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file libscf.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file log.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file method.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file misc.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file protocol.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file restarter.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file specials.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file startd.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file transition.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file wait.o type=OBJT); 
     ld: fatal: symbol 'contract_list_pool' is multiply-defined: 
             (file contract.o type=OBJT; file utmpx.o type=OBJT); 
     ld: fatal: file processing errors. No output written to svc.startd 
     collect2: error: ld returned 1 exit status 
     *** Error code 1 
     dmake: Fatal error: Command failed for target `svc.startd' 
     Current working directory /code/illumos-gate/usr/src/cmd/svc/startd 
 </pre> 

 Testing done: build/install/boot

Back