Project

General

Profile

Actions

Bug #13428

closed

rdsv3: symbol 'rdsv3_one_sec_in_hz' is multiply-defined

Added by Toomas Soome 5 months ago. Updated 4 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 with gcc 10:

    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/rdsv3_ddi.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/bind.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/loop.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/threads.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/connection.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/transport.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/cong.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/message.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/rds_recv.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/send.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/stats.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/info.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/page.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/rdma_transport.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_ring.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_rdma.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_recv.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_send.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_sysctl.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_stats.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/ib_cm.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/rdsv3_impl.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/rdma.o type=OBJT);
    ld: fatal: symbol 'rdsv3_one_sec_in_hz' is multiply-defined:
            (file obj64/af_rds.o type=OBJT; file obj64/rdsv3_af_thr.o type=OBJT);
    ld: fatal: file processing errors. No output written to obj64/rdsv3
    *** Error code 1
    dmake: Fatal error: Command failed for target `obj64/rdsv3'
    Current working directory /code/illumos-gate/usr/src/uts/intel/rdsv3

Actions #1

Updated by Electric Monk 5 months ago

  • Gerrit CR set to 1148
Actions #2

Updated by Electric Monk 4 months ago

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

git commit 6626685934fc28e358a8038d599be9e53aa0715e

commit  6626685934fc28e358a8038d599be9e53aa0715e
Author: Toomas Soome <tsoome@me.com>
Date:   2021-01-26T19:15:14.000Z

    13428 rdsv3: symbol 'rdsv3_one_sec_in_hz' is multiply-defined
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF