Project

General

Profile

Actions

Bug #13413

closed

svc.startd: 'contract_list_pool' is multiply-defined

Added by Toomas Soome 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors with gcc 10:

    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

Testing done: build/install/boot

Actions

Also available in: Atom PDF