Project

General

Profile

Bug #13520

udapl_tavor: symbol 'dapls_ib_dbp_lock' is multiply-defined

Added by Toomas Soome about 2 months ago. Updated about 1 month 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 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_hca.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_hw.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_arbel_hw.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_hermon_hw.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_ibtf_cm.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_ibtf_dto.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_ibtf_mrsync.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_ibtf_qp.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_ibtf_util.o type=OBJT);
    ld: fatal: symbol 'dapls_ib_dbp_lock' is multiply-defined:
            (file pics/dapl_evd_util.o type=OBJT; file pics/dapl_tavor_wr.o type=OBJT);
    ld: fatal: file processing errors. No output written to udapl_tavor.so.1
    collect2: error: ld returned 1 exit status
    *** Error code 1
    dmake: Warning: Target `install' not remade because of errors
    Current working directory /code/illumos-gate/usr/src/lib/udapl/udapl_tavor/i386

Testing done: build/install/boot

#1

Updated by Electric Monk about 2 months ago

  • Gerrit CR set to 1234
#2

Updated by Electric Monk about 1 month ago

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

git commit e3b270024f3e952233b61d3dcb4129ba75bf2720

commit  e3b270024f3e952233b61d3dcb4129ba75bf2720
Author: Toomas Soome <tsoome@me.com>
Date:   2021-03-10T08:12:37.000Z

    13520 udapl_tavor: symbol 'dapls_ib_dbp_lock' is multiply-defined
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF