Project

General

Profile

Bug #13421

genunix: multiply-defined symbols

Added by Toomas Soome 19 days ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

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

Description

Build errors with gcc 10:

  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/core.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/core.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/exit.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/exit.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/fork.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/fork.o type=OBJT);
  ld: fatal: symbol 'iuniqtime' is multiply-defined:
  (file obj64/bio.o type=OBJT; file obj64/fsflush.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/lwpsys.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/lwpsys.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/procset.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/procset.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/processor_bind.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/processor_bind.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/process.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/process.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/sig.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/sig.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/signotify.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/signotify.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/timer.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/timer.o type=OBJT);
  ld: fatal: symbol 'sys_process_tmpl' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/zone.o type=OBJT);
  ld: fatal: symbol 'process_type' is multiply-defined:
  (file obj64/contract.o type=OBJT; file obj64/zone.o type=OBJT);
  ld: fatal: file processing errors. No output written to obj64/libgenunix.o

Testing done: build/install/boot

#1

Updated by Electric Monk 19 days ago

  • Gerrit CR set to 1142
#2

Updated by Toomas Soome 6 days ago

  • Description updated (diff)
#3

Updated by Electric Monk 5 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit dea3b854661cb94b40277d9397e510728497a69f

commit  dea3b854661cb94b40277d9397e510728497a69f
Author: Toomas Soome <tsoome@me.com>
Date:   2021-01-15T19:42:49.000Z

    13421 genunix: multiply-defined symbols
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF