Project

General

Profile

Actions

Bug #13494

closed

nfs: multiply-defined symbols

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
Due date:
% Done:

100%

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

Description

Build errors with gcc 10:

    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_sys.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_sys.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_sys.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_sys.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_sys.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vfsops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vfsops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vfsops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vfsops.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vfsops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_xdr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_xdr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_xdr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_xdr.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_xdr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_idmap.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_idmap.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_idmap.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_idmap.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_idmap.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_shadow.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_shadow.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_shadow.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_shadow.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_shadow.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_subr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_attr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_attr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_attr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_attr.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_attr.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_rnode.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_rnode.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_rnode.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_rnode.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_rnode.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acache.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acache.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acache.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acache.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acache.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_common.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_common.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_common.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_common.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_common.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_state.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_state.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_state.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_state.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_state.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_callback.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_callback.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_callback.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_callback.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_callback.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_recovery.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_recovery.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_recovery.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_recovery.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_recovery.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_secinfo.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_secinfo.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_secinfo.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_secinfo.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_secinfo.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_debug.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_debug.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_debug.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_debug.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_client_debug.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acl.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acl.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acl.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acl.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_acl.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_stub_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_stub_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_stub_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_stub_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs4_stub_vnops.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_newpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_cmd.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_numnewpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_cmd.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_paths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_cmd.o type=OBJT);
    ld: fatal: symbol 'rfs4_dss_oldpaths' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_cmd.o type=OBJT);
    ld: fatal: symbol 'rfs4_db_mem_cache_table' is multiply-defined:
            (file obj64/nfs_common.o type=OBJT; file obj64/nfs_cmd.o type=OBJT);
    ld: fatal: file processing errors. No output written to obj64/nfs
    *** Error code 1
    dmake: Fatal error: Command failed for target `obj64/nfs'
    Current working directory /code/illumos-gate/usr/src/uts/intel/nfs

Testing done: build/install/boot

Actions #1

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 1208
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 aab20b47bd0a2879ccd534e4b5516c6af3f5a1d2

commit  aab20b47bd0a2879ccd534e4b5516c6af3f5a1d2
Author: Toomas Soome <tsoome@me.com>
Date:   2021-02-12T18:47:18.000Z

    13494 nfs: multiply-defined symbols
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Evan Layton <elayton@tintri.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF