Project

General

Profile

Actions

Bug #14057

closed

sun4v/ds: multiply-defined symbols

Added by Toomas Soome 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

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

Description

Build errors on SPARC with gcc 10:

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/ld -r -dy -Nmisc/ldc -o obj64/ds obj64/ds_common.o obj64/ds_drv.o
    ld: fatal: symbol 'ds_ports' is multiply-defined:
            (file obj64/ds_common.o type=OBJT; file obj64/ds_drv.o type=OBJT);
    ld: fatal: symbol 'ds_svcs' is multiply-defined:
            (file obj64/ds_common.o type=OBJT; file obj64/ds_drv.o type=OBJT);
    ld: fatal: symbol 'ds_allports' is multiply-defined:
            (file obj64/ds_common.o type=OBJT; file obj64/ds_drv.o type=OBJT);
    ld: fatal: file processing errors. No output written to obj64/ds
    *** Error code 1
    dmake: Fatal error: Command failed for target `obj64/ds'
    Current working directory /code/illumos-gate/usr/src/uts/sun4v/ds

Testing done: build/install/boot

Actions #1

Updated by Electric Monk 3 months ago

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

git commit 94e47c8d78dbdf41e58bb3f5bfe153b43b4ff567

commit  94e47c8d78dbdf41e58bb3f5bfe153b43b4ff567
Author: Toomas Soome <tsoome@me.com>
Date:   2021-09-07T19:42:26.000Z

    14057 sun4v/ds: multiply-defined symbols
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Andy Fiddaman <andy@omnios.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF