Project

General

Profile

Bug #13429

Updated by Toomas Soome over 1 year ago

Build errors with gcc 10: 
 <pre> 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_atomic.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_chip.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_ndd.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_kstats.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_log.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_rx.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_tx.o type=OBJT); 
     ld: fatal: symbol 'nge_uni_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_addr0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_mul_mask1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_pcnt' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_addr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_cur_prd1' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_cur_prd0' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_tx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: symbol 'nge_rx_nxt_dadr' is multiply-defined: 
             (file obj64/nge_main.o type=OBJT; file obj64/nge_xmii.o type=OBJT); 
     ld: fatal: file processing errors. No output written to obj64/nge 
 </pre> 

 Testing done: build/install/boot.

Back