From nobody Thu Aug 03 23:13:31 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RH4Qg2z7lz4VBXV; Thu, 3 Aug 2023 23:13:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RH4Qg23QCz4GVr; Thu, 3 Aug 2023 23:13:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691104411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oaNgU6XhsGwGH4H6Id7+kqXqAnslxYh21HOPJGJZ8+c=; b=I3g2240W8EYoPjTFuZXsqMrr2QgxsWQwfDjmp2XVFJgIU3X5hIIEc1SZCkjYFa5I0qHapk 9Dq6298Kq11CxFwULbEzgxEGuO9dy7+nY+rib+ROFKSa0VmxzxTpMPqWDFMiCel++4VOr4 UQmocdwpdlQZP/QJ1Woth2uSrOPZ6aRsNVCuq6MwlcwpT0pFHYajLNgRCi/i2IROWUC+2C pUX9RloDaQDwn1y1EPrQOr0wZlFjOz1x+/t5Tg1aaE8OQuMuttHyQCbyTMgRkx/svZYe43 5dLwTxci2Xjck1lwYYnaFlVgpZho94G+iXCCYVOLo3w4pTvSiz+aq7HLkX+afw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691104411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oaNgU6XhsGwGH4H6Id7+kqXqAnslxYh21HOPJGJZ8+c=; b=by+ycwKjF4ueneyozIS3xzMnHotfJ8fBI5wXHX1bzHpkF4beZE8pEbg+r4zrGuNjAMLv29 2Ul9SSJje31SOqJLxGlcBPDndQLzDpPPg6L37SmHnBzdKTSFdrAX1dRrYnZQZW2O2nMbxq D5wHqpe6guSO28yKt1lCouEsAeLnMkz6bd7U1eIMqmbX1dsigCVCXIixMycoJABh8Hlaq8 Ou8G9MVo0OWkHBdjc2mAJgTayAdUDcJaYqDvu+4N0KJ+lT3Cy1Q4YwRr5Q1jaD5i4aBKS3 hTSCS5xyhDUv5UykylgihOkZtzRfaVKS+u4eXgz2G6XxUSB51BHx0MTn3nGdPg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691104411; a=rsa-sha256; cv=none; b=KK/zHB0Bih9tlU+PCK+r/ETsbIaLb5wFQMmbCVEkNEeLygf3tjDyNMNnKGLFOGE2WNukjK bRiJrNVE1TAi5Nu5ZemVZgGC3+90LL7EAkS4A/Hk14SmLsCsfbKE6T2KaNu5NvzDtxS3KG IrWR+i74FYDju9KRdgBRCfEeqa1ngnlUUOm5IbQQCbQQDi1F9fMic2GP23/cLcrfYFC6xZ O+izL/sRsxAcgzoNy1EEpIITMrXD8hr2dkI9wWCwRzeTyIMn+u1pH84wGFDv8nyzSRNg3X rV7nTa7ZiqhydGTL5aOH+xBBRxf+ILpymvwf03qkdPxswoa0REHN6KEN3CAsTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RH4Qg17MyzfpQ; Thu, 3 Aug 2023 23:13:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 373NDVib005231; Thu, 3 Aug 2023 23:13:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 373NDVV3005230; Thu, 3 Aug 2023 23:13:31 GMT (envelope-from git) Date: Thu, 3 Aug 2023 23:13:31 GMT Message-Id: <202308032313.373NDVV3005230@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: dd0f2d02c683 - main - libibverbs: remove nonexistent symbols from the linker map List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dd0f2d02c683c6ee885dda8ed323a1586c409967 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=dd0f2d02c683c6ee885dda8ed323a1586c409967 commit dd0f2d02c683c6ee885dda8ed323a1586c409967 Author: Konstantin Belousov AuthorDate: 2023-08-01 22:56:40 +0000 Commit: Konstantin Belousov CommitDate: 2023-08-03 23:13:13 +0000 libibverbs: remove nonexistent symbols from the linker map The function ibv_query_device_ex is static inline, it is not exported from the dso. With lld 16, which is much more picky about versioning and undefined symbols, this becomes an error. The ibv_register_driver driver symbol is explicitly versioned in sources, it is non-existent in un-versioned object files. Sponsored by: NVidia networking MFC after: 1 week --- contrib/ofed/libibverbs/libibverbs.map | 3 --- 1 file changed, 3 deletions(-) diff --git a/contrib/ofed/libibverbs/libibverbs.map b/contrib/ofed/libibverbs/libibverbs.map index 540124110e11..b49c09a06ce3 100644 --- a/contrib/ofed/libibverbs/libibverbs.map +++ b/contrib/ofed/libibverbs/libibverbs.map @@ -10,7 +10,6 @@ IBVERBS_1.0 { ibv_get_async_event; ibv_ack_async_event; ibv_query_device; - ibv_query_device_ex; ibv_query_port; ibv_query_gid; ibv_query_pkey; @@ -65,7 +64,6 @@ IBVERBS_1.1 { ibv_fork_init; ibv_dontfork_range; ibv_dofork_range; - ibv_register_driver; ibv_node_type_str; ibv_port_state_str; @@ -136,7 +134,6 @@ IBVERBS_PRIVATE_14 { ibv_cmd_rereg_mr; ibv_cmd_resize_cq; ibv_query_gid_type; - ibv_register_driver; verbs_register_driver; verbs_init_cq; };