git: dd0f2d02c683 - main - libibverbs: remove nonexistent symbols from the linker map
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Aug 2023 23:13:31 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=dd0f2d02c683c6ee885dda8ed323a1586c409967 commit dd0f2d02c683c6ee885dda8ed323a1586c409967 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-08-01 22:56:40 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> 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; };