From: Jason Gunthorpe <jgg@nvidia.com>
To: <linux-rdma@vger.kernel.org>
Subject: [PATCH 0/4] Enable LTO support for rdma-core
Date: Mon, 16 Nov 2020 16:16:12 -0400 [thread overview]
Message-ID: <0-v1-f03f70229014+144-fix_lto_jgg@nvidia.com> (raw)
GCC 10 finally has the function attribute to allow LTO to be mixed with
symbol versions. Use the function attribute instead of the top level
inline asm and have cmake deal with all this. Remove the LTO disablement
in the packaging files. Distros with GCC 10 will be compatible.
Fix several warnings GCC 10 LTO spits out so AZP remains warning free.
This is a PR:
https://github.com/linux-rdma/rdma-core/pull/880
Jason Gunthorpe (4):
libibumad: Check for error returns in get_port()
verbs: Simplify the logic assigning vid in
ibv_resolve_eth_l2_from_gid()
iwpmd: Always copy the ss_family in copy_iwpm_sockaddr()
util: Use GCC 10's attribute symver to define compat symbol versions
CMakeLists.txt | 13 ++++++++++
buildlib/FindLDSymVer.cmake | 28 ++++++++++++++-------
buildlib/config.h.in | 2 ++
iwpmd/iwarp_pm_common.c | 4 +++
libibumad/umad.c | 49 +++++++++++++++++++------------------
libibverbs/verbs.c | 7 ++----
redhat/rdma-core.spec | 7 ------
suse/rdma-core.spec | 2 --
util/symver.h | 9 +++++--
9 files changed, 72 insertions(+), 49 deletions(-)
--
2.29.2
next reply other threads:[~2020-11-16 20:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-16 20:16 Jason Gunthorpe [this message]
2020-11-16 20:16 ` [PATCH 1/4] libibumad: Check for error returns in get_port() Jason Gunthorpe
2020-11-16 20:16 ` [PATCH 2/4] verbs: Simplify the logic assigning vid in ibv_resolve_eth_l2_from_gid() Jason Gunthorpe
2020-11-16 20:16 ` [PATCH 3/4] iwpmd: Always copy the ss_family in copy_iwpm_sockaddr() Jason Gunthorpe
2020-11-16 20:16 ` [PATCH 4/4] util: Use GCC 10's attribute symver to define compat symbol versions Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0-v1-f03f70229014+144-fix_lto_jgg@nvidia.com \
--to=jgg@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.