Project

General

Profile

Actions

Bug #13522

closed

x86pi.so: multiply-defined symbols

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

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

Description

Build errors with gcc 10:

    ld: fatal: symbol 'stypes' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_bay.o type=OBJT);
    ld: fatal: symbol 'fac_done' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_bay.o type=OBJT);
    ld: fatal: symbol 'stypes' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_bboard.o type=OBJT);
    ld: fatal: symbol 'fac_done' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_bboard.o type=OBJT);
    ld: fatal: symbol 'stypes' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_chassis.o type=OBJT);
    ld: fatal: symbol 'fac_done' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_chassis.o type=OBJT);
    ld: fatal: symbol 'fac_done' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_generic.o type=OBJT);
    ld: fatal: symbol 'stypes' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_generic.o type=OBJT);
    ld: fatal: symbol 'stypes' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_hostbridge.o type=OBJT);
    ld: fatal: symbol 'fac_done' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_hostbridge.o type=OBJT);
    ld: fatal: symbol 'stypes' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_subr.o type=OBJT);
    ld: fatal: symbol 'fac_done' is multiply-defined:
            (file x86pi.o type=OBJT; file x86pi_subr.o type=OBJT);
    ld: fatal: file processing errors. No output written to x86pi.so
    collect2: error: ld returned 1 exit status
    *** Error code 1
    dmake: Fatal error: Command failed for target `x86pi.so'
    Current working directory /code/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi

Testing done: build/install/boot

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 1236
Actions #2

Updated by Toomas Soome over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk over 1 year ago

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

git commit 2a6858720cb70fb5eaddbfe3512fe5b55bcaf594

commit  2a6858720cb70fb5eaddbfe3512fe5b55bcaf594
Author: Toomas Soome <tsoome@me.com>
Date:   2021-02-16T19:22:24.000Z

    13522 x86pi.so: multiply-defined symbols
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF